Bug 484490

Summary: Tabbox closes immediately after clicking with mouse on element
Product: [Plasma] kwin Reporter: iodreamify
Component: effects-tabboxAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: fanzhuyifan
Priority: NOR    
Version First Reported In: 6.0.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: video

Description iodreamify 2024-03-25 22:42:09 UTC
Created attachment 167766 [details]
video

SUMMARY
In plasma 5 you used to be able to press alt-tab, and then while holding alt, click on an individual element in the tabbox to see the window preview in the background. Now in plasma 6.0.2 if i do this the window gets raised but the tabbox closes immediately. I can still use the window close buttons to close windows without closing the tabbox though. This is observed with Thumbnail Grid on both x11 and Wayland.  I'm not 100% sure this is a bug but when i switch to any other type of tabbox - Compact, Sidebar, Flip Switch - they all work as intended from the previous version. Is this a bug or intended behavior?

I don't seem to see anything in journaltctl.

STEPS TO REPRODUCE
1. Have Thumbnail Grid selected as kwin's tabbox style
2. Press alt-tab and hold alt
3. Select a window with mouse

OBSERVED RESULT
Window gets raised and tabbox disappears

EXPECTED RESULT
Window is previewed in the background, tabbox does not disappear and element gets selected in the tabbox with the usual Breeze outline.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Graphics Platform: X11
Graphics Processor: Mesa IntelĀ® HD Graphics 3000
Comment 1 fanzhuyifan 2024-03-27 23:18:53 UTC
Raising the window and closing the tabbox is intentional in plasma 6. Perhaps we should display the preview on hover.