Closed
Bug 311941
Opened 19 years ago
Closed 19 years ago
Tweak mousewheel sysnumlines values to be correct
Categories
(Firefox :: Shell Integration, defect)
Firefox
Shell Integration
Tracking
()
RESOLVED
FIXED
People
(Reporter: mark, Assigned: mark)
Details
(Keywords: fixed1.8)
Attachments
(1 file, 1 obsolete file)
2.06 KB,
patch
|
asaf
:
review+
asa
:
approval1.8rc1+
|
Details | Diff | Splinter Review |
The sysnumlines settings in firefox.js are incorrect. sysnumlines should only be true when the behavior is to scroll the document (action 0) and the delta that comes from the system's event is desired. 0 = scroll lines, 1 = scroll pages, 2 = history, 3 = text size Right now, on the Mac: withnokey.action = 0, sysnumlines = true (OK) withaltkey.action = 0, sysnumlines = false (OK) withcontrolkey.action = 2, sysnumlines = true (should be false) withmetakey.action = 3, sysnumlines = true (should be false) withshiftkey.action = 0, sysnumlines = false (should be true) On Windows: withnokey.action = 0, sysnumlines = true (OK) withaltkey.action = 0, sysnumlines = false (OK) withcontrolkey.action = 3, sysnumlines = true (should be false) withmetakey.action = 0, sysnumlines = true (OK) withshiftkey.action = 2, sysnumlines = true (should be false) The preferences in app/profile/firefox.js should be adjusted accordingly.
Assignee | ||
Comment 1•19 years ago
|
||
The event state manager doesn't use the magnitude for history and text size. The only thing here that's required is the Mac shift key fix. The other bindings are less critical, but they still should be fixed for correctness. Users who wish to invert the axis for these events should be able to do so by setting numlines to -1 and shouldn't need to touch sysnumlines.
Flags: blocking1.8rc1?
Assignee | ||
Comment 2•19 years ago
|
||
This fixes the problem by flipping the sysnumlines setting where needed. It also explicitly sets sysnumlines to false for the alt key binding, to make it clear that the behavior is intended, rather than relying on the value from all.js.
Attachment #199087 -
Flags: review?(bugs.mano)
Assignee | ||
Comment 3•19 years ago
|
||
Oops.
Attachment #199087 -
Attachment is obsolete: true
Attachment #199088 -
Flags: review?(bugs.mano)
Assignee | ||
Updated•19 years ago
|
Attachment #199087 -
Flags: review?(bugs.mano) → review-
Comment 4•19 years ago
|
||
Comment on attachment 199088 [details] [diff] [review] Fixed fix r=mano
Attachment #199088 -
Flags: review?(bugs.mano) → review+
Assignee | ||
Updated•19 years ago
|
Attachment #199088 -
Flags: approval1.8rc1?
Assignee | ||
Comment 5•19 years ago
|
||
Fixed on trunk. This should be taken on the branch to clean up the shift on the Mac situation introduced in bug 309730.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Attachment #199088 -
Flags: approval1.8rc1? → approval1.8rc1+
Updated•19 years ago
|
Flags: blocking1.8rc1? → blocking1.8rc1+
You need to log in
before you can comment on or make changes to this bug.
Description
•