(In reply to Olli Pettay [:smaug] from comment #111)
> (In reply to Masayuki Nakano [:masayuki] (JST, +0900) from comment #108)
> 
> > On macOS, we may receive diagonal wheel operation events. In such case, we
> > should not respect the new pref because the new pref is for legacy mouse
> > device
> How so? Isn't it for touchpads too.

Oh, really? I remembered as so. Just my memory is wrong or macOS's
behavior has been changed (IIRC, starting Sierra, mouse scroll event
behavior has been changed, it might be changed at this time).

> > which only supports vertical wheel operation but the user's device is
> > obviously supports horizontal wheel operation in this case. Do you think
> > that we should enable this hack even in this case?
> I don't know what hack.

I think the new feature is hack for the legacy mice.

> How is this supposed to work on Windows + touchpad? On Chrome if shift is
> pressed, only
> horizontal scrolling will happen.

On Windows, native event doesn't support diagonal scroll with an event.
So, this case never occurs on Windows actually. (If user tries to scroll
content diagonally, both vertical wheel event and horizontal wheel event
are fired separately.) Although, it could occur with some touchscreen.
However, I don't see wheel events when I scroll content in Gecko with my
notebook's touchscreen. (Pan gesture could fire wheel events, but I'm
not familiar with this path: https://searchfox.org/mozilla-
central/rev/1a4a26905f923458679a59a4be1e455ebc53c333/widget/windows/nsWinGesture.cpp#393,409-410,412-413
)

I'm not sure about GTK. GTK3's event has both delta values in an event.
So, it could support diagonal scroll, but I don't have environment that
Linux is installed on real machine (not virtual machine).

Anyway, I don't think that we should use this feature when the user's
device is obviously non-legacy pointing device, i.e., it supports
diagonal scroll. What do you think?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1228250

Title:
  [Shift + Mouse-Scroll-Wheel] Does NOT Scroll Horizontally

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1228250/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to