Bug 392464 - [Auto-Hide] panels behaviour is broken with touch gestures enabled under X11
Summary: [Auto-Hide] panels behaviour is broken with touch gestures enabled under X11
Status: RESOLVED INTENTIONAL
Alias: None
Product: kwin
Classification: Plasma
Component: platform-x11-standalone (show other bugs)
Version: 5.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 399912 401794 402840 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-28 20:20 UTC by Michail Vourlakos
Modified: 2021-01-08 20:12 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
nate: Wayland-
nate: X11+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michail Vourlakos 2018-03-28 20:20:37 UTC
As you can watch in the following video:

https://drive.google.com/file/d/1UTR5QLQLA3sxBNKkgmscm3QGo5Wjs4YT/view

under X11 when an auto-hidden panel is placed at an edge that a touch gesture is enabled the expected behaviour is broken. The above video is produced when the user continues to push its mouse at that edge.

Expected Behavior:

1. The panel is hidden
2. Mouse touches that edge
3. The panel is sliding-in
4. Until the mouse leaves the panel then the panel should NOT slide-in at any case.
Comment 1 Nate Graham 2018-03-29 16:30:01 UTC
This is caused by the two invisible 1 px windows for these features conflicting with one another. Should work in Wayland, doesn't work on X11. Maybe can't work on X11, or is there anything we can do here, Martin?
Comment 2 Michail Vourlakos 2018-03-29 16:38:24 UTC
> This is caused by the two invisible 1 px windows for these features conflicting with one another. Should work in Wayland, doesn't work on X11. Maybe can't work on X11, or is there anything we can do here, Martin?

I believe the same...
because this is the default plasma experience under X11, meaning that the user didnt change anything for that to happen. Would you consider to disable touch gestures under X11 and let the user enable them if he need them?

I think that touch gestures are enabled under X11 even when no touch hardware is identified. So this issue occurs to users that their hardware doesnt support touch gestures at all.
Comment 3 Nate Graham 2018-03-29 16:42:17 UTC
(In reply to Michail Vourlakos from comment #2)
> > This is caused by the two invisible 1 px windows for these features conflicting with one another. Should work in Wayland, doesn't work on X11. Maybe can't work on X11, or is there anything we can do here, Martin?
> 
> I believe the same...
> because this is the default plasma experience under X11, meaning that the
> user didnt change anything for that to happen.

The default edge for KWin's Touch Screen edge is the left one, so users will only see this if they put their panel (or Latte Dock) on the left screen edge.


> Would you consider to disable
> touch gestures under X11 and let the user enable them if he need them?

See Bug 390654, sadly.
Comment 4 Martin Flöser 2018-03-29 16:45:56 UTC
Yes, that is a conflict caused by the 1px wide invisible window. That is unfixable on X11 if we want to provide the possibility to use touch edges. As we do want to provide this functionality this is unfortunately a wontfix.

It would be possible for Plasma to hack around the problem, but I clearly advise against it as this is a cornercase issue only caused by actively pushing the mouse against an edge which by default does not have a panel. Also the issue is X11 specific which is also a reason to not work around it.
Comment 5 Alex 2018-10-17 09:02:48 UTC
*** Bug 399912 has been marked as a duplicate of this bug. ***
Comment 6 Michail Vourlakos 2018-12-06 11:19:19 UTC
*** Bug 401794 has been marked as a duplicate of this bug. ***
Comment 7 Michail Vourlakos 2019-01-04 23:34:34 UTC
*** Bug 402840 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2021-01-08 20:12:01 UTC
There's no longer a touch edge set by default in Plasma 5.21, so this at least won't impact anyone unless they go out of their way to turn it on on X11.