Bug 478792

Summary: Fullscreen OpenGL/Vulkan apps can make clicking on the taskbar icons non productive
Product: [Plasma] plasmashell Reporter: ivan.planinar
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, qydwhotmail
Priority: NOR    
Version First Reported In: 5.27.10   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0.0
Sentry Crash Report:

Description ivan.planinar 2023-12-20 20:57:00 UTC
Using Wayland and 2 monitor setup. 

If the running apps and your fullscreen OpenGL/Vulkan app are on the same screen, clicking their icons on the taskbar will usually return you back to the fullscreen program that is running.

STEPS TO REPRODUCE
1. Open one or several OpenGL/Vulkan program(s) in full screen (e.g. Stellarium, Steam game with Proton). 
2. Press Win key to make the taskbar and menu visible
3. Try to click on some other app (e.g. Spotify)
4. Notice it will return you back to the Stellarium/Game
5. This happens with left mouse button - the right one works and opens setting menus.

OBSERVED RESULT
Not registering the click with the mouse left button.

However, If the app is on the 2nd monitor, clicking the icon on the taskbar will make that app visible on the screen, but OpenGL/Vulkan will steal the focus again, so you will be back to the game/program.

EXPECTED RESULT
Registering clicks and shifting focus to desired app. 

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.11
Kernel Version: 6.6.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6650 XT
Manufacturer: Micro-Star International Co., Ltd
Product Name: MS-7C02
System Version: 1.0
Comment 1 Nate Graham 2023-12-21 21:26:55 UTC
Cannot reproduce with Stellarium on Plasma 6 Wayland.
Comment 2 ivan.planinar 2023-12-21 21:38:04 UTC
(In reply to Nate Graham from comment #1)
> Cannot reproduce with Stellarium on Plasma 6 Wayland.

Well maybe it's a non-issue on P6, but I'm still on a stable P5.

Also, if you have, try some Steam game running Proton fullscreen. That's where I get this issue the most.
Comment 3 Nate Graham 2025-01-15 18:49:20 UTC
Unfortunately I still cannot reproduce this issue in current git master, which is about to become Plasma 6.3. Are you still able to reproduce it in a recent version of Plasma, like 6.2.5 or later?
Comment 4 ivan.planinar 2025-01-15 19:53:25 UTC
you're right it doesn't happen anywhere in the Plasma 6.
Comment 5 Nate Graham 2025-01-15 20:00:55 UTC
Thanks for following up!