Closed Bug 1709820 Opened 4 years ago Closed 4 years ago

Kinetic scroll in linux should not combine with modifier keys

Categories

(Core :: Panning and Zooming, defect)

Firefox 88
x86_64
Linux
defect

Tracking

()

RESOLVED INVALID

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.

OS: Unspecified → Linux
Hardware: Unspecified → x86_64

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.

Component: Untriaged → Panning and Zooming
Product: Firefox → Core

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 pref apz.gtk.knetic_scroll.enabled set to true?
  • If you set that to false, what is the behaviour, i.e. do you no longer get kinetic scrolling at all?

(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.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID

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).

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