Bug 430438

Summary: Thumbnails should behave less like tooltips and more like deliberately activated UI elements
Product: [Plasma] plasmashell Reporter: lukebenes
Component: Task Manager and Icons-Only Task ManagerAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: wishlist CC: nate, plasma-bugs
Priority: NOR    
Version: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=429502
Latest Commit: Version Fixed In: 5.24
Sentry Crash Report:

Description lukebenes 2020-12-15 17:36:07 UTC
SUMMARY
When using previews to find a grouped window, a single click should trigger it *immediately* and keep it open so a stray hover doesn't cause a different grouped preview to open. 

STEPS TO REPRODUCE
1. Clicked on grouped window

OBSERVED RESULT
1. Previews close

EXPECTED RESULT
1. The preview should immediately open and other hovers should be ignored

KDE Plasma Version: 5.20.4

ADDITIONAL INFORMATION

In both Win 10 and Dash to dock, clicking on an icon causes open, and stay open, so you can freely move the mouse around browsing for your window. In KDE, clicking closes it, and if you stray off of the preview, it also closes.

Hovering is a horrible for usability, forcing users to wait. The long delay makes this problem even worse. While waiting for the hover, you click only to see it pop open and then close again. See Bug 429502. 

I have to use Win 10 for work, so I have a muscle memory of clicking on a grouped icon when I want to find something. In KDE this has the opposite effect, by closing what I want to open.
Comment 1 Nate Graham 2020-12-16 21:41:23 UTC
There is a mode that behaves as I think you want. Right-click on empty area of the Task Manager -> Configure -> Behavior page -> Clicking on grouped task -> Shows tooltip window thumbnails.

Can you give this a try and see if it suffices for your purposes?
Comment 2 lukebenes 2020-12-18 03:04:20 UTC
Nate,

Thanks for the suggestion. Unfortunately, it doesn't address the core problem that this thumbnail element behaves like a tooltip widget rather than a UI widget that I want to interact with. As a result, these 2 problems still exist:

1) If the thumbnail is in the process of opening from a hover, it will open and then close on click as in the description. 

2) If you move your mouse outside of the thumbnail area it will close. 

I'd like to disable the tooltip like behavior and lock the thumbnails open until there a click on the thumbnail or a click outside of the thumbnail to close them. This is how Win 10 and dash to dock behave.
Comment 3 Nate Graham 2020-12-18 18:08:40 UTC
So basically you want the tooltips to not behave like tooltips. :)
Comment 4 Nate Graham 2021-10-28 17:45:55 UTC
Git commit 62a9ff23e95ce84b39bb7e9854f8e1b181a20e07 by Nate Graham, on behalf of Bharadwaj Raju.
Committed on 28/10/2021 at 17:45.
Pushed by ngraham into branch 'master'.

applets/taskmanager: Don't open other tooltips by hover if current one was opened by click
Related: bug 444142
FIXED-IN: 5.24

M  +16   -1    applets/taskmanager/package/contents/ui/Task.qml
M  +1    -1    applets/taskmanager/package/contents/ui/ToolTipWindowMouseArea.qml
M  +7    -1    applets/taskmanager/package/contents/ui/code/tools.js
M  +2    -0    applets/taskmanager/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/commit/62a9ff23e95ce84b39bb7e9854f8e1b181a20e07