Bug 490455

Summary: Name or preview does not disappear after hovering off item with touchscreen pen
Product: [Plasma] plasmashell Reporter: icemoss <icemoss9>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cwo.kde, duha.bugs, kde, kdedev, niccolo.venerandi, plasma-bugs
Priority: NOR    
Version: 6.1.2   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=437506
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description icemoss 2024-07-18 14:15:34 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
The dock contains many applications that can be hovered over to show their name, and if they are open a small box will also appear showing a preview. When using a laptop with a touchscreen, hovering a pen over the application will cause their name/preview box to show. Hovering the pen anywhere else on the screen that is not the panel will cause the dialogue to stay showing indefinitely until another item on the panel is hovered over, or in the case of an empty section of the panel the dialogue will properly close. 

STEPS TO REPRODUCE
1.  Use KDE on a laptop with a touchscreen and a pen
2.  Hover the pen over the touchscreen, and a cursor will appear, but as it is only hovered it will not detect a click
3.  Hover the pen over any item on the panel, such as the Network applet or an application like Firefox
4.  Either lift pen away from touchscreen until no longer showing, or move the pen towards the middle of the screen without hovering over the panel again

OBSERVED RESULT
Text stays present on the icons above them

EXPECTED RESULT
Text should disappear, as the icons are no longer hovered over

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.9-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82R9
System Version: IdeaPad Flex 5

ADDITIONAL INFORMATION
Whilst the text is visible, also moving the mouse either over the text or over the panel will make the text disappear
Comment 1 cwo 2024-07-31 11:09:38 UTC
"Active Window Control" is an archived widget for Plasma 5, it is not involved here.

It's not quite clear to me where this should be filed. Does this apply to tooltips everywhere, or only the ones on the panel/"dock"? Assigning to plasmashell for now, as you only talk about panel widgets in the report.
Comment 2 TraceyC 2024-07-31 16:32:10 UTC
This seems like it might be related to https://bugs.kde.org/show_bug.cgi?id=437506 - A panel set to auto hide doesn't hide after being invoked with a touch gesture.
The commonality is something not being dismissed if you're not using a mouse / touchpad
Comment 3 duha.bugs 2024-07-31 17:56:50 UTC
Can reproduce with my drawing tablet. 

KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.5.0
Qt Version: 6.9.0
Kernel Version: 6.10.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 4 duha.bugs 2024-07-31 18:44:44 UTC
Seems like the countdown for the tooltip is only triggered if the cursor is moved to an empty part of the panel -> works like intended.
If you move from an Icon directly to the desktop or another app the tooltip stays forever. (No countdown/timer triggered ?)

So far I can only reproduce this on the panel -> moving to plasmashell panel
Comment 5 duha.bugs 2024-08-01 20:44:24 UTC

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