Bug 483716 - Until you move the mouse, there's an extra close button on the last focused program displayed in the Thumbnails Task Switcher UI
Summary: Until you move the mouse, there's an extra close button on the last focused p...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (other bugs)
Version First Reported In: 6.0.2
Platform: Arch Linux Linux
: VLO minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-16 00:54 UTC by Finley Watson
Modified: 2024-04-10 20:09 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Finley Watson 2024-03-16 00:54:01 UTC
STEPS TO REPRODUCE
1. Have more than one program open
2. Using the default Task Switcher, and without moving the mouse at all, switch between them by pressing Alt+Tab, don't let go of Alt, and look at the Task Switcher UI

OBSERVED RESULT
Two close buttons are visible, one on the newly focused program (the highlighted one in the Task Switcher), and one on the previously (i.e. before Alt+Tab) focused program.

EXPECTED RESULT
Only the highlighted entry in the Task Switcher should have a close button, as well as the program entry under the mouse, if the mouse is over an entry. This is the behaviour after the mouse is moved while the Task Switcher UI is still visible.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 Titouan Camus 2024-03-16 08:11:02 UTC
I cannot reproduce in KDE neon.

Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-25-generic (64-bit)
Comment 2 Nate Graham 2024-04-10 20:09:18 UTC
Can confirm as long as the cursor is somewhere within the area that the tabbox appears when it opens.