Bug 463818

Summary: Tooltip is reloaded when moving from task to tooltip to the task again
Product: [Plasma] plasmashell Reporter: Oliver Beard <olib141>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: nate, qydwhotmail
Priority: NOR    
Version First Reported In: 5.26.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.27
Sentry Crash Report:

Description Oliver Beard 2023-01-04 03:44:44 UTC
SUMMARY
When moving the cursor over a task, a tooltip appears for the open window. If you move the cursor over the tooltip, and back to the task, it causes the tooltip to flicker as it is reloaded, when it should just remain as is.

STEPS TO REPRODUCE
1. Move the cursor over a task with an open window
2. Move the cursor over the tooltip
3. Move the cursor over the task again

OBSERVED RESULT
The tooltip window will flicker, especially and quite clearly the actual window preview image.

EXPECTED RESULT
No change, the same instance of the tooltip would remain.
Comment 1 Nate Graham 2023-01-09 19:34:42 UTC
Can reproduce.
Comment 2 Fushan Wen 2023-01-20 11:21:35 UTC
Can reproduce on Wayland and I once tried to fix it but failed.
Comment 3 Fushan Wen 2023-01-24 07:57:51 UTC
Git commit 332604406185d860780d01b1f81e4f37d670d149 by Fushan Wen.
Committed on 24/01/2023 at 07:56.
Pushed by fusionfuture into branch 'master'.

applets/taskmanager: don't reload tooltip when moving from task to tooltip to the task again

Add `parentTask.containsMouse` as an active condition.
FIXED-IN: 5.27

M  +1    -1    applets/taskmanager/package/contents/ui/ToolTipDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/commit/332604406185d860780d01b1f81e4f37d670d149
Comment 4 Fushan Wen 2023-01-24 07:58:19 UTC
Git commit d8da1eb2a1abcda9e0f0670929028394fa46356f by Fushan Wen.
Committed on 24/01/2023 at 07:58.
Pushed by fusionfuture into branch 'Plasma/5.27'.

applets/taskmanager: don't reload tooltip when moving from task to tooltip to the task again

Add `parentTask.containsMouse` as an active condition.
FIXED-IN: 5.27


(cherry picked from commit 332604406185d860780d01b1f81e4f37d670d149)

M  +1    -1    applets/taskmanager/package/contents/ui/ToolTipDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/commit/d8da1eb2a1abcda9e0f0670929028394fa46356f