The default bug view has changed. See this FAQ.

mouse wheel zoom is lost after tab switch

RESOLVED FIXED in Firefox 17

Status

()

Firefox
Tabbed Browser
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: tnikkel, Assigned: masayuki)

Tracking

({regression})

Trunk
Firefox 17
x86_64
All
regression
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

5 years ago
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.

Comment 1

5 years ago
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

Comment 2

5 years ago
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.
(Assignee)

Comment 3

5 years ago
(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
(Assignee)

Comment 4

5 years ago
Created attachment 651976 [details] [diff] [review]
Patch

https://tbpl.mozilla.org/?tree=Try&usebuildbot=1&rev=7aa024811555
(Assignee)

Comment 5

5 years ago
Created attachment 652049 [details] [diff] [review]
Patch

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)
(Assignee)

Updated

5 years ago
Status: NEW → ASSIGNED
Attachment #652049 - Flags: review?(dao)
Attachment #652049 - Flags: review?(bugs)
Attachment #652049 - Flags: review+

Updated

5 years ago
Attachment #652049 - Flags: review?(dao) → review+
(Assignee)

Comment 6

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/d0ca290ec99c
Target Milestone: --- → Firefox 17
https://hg.mozilla.org/mozilla-central/rev/d0ca290ec99c
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED

Updated

5 years ago
Blocks: 784503
You need to log in before you can comment on or make changes to this bug.