Bug 427958

Summary: Debounce hiding the window selector upon unhovering program group icon
Product: [Plasma] plasmashell Reporter: Szczepan Hołyszewski <rulatir>
Component: Task Manager and Icons-Only Task ManagerAssignee: Eike Hein <hein>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, plasma-bugs
Priority: NOR    
Version: 5.20.0   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Szczepan Hołyszewski 2020-10-19 06:51:00 UTC
SUMMARY

Hiding the window selection UI upon unhovering the program group icon on the Icons-Only Task Bar should be debounced to prevent the UI from being hidden as the user accidentally hovers an adjacent icon for a split second when moving the pointer towards one of the tumbnails in the window selection UI.

STEPS TO REPRODUCE
1. Open two instances of a program, so that they get grouped under a single icon in the Icons-Only Task Bar
2. Hover over the group icon and wait for the window selection UI to appear
3. Try selecting one of the thumbnails.

OBSERVED RESULT

More often than not, as you move the pointer towards the thumbnail, you will accidentally hover an adjacent icon on the taskbar for a split second. This will cause the window selection UI to disappear.


EXPECTED RESULT

When the window selection UI for a taskbar group is shown, the "another taskbar icon was hovered" event should be debounced. Instead of immediately hiding the window selection UI when such an event occurs, a timer should be started that would hide the UI after e.g. 100ms, and would be cancelled if the window selection UI is hovered within that timeframe.

Operating System: Arch Linux
KDE Plasma Version: 5.20.0
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.9.1-zen2-1-zen
OS Type: 64-bit
Processors: 8 × AMD FX(tm)-8320 Eight-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: GeForce GTX 960/PCIe/SSE2
Comment 1 Szczepan Hołyszewski 2020-10-19 06:54:34 UTC
In order to be certain to avoid "losing" the window selector, the user must Very Consciously move the pointer vertically upwards onto the window selector, and Only Then sideways to select the desired thumbnail. This turns an elementary action into a "minigame".
Comment 2 Nate Graham 2020-10-21 03:33:14 UTC

*** This bug has been marked as a duplicate of bug 358930 ***