Closed Bug 454472 Opened 16 years ago Closed 16 years ago

event.ctrlKey, event.shiftKey and event.altKey are undefined with DOMMouseScroll event

Categories

(Core :: DOM: Events, defect)

defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: alice0775, Assigned: smaug)

References

Details

(Keywords: regression)

Attachments

(3 files, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3pre) Gecko/2008090906 GranParadiso/3.0.3pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3pre) Gecko/2008090906 Firefox/3.0.1 Ctrl + Mouse Wheel does not define event.ctrlKey property. Shift and Alt key also. Reproducible: Always Steps to Reproduce: 1.Open Firefox 2.Go any page. 3.Ctrl + Mouse Wheel on the content area. Actual Results: event.ctrlKey property is undefined. Expected Results: event.ctrlKey property should be set to true. This issue causes the problem that mouse wheel zoom level will not be stored. Works: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3pre) Gecko/2008090906 GranParadiso/3.0.3pre Not Works Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080909105611 Minefield/3.1b1pre
Attached file Test case of userChrome.js script. (deleted) —
This is Test case for userChrome.js.
Version: unspecified → Trunk
Regression window: Works: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a2pre) Gecko/20080812045727 Minefield/3.1a2pre Not Works: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a2pre) Gecko/20080813032636 Minefield/3.1a2pre
To lack information of the event.ctrlKey, the following problems occur. If Browser.zoom.Sitespecific is true, Zooming by scroll-wheel to a larger/smaller zoom, switching to another tab and then switching back to the zoomed tab will reset the zoom level to the previous one. (Zooming by pressing "Ctrl" + "=" works fine. Setting "Browser.zoom.Sitespecific" to false and scrolling zoom levels in individual tabs works fine.)
Attached file Test case (obsolete) (deleted) —
Attached file Test case (deleted) —
Attachment #337842 - Attachment is obsolete: true
Blocks: 378028
Keywords: regression
Status: UNCONFIRMED → NEW
Component: General → DOM: Events
Ever confirmed: true
OS: Windows XP → All
Product: Firefox → Core
QA Contact: general → events
Hardware: PC → All
Assignee: nobody → Olli.Pettay
Attachment #337860 - Flags: superreview?(roc)
Attachment #337860 - Flags: review?(roc)
Bug 454460 seems to be related to this bug.
Attachment #337860 - Flags: superreview?(roc)
Attachment #337860 - Flags: superreview+
Attachment #337860 - Flags: review?(roc)
Attachment #337860 - Flags: review+
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Flags: blocking1.9.1?
Blocks: 453429
Bug 350471 added tests for this bug.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: