Bug 477839 - Cube effect is not working
Summary: Cube effect is not working
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.90.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-12-01 14:48 UTC by Patrick Silva
Modified: 2023-12-01 17:20 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-12-01 14:48:11 UTC
STEPS TO REPRODUCE
1. enable Cube effect in Desktop Effects KCM
2. press the default global shortcut meta+c
3. 

OBSERVED RESULT
Cube effect is not activated after pressing meta+c

EXPECTED RESULT
Cube effect works

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Graphics Platform: Wayland
Comment 1 Жора Змейкин 2023-12-01 15:34:02 UTC
Hi, I have the same problem. As it turns out the cube effect only works when there are 3 or more desktops. Try to create 3 desktops.
But I agree, it's strange that KDE doesn't say anything. I think it's an oversight.
Comment 2 Patrick Silva 2023-12-01 15:35:22 UTC
I have 4 virtual desktops.
Comment 3 Prajna Sariputra 2023-12-01 16:52:48 UTC
Does any error appear in the system logs when the shortcut is invoked? Note that QtQuick3D needs to be installed for the effect to work.

For what it's worth it works fine on my Plasma 6 kdesrc-build setup on top of Arch Linux.
Comment 4 Patrick Silva 2023-12-01 17:01:28 UTC
qt6-quick3d package was not installed. I Installed it right now and the effect started to work after re-login.
Comment 5 Prajna Sariputra 2023-12-01 17:20:57 UTC
I have both the `plasma-meta` and `kde-applications-meta` packages installed from the Arch stable repos (so I have most if not all of Qt5 KDE Plasma and Gear), and not a single component is reported as depending on qt5-quick3d, even optionally. The kdeplasma-addons package in Arch's kde-unstable repo (which is where the cube effect resides) also does not mention qt6-quick3d as a dependency (optional or otherwise), and I also don't see it mentioned as a new dependency in the Plasma 6 release notes (https://community.kde.org/Plasma/Plasma_6.0_Release_notes).

So, the cube effect is likely the first instance of KDE software requiring QtQuick3D. Do newly required Qt components like that count as a "new dependency" that should be mentioned in the release notes, or are packagers just supposed to notice that it's needed when compiling the package? I thought it was addressed already early on as per this comment in the MR that added the effect: https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/188#note_480691