Bug 447284 - Nothing happens when I try to apply a window decoration via 'Use' button of GHNS window
Summary: Nothing happens when I try to apply a window decoration via 'Use' button of G...
Status: REPORTED
Alias: None
Product: frameworks-knewstuff
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.105.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-20 14:16 UTC by Patrick Silva
Modified: 2023-05-08 16:59 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.24.0
Sentry Crash Report:


Attachments
screenshot (175.42 KB, image/png)
2022-01-15 18:56 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2021-12-20 14:16:29 UTC
STEPS TO REPRODUCE
1. open Window Decorations KCM
2. click on 'Get new window decorations...' button
3. install a window decoration
4. hover over the installed window decoration and click on its 'Use' button

OBSERVED RESULT
nothing happens

EXPECTED RESULT
the window decoration should be applied

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 1 Alexander Lohnau 2022-01-12 06:54:10 UTC
Confirmed, this is an issue on the KWin side and not the framework
Comment 2 Bug Janitor Service 2022-01-12 07:01:29 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1865
Comment 3 Alexander Lohnau 2022-01-12 19:47:23 UTC
Git commit 88b908a27ea7de2dbad5a7bebaeb777ba12e4393 by Alexander Lohnau.
Committed on 12/01/2022 at 19:29.
Pushed by alex into branch 'master'.

KWin decorations KCM: Fix broken AdoptionCommand for KNewStuff

We need CMAKE_INSTALL_FULL_LIBEXECDIR, otherwise `lib/x86_64-linux-gnu/libexec/kwin-applywindowdecoration`
will be the resulting path, which does not contains the cmake install prefix.
Consequently KNS would fail to find it at runtime.
FIXED-IN: 5.24.0

M  +1    -1    src/kcmkwin/kwindecoration/window-decorations.knsrc.cmake

https://invent.kde.org/plasma/kwin/commit/88b908a27ea7de2dbad5a7bebaeb777ba12e4393
Comment 4 Patrick Silva 2022-01-15 18:56:37 UTC
Created attachment 145506 [details]
screenshot

This bug persists on Arch Linux (Plasma 5.24 beta) and neon unstable.
On neon unstable I can't reproduce consistently. Sometimes the window decoration
is applied but GHNS displays the error message seen in the attached screenshot.
Comment 5 Patrick Silva 2023-05-08 16:59:38 UTC
it's still reproducible, but not consistently.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Graphics Platform: Wayland