Bug 483390

Summary: Task Manager window previews hide almost immediately when moving from one task to another in almost all panel orientations and movement directions
Product: [Plasma] plasmashell Reporter: fin-w
Component: Task Manager and Icons-Only Task ManagerAssignee: ratijas <me>
Status: RESOLVED FIXED    
Severity: normal CC: jeremyplsek, kde, kdedev, nate, postix, qydwhotmail
Priority: HI Keywords: qt6
Version: 6.0.1   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=487401
Latest Commit: Version Fixed In: 6.2.0
Sentry Crash Report:
Attachments: Hovering over the Task Manager in one direction (no problems) and the other (moving right shows the problem)

Description fin-w 2024-03-12 23:15:44 UTC
Created attachment 167071 [details]
Hovering over the Task Manager in one direction (no problems) and the other (moving right shows the problem)

STEPS TO REPRODUCE
1. Hover over a program in the Task Manager. Its window preview should show.
2. Move mouse over the program to the right of the current one that is being previewed. 

OBSERVED RESULT
The preview window moves and updates to show the current program hovered over, but then almost immediately disappears (see attached video).

EXPECTED RESULT
The preview window stays visible.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 fin-w 2024-03-21 19:13:33 UTC
This same issue happens when moving from left to right over the "System Tray → Show hidden icons" entries. When the tray is open, the icon tooltip disappears if you move from an icon to one on its right.

STEPS TO REPRODUCE
Click "Show hidden icons" on System Tray
Hover over an icon (1) in the popped-up tray
Move the mouse over the next icon to the right (2)

OBSERVED RESULT
Tooltip appears for icon 1, appears momentarily for icon 2, then disappears until the mouse goes over a different icon / off the icons, and the process is "reset"
Comment 2 Nate Graham 2024-03-25 18:42:31 UTC
I can reproduce this 100% with a vertical task manager as follows:

1. Have a vertical panel with a Task Manager and at least 6 pinned apps
2. Launch all apps
3. Move the cursor to the top-most task
4. Within 0.5 seconds move the cursor down to the one below it

The preview disappears immediately!

Now repeat the above, but start from the bottom-most task and move up. The previews do not disappear.
Comment 3 Nate Graham 2024-03-25 18:43:49 UTC
I can also reproduce the issue moving either left or right  with a horizontal Task Manager. So for me, this only works properly when using a vertical Task Manager and moving the cursor upwards. Raising priority as this is very annoying.
Comment 4 Nate Graham 2024-03-25 18:44:36 UTC
*** Bug 483175 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2024-06-10 17:49:28 UTC
*** Bug 488255 has been marked as a duplicate of this bug. ***
Comment 6 Bug Janitor Service 2024-08-19 13:10:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libplasma/-/merge_requests/1183
Comment 7 David Redondo 2024-08-19 14:47:06 UTC
Git commit df65d41d8661338cc38a3b7e52e78fadd2bdbfaa by David Redondo.
Committed on 19/08/2024 at 14:44.
Pushed by davidre into branch 'master'.

tooltip: Don't dismiss when not owning the dialog

When order of events is enter(A), enter(B), leave(A), A would
hide the dialog even though B showed it again.
FIXED-IN:6.2

M  +1    -1    src/declarativeimports/core/tooltiparea.cpp

https://invent.kde.org/plasma/libplasma/-/commit/df65d41d8661338cc38a3b7e52e78fadd2bdbfaa
Comment 8 Bug Janitor Service 2024-09-02 12:56:50 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2492
Comment 9 David Redondo 2024-09-04 09:57:35 UTC
Git commit d43c121d9e53351fa4447927745af67429b8ae4c by David Redondo.
Committed on 04/09/2024 at 09:46.
Pushed by davidre into branch 'master'.

taskmanager: Remove secondary point from triangle mouse filter

Looking at the original commit(s) its not entirely sure what the
intended purpose of this was but as it is it's broken:
- in bottom panels it will filter out almost every mouse move
- it doesn't do anything in top panels
- in left and right panels its doing something nonsensical

M  +0    -11   applets/taskmanager/package/contents/ui/main.qml

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