Bug 484490 - Tabbox closes immediately after clicking with mouse on element
Summary: Tabbox closes immediately after clicking with mouse on element
Status: RESOLVED INTENTIONAL
Alias: None
Product: kwin
Classification: Plasma
Component: effects-tabbox (show other bugs)
Version: 6.0.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-25 22:42 UTC by iodreamify
Modified: 2024-03-27 23:18 UTC (History)
1 user (show)

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


Attachments
video (3.26 MB, video/x-matroska)
2024-03-25 22:42 UTC, iodreamify
Details

Note You need to log in before you can comment on or make changes to this bug.
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.