Kinetic scroll in linux should not combine with modifier keys
Categories
(Core :: Panning and Zooming, defect)
Tracking
()
People
(Reporter: ethan.bugzilla.mozilla.org, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0
Steps to reproduce:
On a web site tall enough for kinetic scrolling, I scroll up or down with my touchpad. After releasing the touchpad, I press ctrl while the page is still scrolling (usually I'm trying to hit ctrl+t to open a new tab).
note that this is on linux (ubuntu 20.04).
Actual results:
The page zooms in or out - invoking the ctrl+scroll shortcut, although I am not actively scrolling.
If I do this with alt, the whole desktop zooms, as alt+scroll invokes that on my desktop (xfce).
Expected results:
I should be able to hit ctrl or other modifiers without waiting for kinetic scrolling to finish, without triggering unintended shortcuts.
(In reply to Ethan from comment #0)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0
Steps to reproduce:
On a web site tall enough for kinetic scrolling, I scroll up or down with my touchpad. After releasing the touchpad, I press ctrl while the page is still scrolling (usually I'm trying to hit ctrl+t to open a new tab).
note that this is on linux (ubuntu 20.04).
Actual results:
The page zooms in or out - invoking the ctrl+scroll shortcut, although I am not actively scrolling.
If I do this with alt, the whole desktop zooms, as alt+scroll invokes that on my desktop (xfce).
Expected results:
I should be able to hit ctrl or other modifiers without waiting for kinetic scrolling to finish, without triggering unintended shortcuts.
Comment 2•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Panning and Zooming' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 3•4 years ago
|
||
This is a long-standing issue on Windows (bug 1199737), but I'm surprised to hear it affecting Linux, because kinetic scrolling works differently on Linux.
Could you check the following please:
- In
about:config
, is the prefapz.gtk.knetic_scroll.enabled
set totrue
? - If you set that to
false
, what is the behaviour, i.e. do you no longer get kinetic scrolling at all?
Comment 4•4 years ago
|
||
(I should mention that I cannot reproduce this on Debian 10 with KDE.)
I confirm apz.gtk.kinetic_scroll.enabled is true, but if I set that to false, the behavior is unchanged. kinetic scrolling still works, and kinetic scrolling + modifier keys still do the combo behavior.
so I was mistaken that this is a firefox issue at all. I knew firefox implemented kinetic scrolling and made that assumption, but this issue lies with the synaptics touchpad driver (which I had not previously realized implemented this functionality).
sorry for the noise.
Comment 6•4 years ago
|
||
Thanks for checking!
Just wanted to add that Firefox receives touchpad scroll events in the form of GdkEventScroll. If the events sent by the touchpad driver are such that we can distinguish between "fingers on touchpad" events and "fingers no longer on touchpad" events by looking at some field / property of the GdkEventScroll
, then we could still pursue a fix on the Firefox side (to ignore modifiers for events of the second kind).
Description
•