SUMMARY With a mouse, it is possible to hover the cursor over something to display tooltips or other functions. This is impossible on touchscreens since there is no information about hovering a finger over it, but this hover behavior is often activated after using the touchscreen. STEPS TO REPRODUCE 1. Add system tray 2. Tap any system tray item then tap it again to hide the panel that appears. OBSERVED RESULT Tooltip for the system tray item appears. This does not just apply to the system tray but it is the easiest way to demonstrate the behavior. EXPECTED RESULT Panel disappears and no tooltip appears. SOFTWARE/OS VERSIONS NixOS 24.11 (unstable channel) KDE Plasma Version: 6.0.5 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.1
I cannot reproduce the issue as described when I do it with my 2-in-1 touchscreen laptop. Please attach a phone video that shows you using your finger to reproduce the issue. Thanks!
Created attachment 170246 [details] Hover mouse behaviour on Touchscreen
Thanks. This looks strange, and I cannot reproduce the issue as shown in thevideo on my touchscreen laptop on Wayland . Are you using X11 or Wayland?
(In reply to Nate Graham from comment #3) > Thanks. This looks strange, and I cannot reproduce the issue as shown in > thevideo on my touchscreen laptop on Wayland . Are you using X11 or Wayland? Wayland
Ok, I just made it happen once, but now I can't get it to happen again.
KWin doesn't do tooltips or touch event processing, that's done by the toolkit and/or apps. In this case it might be a touch handler for system tray things doing something odd.
It is definitely not tapping something twice that does it. It's just that the tooltip doesn't open if the tray is open. 1. Open the Audio Volume tray item with mouse 2. Make sure to move the mouse pointer to somewhere else on the screen 3. Tap the Audio Volume system tray item with a touchscreen tap = the tooltip will still appear. This is also not just a system tray problem, that was just the easily reproducible example I gave. Another example: 1. Right click to open the context menu for an icon in Icons-only Task Manager 2. Make sure to move the mouse pointer to somewhere else on the screen 3. Tap the same icon with a touchscreen tap to close the context menu = the "Show small window previews when hovering over Tasks" effect is activated for that icon if you have that enabled. In Dolphin: 1. Find a folder with enough items in it to scroll 2. Scroll using touchscreen; release finger = An info panel will appear for you were touching when you were scrolling, as though you were hovering your mouse over it In Signal (I'm including a non-KDE app for thoroughness, obviously this could be an unrelated issue): 1. Scroll through messages using touchscreen, taking note of where you first put your finger down 2. Release finger = the message in the position you first finger to scroll will show options (3 dot menu, reactions, reply) that would appear if you were hovering mouse over it Additional Info: I am using Microsoft Surface Pro 7 which uses the ITPS touch driver and a custom kernel.
(In reply to m1vri31c from comment #7) > It is definitely not tapping something twice that does it. It's just that > the tooltip doesn't open if the tray is open. > > 1. Open the Audio Volume tray item with mouse > 2. Make sure to move the mouse pointer to somewhere else on the screen > 3. Tap the Audio Volume system tray item with a touchscreen tap > = the tooltip will still appear. > > This is also not just a system tray problem, that was just the easily > reproducible example I gave. Another example: > 1. Right click to open the context menu for an icon in Icons-only Task > Manager > 2. Make sure to move the mouse pointer to somewhere else on the screen > 3. Tap the same icon with a touchscreen tap to close the context menu > = the "Show small window previews when hovering over Tasks" effect is > activated for that icon if you have that enabled. > > In Dolphin: > 1. Find a folder with enough items in it to scroll > 2. Scroll using touchscreen; release finger > = An info panel will appear for you were touching when you were scrolling, > as though you were hovering your mouse over it > > In Signal (I'm including a non-KDE app for thoroughness, obviously this > could be an unrelated issue): > 1. Scroll through messages using touchscreen, taking note of where you first > put your finger down > 2. Release finger > = the message in the position you first finger to scroll will show options > (3 dot menu, reactions, reply) that would appear if you were hovering mouse > over it > > > Additional Info: > I am using Microsoft Surface Pro 7 which uses the ITPS touch driver and a > custom kernel. The Signal example may not actually be a bug.
I wanted to test in Firefox since that has generally pretty good touchscreen support. Firefox has its own mouse hover issue – the mouse is hidden upon any touchscreen input Plasma, and in Firefox that hidden mouse will be seen as "hovering" despite no indication of it being there. However there was no sign of touchscreen input triggering "hover mouse" like in the KDE app examples.