Comment on attachment 8915954
Bug 143038 Make users can scroll contents horizontally with vertical wheel 
operation with a modifier

https://reviewboard.mozilla.org/r/186794/#review193228

Because the tests set default action of both without any modifier and with 
shift to "scroll":
> default: 1, with_shift: 1, with_control: 3
Therefore, even if the new pref overrides "default"'s default action, it should 
be ignored (i.e., default action of with_shift should be executed) since the 
wheel operation is not only for vertical-wheel.

In other words, if with_shift is 2 as the default settings of non-macOS
platforms, the diagonal wheel operation with Shift should cause
navigating history. However, it's impossible to test it with this
automated test.

> What these numbers are? 1, 2, 3? Please add some comment

Okay, I'll replace them with constants.

> I don't understand this sentence.

I meant "If only the modifier to trreat vertical wheel as horizontal
scroll is active,"

> This sounds wrong. If the pref is set, and modifier is pressed, why
should viewport scroll ever horizontally? I don't see such behavior in
Chrome on Windows

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 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 understand this. Why 0? Doesn't that disable the feature.

Yes. Because if we set a modifier key code here, I need to rewrite
existing tests. And that needs special handling with this pref. I.e.,
that causes making the existing tests really complicated. Therefore, I
think that we should keep running existing tests with disabling the new
pref.  But the new feature should be tested by the new tests.

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