Closed Bug 454460 Opened 16 years ago Closed 16 years ago

Switching tabs after using mouse wheel to zoom resets zoom factor

Categories

(Firefox :: Tabbed Browser, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: rigido71, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b1pre) Gecko/20080909020334 Minefield/3.1b1pre
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b1pre) Gecko/20080909020334 Minefield/3.1b1pre

The zoom factor of a tab will be reverted to the one before using ctrl + mouse-wheel just switching to a new tab and back.

Reproducible: Always

Steps to Reproduce:
1. Open 2 tabs
2. Go to tab 1 and use ctrl-'+' twice to zoom in (let's say we have zoom factor of 2) 
3. Go to tab 2
4. Go back to tab 1 (zoom factor kept)
5. Use ctrl + mouse-wheel to zoom (in or out makes no difference)
6. Go to tab 2
7. Go back to tab 1 
Actual Results:  
You'll see tab 1 content reverting back to same zoom factor before using mouse-wheel

Expected Results:  
tab 1 should keep the same zoom factor as before leaving tab
Well, I ment cmd-'+' and cmd-'-'.
I confirmed this problem in windows.

And it happens in both of the case of full-zoom and the text-zoom.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080909105611 Minefield/3.1b1pre
Sorry Comment #2 was wrong.
Please ignore Comment #2.
I can't confirm this.  I didn't "see tab 1 content reverting back to
same zoom factor before using mouse-wheel".

I tested with today's Minefield nightly on OS X 10.5.4, using both an
Apple MightyMouse and a Microsoft mouse-wheel mouse.

Note that cmd-+ and cmd-- do a different kind of zooming than
ctrl-mousewheel-up or ctrl-mousewheel-down:

Cmd-+ and cmd-- tell the browser to zoom the current tab in or out.

Ctrl-mousewheel-up and ctrl-mousewheel-down tell the OS to zoom the
entire screen in or out.
Hi Steven,
with today build I can't reproduce this, maybe it was a "one build" problem.

I disagree about mouse zooming as it is stated even on the firefox help page that ctrl-scroll up and down zoom page.
Thanks for letting us know.

> I disagree about mouse zooming as it is stated even on the firefox
> help page that ctrl-scroll up and down zoom page.

Do ctrl-scroll-up and ctrl-scroll-down work differently on your
machine than they do on mine (as I described it in comment #4)?

If not (if they zoom the entire screen in or out), that's clearly an
OS function, not a browser one.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
> Do ctrl-scroll-up and ctrl-scroll-down work differently on your
> machine than they do on mine (as I described it in comment #4)?

Yes.
You can set up the keyboard shortcut to enable mouse zoom on OS X System Preferences -> Mouse and Keyboard. I think the default is just ctrl but I changed that to "option-command" so, when I use ctrl-scroll is Firefox to zoom the page content (the window doesn't resize) and not the os.
You need to log in before you can comment on or make changes to this bug.