Bug 483671

Summary: The next opened program steals Task Manager tooltip focus, and causes graphical artefacts and flickering
Product: [Plasma] plasmashell Reporter: Finley Watson <fin-w>
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 Keywords: qt6
Version First Reported In: 6.0.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.1
Sentry Crash Report:
Attachments: Flickering and focus stealing of the Task Manager preview window

Description Finley Watson 2024-03-15 13:59:20 UTC
Created attachment 167261 [details]
Flickering and focus stealing of the Task Manager preview window

SUMMARY
Hovering over a program in Task Manager shows the preview window for that program. When you open something else with KRunner and it's added to the Task Manager, the new program fights for possession of the preview window.


STEPS TO REPRODUCE
1. Open a program
2. Mouse over that program in the Task Manager until the preview window displays
3. Use KRunner to launch another program

OBSERVED RESULT
While the second program loads and opens, the preview window flickers between the first and second programs. Once at the beginning of opening the second program, and once at the end as the second program displays, the Task Manager preview window starts to slide to the second program as though your mouse was over the second program (i.e. steals focus?)

EXPECTED RESULT
Task Manager preview window stays stable and focus (in the Task Manager) stays on the first program.

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
Processors: 4 × Intel® Core™ i5-2520M CPU @ 2.50GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 3000
Comment 1 Nate Graham 2024-04-10 17:40:52 UTC
Thanks for the screen recording. I cannot reproduce the issue in current git master. I think it's highly likely that a bunch of bugfixing that the preview tooltip underwent recently has fixed the issue. So I'm going to mark this as fixed for now, but do feel free to re-open it if you upgrade to Plasma 6.1 in a few months and find that it's still happening. Thanks again!