avoid accidental slightly x-scroll when scrolling vertically using touchpad (implement axis locking for mac trackpad)
Categories
(Core :: Panning and Zooming, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: ryenus, Assigned: wesj, Mentored)
References
(Blocks 2 open bugs, )
Details
(Whiteboard: [gfx-noted] [lang=c++])
Attachments
(1 file)
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Comment 13•5 years ago
•
|
||
Last time I checked the behavior in Safari, it worked as follows: Rather than having a global "currently locked" state, each event is considered separately. The event's horizontal and vertical components are compared, and the component with the smaller amount is ignored.
We'll want to make sure that web content wheel events still carry the full delta information, so we want the locking to happen only in the place where we do scrolling.
Assignee | ||
Comment 14•5 years ago
|
||
Is the cheap solution to this just to set apz.axis_lock.mode to 2? That seems to prevent some slight accidental slips for me, but still allows smooth diagonal scrolling you break it (and IMO feels better than both Safari and Chrome's implementations that jerk back and forth between locking the x and y axis as you scroll diagonally).
Comment 15•5 years ago
|
||
Yep, that's the basic change to be made here.
As we haven't had anyone interested in taking this as a mentored bug, perhaps we should just flip the pref, and consider any tweaks as a follow-up if necessary?
Comment 16•5 years ago
|
||
Setting apz.axis_lock.mode to 2 works for me well too. I would very much appreciate the flip to 2 by default. Thanks :)
Assignee | ||
Comment 17•5 years ago
|
||
Updated•5 years ago
|
Comment 18•5 years ago
|
||
Comment 19•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Description
•