touch scrolling does not work even with MOZ_USE_XINPUT2=1
Categories
(Core :: Widget: Gtk, defect, P5)
Tracking
()
People
(Reporter: frederic.parrenin, Unassigned)
References
Details
Attachments
(1 file)
36.22 KB,
text/plain
|
Details |
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Comment 2•7 years ago
|
||
Updated•7 years ago
|
Comment 4•7 years ago
|
||
Comment 6•7 years ago
|
||
Comment 7•5 years ago
|
||
Comment 8•3 years ago
|
||
Same. I used to have no problem for a long time with MOZ_USE_XINPUT2 set. Around the time that 1207700 was closed and re-opened this stopped working for me.
Kubuntu 21.04
KDE Plasma 5.21.4
KDE Frameworks 5.80.0
Qt 5.15.2
In about:support I see "touch input enabled" in the APZ info, but feature detection doesn't find it (e.g. window.ontouchend
is not defined).
This is a regression for me. I'm sorry I can't be more specific about when it happened.
Comment 9•3 years ago
|
||
Randall, could you check what is the value of dom.w3c_touch_events.enabled
in about:config
?
Also, what Firefox version are you using and what hardware? (Or feel free to attach the contents of about:support
in an attachment.) Thanks!
Comment 10•3 years ago
|
||
The value of dom.w3c_touch_events.enabled
is 2
.
Comment 11•3 years ago
|
||
Taking another look at this:
(In reply to Randall Leeds [:tilgovi] from comment #8)
In about:support I see "touch input enabled" in the APZ info, but feature detection doesn't find it (e.g.
window.ontouchend
is not defined).This is a regression for me. I'm sorry I can't be more specific about when it happened.
Is the issue only that window.ontouchend
is not defined, or does touch scrolling itself not work (i.e. a touch gesture on the touchscreen fails to cause scrolling)?
window.ontouchend
not being defined on desktop is (I've just discovered) a deliberate change -- please see bug 1412485, and in particular comment 1 there which says 'TouchEvent' in window
in the supported cross-platform way of checking for touch event support.
Comment 12•3 years ago
|
||
Touch scrolling does not work. I only mentioned the other things to try to give more information.
Comment 13•3 years ago
|
||
(In reply to Randall Leeds [:tilgovi] from comment #12)
Touch scrolling does not work. I only mentioned the other things to try to give more information.
Thanks. For completeness, could you check 'TouchEvent' in window
as well, please?
Comment 14•3 years ago
|
||
TouchEvent
is present.
Comment 15•3 years ago
|
||
Thanks. So, TouchEvent
being present in window
and "touch input enabled" being present in about:support
are consistent with each other, and tell us that Firefox believes touch device support is present.
Looking at the code that implements the check for touch device support, this specifically means that gdk_device_manager_list_devices()
listed at least one device for which gdk_device_get_source()
was GDK_SOURCE_TOUCHSCREEN
.
It's definitely unusual that in spite of this, touch scrolling is not working.
As a sanity check, could you try the following please:
- Install the package
gtk-3-examples
, if not installed already. - Run
gtk3-demo
. - In the sidebar, scroll down to and select "Touch and Drawing Tablets".
- Click "Run".
- In the window that pops up (titled "Event Axes"), touch the window contents with one or two fingers and see if it's responsive (it should show a "Source" and "Sequence" for each touch, and lines identifying the location of the touch).
Comment 16•3 years ago
|
||
I figured it out! In KDE's touch settings, I had "enable gestures" for the screen touch device. Disabling that seems to fix the issue.
Running the gtk3-demo for touch, I also saw that there was no "Sequence" output and no multi-touch support. Disabling the gestures also fixed this.
Thank you for your help. I'm sorry that this turned out to be mis-configuration on my end.
Comment 17•3 years ago
|
||
Glad you were able to get it to work!
I'm going to close this, @Parrenin if you or anyone else in the thread is still experiencing this please feel free to reopen or file a new issue.
Description
•