Closed Bug 782739 Opened 12 years ago Closed 12 years ago

mouse wheel zoom is lost after tab switch

Categories

(Firefox :: Tabbed Browser, defect)

x86_64
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 17

People

(Reporter: tnikkel, Assigned: masayuki)

References

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

Hold ctrl and rotate the mouse wheel to change zoom. Change tabs. Return on the original tab. The zoom change is lost for me.

I bisected this down to the patches for bug 719320.
I can reproduce the problem on Windows7 too.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0 ID:20120814030521
OS: Linux → All
In http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser-fullZoom.js#89 ,
It is necessary to adapt preferences name to the latest.
(In reply to Alice0775 White from comment #2)
> In
> http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser-
> fullZoom.js#89 ,
> It is necessary to adapt preferences name to the latest.

Ah, failed to catch such code by searching "mousewheel.".
Assignee: nobody → masayuki
Component: DOM: Events → Tabbed Browser
Keywords: regression
Product: Core → Firefox
Attached patch PatchSplinter Review
Hmm, this feature doesn't work with SpecialPowers.setFullZoom(). I think that when zoom in or out is performed, Gecko should dispatch a custom event and browser should listen it. But this patch is enough for now.
Attachment #651976 - Attachment is obsolete: true
Attachment #652049 - Flags: review?(bugs)
Status: NEW → ASSIGNED
Attachment #652049 - Flags: review?(dao)
Attachment #652049 - Flags: review?(bugs)
Attachment #652049 - Flags: review+
Attachment #652049 - Flags: review?(dao) → review+
https://hg.mozilla.org/mozilla-central/rev/d0ca290ec99c
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Blocks: 784503
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: