Bug 465650

Summary: [Graphics Tablet]: When using a stylus, some tooltips on the panel do not get dismissed properly
Product: [Frameworks and Libraries] libplasma Reporter: guimarcalsilva
Component: tooltipsAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: minor CC: dmatteo002, icemoss9, kde, kdedev, nate, notmart, postix, qydwhotmail, scott
Priority: NOR Keywords: regression
Version: 5.103.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=465881
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Thumbnail/tooltip does not get dismissed properly

Description guimarcalsilva 2023-02-13 06:16:02 UTC
SUMMARY
If you use a stylus as your cursor (with a Wacom tablet), moving over some icons will show tooltips that don't get dismissed properly (specifically tooltips from app icons, like names and window thumbnails). This bug only happens on Wayland and is annoying since it interferes with navigation and activates window previews when the user doesn't want to. Check the attached video for more details.

To be honest, stylus navigation on Wayland has lots of bugs. If you notice, on the video, the icons also fail to be highlighted again, and that happens independently of this bug. Using the stylus to navigate the desktop is quite convenient since it doesn't require constant switching between tablet and mouse while making annotations. I'll probably open more bug reports about it.

STEPS TO REPRODUCE
1. With a drawing tablet, use your stylus to hover over an open application icon
2. Move up, activating the window thumbnail with the movement
3. Keep moving the cursor up, moving the stylus cursor out of the tooltip

OBSERVED RESULT
The tooltip stays open for many seconds until it fades. This behavior is different from what happens with a mouse, where the tooltip gets dismissed almost as soon as the cursor leaves it behind.

EXPECTED RESULT
Tooltips activated from a stylus should behave the same way as a normal mouse cursor.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 5.15.0-60-generic (64-bit)
Graphics Platform: Wayland
Processors: 6 × Intel® Core™ i5-9400F CPU @ 2.90GHz
Memory: 15,6 GiB of RAM
Graphics Processor: AMD Radeon RX 570 Series

ADDITIONAL INFORMATION
Running on Neon Unstable for testing purposes, with updates as of Feb. 11th.
Comment 1 guimarcalsilva 2023-02-13 06:17:46 UTC
Created attachment 156183 [details]
Thumbnail/tooltip does not get dismissed properly
Comment 2 Nate Graham 2023-02-13 17:04:16 UTC
Can reproduce.
Comment 3 Bug Janitor Service 2023-02-14 16:56:38 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/730
Comment 4 Bug Janitor Service 2023-02-14 17:00:47 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2621
Comment 5 guimarcalsilva 2023-02-16 23:53:14 UTC
After further investigation, it seems the problem also happens on X11, but only if you don't move the stylus outside of the panel. I do not yet know if the patch fixes the issue, I'll test it when it lands on Neon Unstable. In the meantime, I also filled a bug report (BUG: 465881) for a bug that seems to be different but might be related to this one. If the patch fixes both I'll close the other bug report. Thank you, Fushan!
Comment 6 guimarcalsilva 2023-03-14 00:33:32 UTC
New info: I now noticed the problem happens with any tooltip on the panel, not only the Task Manager Thumbnails. I'll change the component to General since it's not specific to the task manager.
Comment 7 Fushan Wen 2023-03-21 17:11:32 UTC
*** Bug 467651 has been marked as a duplicate of this bug. ***
Comment 8 duha.bugs 2024-08-01 20:44:24 UTC
*** Bug 490455 has been marked as a duplicate of this bug. ***