Bug 347041

Summary: Tooltip interaction in multi-row Task Manager suffers from not being able to reach tooltip for lower rows of delegates
Product: [Plasma] plasmashell Reporter: Eric Depagne <eric>
Component: Task Manager and Icons-Only Task ManagerAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: minor CC: bharadwaj.raju777, bugseforuns, david.cortes.rivera, isma.af, juho, kde, nate, pierre.kitz, plasma-bugs, rene
Priority: NOR    
Version: 5.3.0   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.27

Description Eric Depagne 2015-05-02 08:38:49 UTC
I have set the height of the taskbar so that it displays the apps in two rows (and it's located at the bottom of my monitor). If I hover the mouse over the top row, I can then click on the tooltip to go to the application.
However, if I hover over one of the application located in the bottom row, then, the tooltip appears, as expected, but then, I can't click on the windows, since the movement of the mouse goes over the top row, and then, another tooltip appears.  

Reproducible: Always

Steps to Reproduce:
1.  set the size of the taskbar so that the taskmanager displays applications running in at least two rows
2. Hover the top row, and you can select any application by clicking on the tooltop
3. TRy to do the same with an applicaiton appearing the the bottom row, and you can't

Actual Results:  
Top row applications are the only one that can be selected from the taskmanager 

Expected Results:  
ANy applicaiton should be selectable from the taskmanager
Comment 1 David Edmundson 2015-05-04 16:11:19 UTC
To emphasise for the next person reading this, it's clicking on the window in the tooltip that doesn't work. Clicking on the task in the bar works fine.

No idea how we could fix this from a design perspective.
Comment 2 Eric Depagne 2015-05-12 08:44:23 UTC
Very naïve answer to David Edmundson : the tooltip is deactivated immediately when the mouse leaves the area taken by a given task in the taskbar. Would it be possible to have  delay before the disappearance? This would allow the mouse to reach the tooltip when triggered from the bottom row(s) of the taskbar, and not change anything if the tooltip is triggered from the upper row
Comment 3 René Fürst 2016-11-09 20:47:13 UTC
I haven't tested it but I think the patches in bug 358930 should also fix this.
Comment 5 Fushan Wen 2021-10-04 16:31:08 UTC
*** Bug 439363 has been marked as a duplicate of this bug. ***
Comment 6 Fushan Wen 2021-10-05 00:33:02 UTC
*** Bug 441867 has been marked as a duplicate of this bug. ***
Comment 7 Fushan Wen 2021-10-05 00:33:07 UTC
*** Bug 442916 has been marked as a duplicate of this bug. ***
Comment 8 David 2021-10-05 00:34:31 UTC
Another solution: don't make it switch window previews when moving the mouse over a different icon than the one that was clicked.
Comment 9 Nate Graham 2021-10-05 00:57:30 UTC
You don't need click on anything to see the tooltip (for single windows, that is); it appears on hover.
Comment 10 David 2021-10-05 01:26:37 UTC
(In reply to Nate Graham from comment #9)
> You don't need click on anything to see the tooltip (for single windows,
> that is); it appears on hover.

I have it configured on left click and this still happens. Up to a few versions ago (at least with latte) it would not shift window previews as one moved the mouse to a different icon.
Comment 11 Nate Graham 2021-10-05 02:02:29 UTC
Sure but that's an option, and not the default behavior. The fix needs to work for everyone.
Comment 12 Bharadwaj Raju 2023-02-08 18:36:28 UTC
Fixed in master and 5.27 branch. I expect the fix will be there in the 5.27.1 release.
Comment 13 Nate Graham 2023-02-08 18:44:09 UTC
5.27 hasn't been tarred yet, so it'll be fixed in 5.27.0, in fact!
Comment 14 Bharadwaj Raju 2023-02-27 08:01:49 UTC
Git commit 6b0dd6514faad6d0803dc0d58ed93d995b82c237 by Bharadwaj Raju.
Committed on 08/02/2023 at 17:57.
Pushed by bharadwaj-raju into branch 'Plasma/5.27'.

applets/taskmanager: Triangle mouse filtering, with the component this time

Use the triangle mouse filter component from Plasma Workspace.
Related: bug 358930


(cherry picked from commit 7f1233a4ad50d70af9cbc39ff957a7cb1c47ed9b)

M  +3    -0    applets/taskmanager/package/contents/ui/Task.qml
M  +81   -36   applets/taskmanager/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/commit/6b0dd6514faad6d0803dc0d58ed93d995b82c237
Comment 15 Bharadwaj Raju 2023-02-27 08:01:57 UTC
Git commit 7f1233a4ad50d70af9cbc39ff957a7cb1c47ed9b by Bharadwaj Raju.
Committed on 08/02/2023 at 17:55.
Pushed by bharadwaj-raju into branch 'master'.

applets/taskmanager: Triangle mouse filtering, with the component this time

Use the triangle mouse filter component from Plasma Workspace.
Related: bug 358930

M  +3    -0    applets/taskmanager/package/contents/ui/Task.qml
M  +81   -36   applets/taskmanager/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/commit/7f1233a4ad50d70af9cbc39ff957a7cb1c47ed9b
Comment 16 Eric Depagne 2023-02-27 09:46:18 UTC
Good day all.
I can confirm after a few tries that I can now select any window, even when the thumbnail appears on the bottom row of the taskbar.
Thank you!