Bug 509097 - kwin_cube_config (x11): cannot found plugin when click "Config..." icon from System Settings>Window Management>Desktop Effects>Cube
Summary: kwin_cube_config (x11): cannot found plugin when click "Config..." icon from ...
Status: ASSIGNED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-window-management (other bugs)
Version First Reported In: 6.4.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-04 06:59 UTC by Gary Wang
Modified: 2025-12-29 18:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Wang 2025-09-04 06:59:48 UTC
SUMMARY

When using kwin-x11, try accessing the settings dialog of kwin_cube_config plugin would popup a warning dialog that says cannot find plugin kwin_cube_config.

STEPS TO REPRODUCE
1. Ensure currently using kwin-x11
2. System Settings>Window Management>Desktop Effects> find the Cube plugin
3. Tick the checkbox to enable the plugin, then click the "Config" icon on the right-hand side.
4. See result.

OBSERVED RESULT

A dialog says it cannot find plugin kwin_cube_config. (I'm not using English as system language so not sure the exact copywriting)

EXPECTED RESULT

The settings dialog for that plugin should apprears.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux (rolling)
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2

ADDITIONAL INFORMATION

As a workaround, manually copy /usr/lib/qt6/plugins/kwin/effects/configs/kwin_cube_config.so to /usr/lib/qt6/plugins/kwin-x11/effects/configs/ will work.

I'm not sure if wayland also have such issue, but this is the only plugin that lives under /usr/lib/qt6/plugins/kwin/effects/ instead of /usr/lib/qt6/plugins/kwin-x11/effects/ or /usr/lib/qt6/plugins/kwin-wayland/effects/

The source is located at https://github.com/KDE/kdeplasma-addons/blob/master/kwin/effects/cube/kcm/CMakeLists.txt

Let me know if you need any additional information.
Comment 1 Blazer Silving 2025-10-27 19:36:02 UTC
Hi, I can replicate this in X11. I don't use the Cube effect normally, but wanted to inspect it for development on another addon. 

It looks like a distinction may need to be made in the kdeplasma-addons Kwin CMakeLists for X11 and Wayland build paths. I'll see what I can do!
Comment 2 Bug Janitor Service 2025-10-27 20:52:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/930
Comment 3 Blazer Silving 2025-12-29 18:12:53 UTC
I opened a branch to target both kwin and kwin-x11, but with the kwin-x11 session being shuttered next year, I highly doubt it will be accepted upstream. 

The code is here if anyone would like reference for effects targeting both display servers: https://invent.kde.org/breakingspell/kdeplasma-addons/-/commit/8d03c714d5992de38e33e22cdbd2aaefd333df7a