Created attachment 165077 [details] Video of the issue (WARNING: Video spans 2 2K screens) 1- Put most apps on the second screen, except for 1 that you leave on screen 1. 2- Make sure you use the Thumbnail Grid task switcher (Not sure if it's related, but...) 3- Click on the window on Screen one, and ALT+TAB. Hold ALT, to leave the task switcher up. 4- Plasma 6 should highlight the app you selected in the task switcher on the 2nd screen. While still holding alt, make sure that you avoid the task switcher currently open with your mouse (So not to highlight other apps) and go in your taskbar, on the 2nd screen. 5- Click on an app, any EXCEPT for the one on screen 1, OR the one currently highlighted. Try not to move your mouse and keep clicking. On my screen, let's say I continuously click on button #2 in my task switcher, another task (let's say button #5) gets minimized/restored.
System info: Operating System: Fedora Linux 40 KDE Plasma Version: 5.92.0 KDE Frameworks Version: 5.248.0 Qt Version: 6.6.1 Kernel Version: 6.8.0-0.rc0.20240112git70d201a40823.5.fc40.x86_64 (64-bit) Graphics Platform: Wayland Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor Memory: 62.7 GiB of RAM Graphics Processor: AMD Radeon RX 6900 XT
kwin needs to send a wl_pointer.leave event when the task switcher is activated, and wl_pointer.enter after leaving the task switcher.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5035
Postponed till 6.1