Bug 774947 - window title bars of Xwayland clients don't respond to touch events
window title bars of Xwayland clients don't respond to touch events
Status: NEW
Product: mutter
Classification: Core
Component: wayland
unspecified
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2016-11-23 17:55 UTC by Pantelis Panayiotou
Modified: 2017-06-17 01:04 UTC (History)
4 users (show)

See Also:
GNOME target: ---
GNOME version: ---


Attachments

Description Pantelis Panayiotou 2016-11-23 17:55:27 UTC
Greetings, and thank you all for your good work that has provided us with such a fine desktop.

I hope this is the correct place to report this issue.

Window title bars of Xwayland clients do not seem to respond to touch events (while title bars of native Wayland clients do). For instance, I can use my finger to drag gnome-terminal around the screen, and I can tap on the (x) button to close it. But when I try to do the same to Firefox or GIMP windows (both GTK2 apps that use Xwayland), nothing happens.

I reported this problem on Arch Linux Forums, and it looks like at least one more person is having the same problem:

https://bbs.archlinux.org/viewtopic.php?pid=1671407

Also, it looks like this is a Wayland-specific issue. All title bars handle touch events just fine under X11.

I'm using Gnome 3.22 with Wayland 1.12.0 on a Dell Inspiron 15 7000 series with touchscreen. More information about my system can be found in the aforementioned forum post.
Comment 1 tlinsky 2016-12-25 01:56:21 UTC
I confirm this exists on Fedora 25 (Gnome 3.22) with Wayland. I am using a Lenovo Yoga 900 touchscreen laptop.  To reproduce, start a gnome wayland session and open firefox and try to move the window using the title bar. On my machine, the title bar does not respond to touch events.  You can still move the firefox window by dragging and empty part of the tab bar just below the title bar, as long as the window isn't maximized.  If it is maximized, I haven't found a way to unmaximize it with touch (the mouse/touchpad works perfectly), and the close button doesn't respond.  Native Wayland apps (Terminal, nautilus) don't have this issue in my hands. Please let me know if there is any other information I can provide!
Comment 2 Strangiato 2017-01-15 04:52:57 UTC
I can confirm this bug on my laptop Lenovo G400S Touch running Arch. It happens only on Wayland session.
Comment 3 Stephen 2017-06-17 01:04:08 UTC
Probable duplicate of https://bugzilla.gnome.org/show_bug.cgi?id=770185

Note You need to log in before you can comment on or make changes to this bug.