Bug 488980

Summary: In the overview: clicking on a virtual desktop and attempting to enter a window does not work after entering cube once
Product: [Plasma] kwin Reporter: 179 <179>
Component: effects-overviewAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde, nate, phanteist
Priority: NOR    
Version: 6.1.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: Qt 6.8.1
Sentry Crash Report:
Attachments: Overview slightly broken for rest of session due to cube
Showcasing how cube is responsible for bug

Description 179 2024-06-22 13:44:48 UTC
Created attachment 170817 [details]
Overview slightly broken for rest of session due to cube

SUMMARY
After entering the cube a single time in a session:
Entering the overview, clicking on a virtual desktop at the top of the overview, and then clicking on a window on that desktop to enter it no longer works. Instead, you need to drag the window once to restore functionality this time only.
In this state, hovering over other desktops does not cause any animation or the trash can to appear on them (see attachment).

Reopening the overview does not fix this issue, only logging out and back in/rebooting does.

This only happens when switching desktops with the cursor. Using arrow keys or shortcuts, this does not happen.  

STEPS TO REPRODUCE
1. Enter cube for the first time in a session and exit the effect.
2. Enter the overview.
3. Click on any other virtual desktop with the mouse.
4. Click on any window on that desktop.

OBSERVED RESULT
You cannot enter the window. The usual window outline no longer appear when hovering it. The trash can symbol on the desktop stays frozen. You need to drag the window before being able to click it. 

EXPECTED RESULT
Clicking the window enters it.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.4-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 7600

ADDITIONAL INFORMATION
This has been happening since Plasma 6.0.
Comment 1 179 2024-06-22 21:32:03 UTC
Created attachment 170836 [details]
Showcasing how cube is responsible for bug
Comment 2 Nate Graham 2024-06-25 21:15:49 UTC
I can reproduce this issue.
Comment 3 David Edmundson 2024-07-03 11:17:15 UTC
Will be fixed with https://codereview.qt-project.org/c/qt/qtdeclarative/+/574172
Comment 4 Nate Graham 2024-08-14 22:25:30 UTC
*** Bug 491650 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2024-11-15 21:51:37 UTC
That was just merged upstream!