Bug 491650

Summary: Overview looses the ability to instantly close on the chosen desktop whenever you click on a window
Product: [Plasma] kwin Reporter: Stanislav Trotner <phanteist>
Component: effects-overviewAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate
Priority: NOR    
Version: 6.1.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stanislav Trotner 2024-08-13 04:39:57 UTC
SUMMARY
Clicking on windows within overview no longer closes it until you manually move the window around with your mouse

STEPS TO REPRODUCE
1. Open virtual desktops settings
2. change any settings and hit apply (I personally removed a row to get rid of grid overview ) 
3. Click apply 

OBSERVED RESULT
I can no longer close up on the desktop by simply clicking on a window within an overview

EXPECTED RESULT
Overview should be working normally 

SOFTWARE/OS VERSIONS
Linux: Linux 6.10.3-1-default 64 bit - OpenSUSE Tumbleweed
KDE Plasma Version: KDE Plasma 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
I have also encountered this bug on Fedora KDE with plasma 6.1 , I don't remember the frameworks version or kernel version of fedora  but last time I fixed it by just reinstalling plasma group on fedora, but I posted it on KDE tread on Reddit, I promised to report it here the next time I encounter the bug, and here am I.
Comment 1 Stanislav Trotner 2024-08-13 04:45:53 UTC
I am not sure if links are allowed, but here is the link to the video with the bug itself https://www.reddit.com/r/kde/comments/1egi5k6/comment/lfu1on3/?context=3
Comment 2 Nate Graham 2024-08-13 17:10:11 UTC
Is this happening on X11, or Wayland, or both? I can't reproduce it on Wayland.
Comment 3 Stanislav Trotner 2024-08-14 02:02:52 UTC
(In reply to Nate Graham from comment #2)
> Is this happening on X11, or Wayland, or both? I can't reproduce it on
> Wayland.

It is happening on Wayland, I actually might just go ahead and try to reproduce it myself and get it on OBS , give me a moment
Comment 4 Stanislav Trotner 2024-08-14 03:09:17 UTC
(In reply to Nate Graham from comment #2)
> Is this happening on X11, or Wayland, or both? I can't reproduce it on
> Wayland.

Yeah I was wrong about what causes the bug, I was  reading patch notes to plasma that evening and trying things out, changing Virtual desktop settings was just the last thing I ended up doing after that. 
To replicate the bug, simply turn on the desktop cube effect > use it once > go to the overview > switch virtual desktop from within the overview > see the bug. 

It does not fix itself by log out, as long as cube effect remains active. But after a logout with cube effect off all works just fine. 

This is not a big issue since I don't think anyone actually uses this effect, the grid and overview  with super + g/w are just easier to work with, but it is  there.
Comment 5 Nate Graham 2024-08-14 22:25:30 UTC
Aha, that makes more sense. This is Bug 488980, which is actually caused by a Qt bug with an open patch to fix it, submitted by KDE's own David Edmundson: https://codereview.qt-project.org/c/qt/qtdeclarative/+/574172

*** This bug has been marked as a duplicate of bug 488980 ***