Closed Bug 555224 Opened 15 years ago Closed 15 years ago

Page is repainted to default zoom level after open a link in new tab/middle-click.

Categories

(Firefox :: General, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3.7a4

People

(Reporter: alice0775, Assigned: rflint)

References

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a4pre) Gecko/20100326 Minefield/3.7a4pre ID:20100326040105 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a4pre) Gecko/20100326 Minefield/3.7a4pre ID:20100326040105 Page is repainted to default level after open a link in new tab. Reproducible: Always Steps to Reproduce: 1. Start Minefield with new profile 2. Open any page 3. Zoom in (Ctrl + Ctrl + Ctrl + Ctrl + ) 4. Open a link in new background tab (Middle click a link) Actual Results: Page is repainted to default zoom level. Expected Results: Page should not be repainted. and should keep zoom level.
Keywords: regression
the following seems to fix the issue . In FullZoom.onLocationChange in browser.js // Avoid the cps roundtrip and apply the default/global pref. if (aURI.spec == "about:blank") { - this._applyPrefToSetting(); + this._applyPrefToSetting(undefined , aBrowser); return; }
Blocks: 555211
OS: Windows 7 → All
Summary: Page is repainted to default level after open a link in new tab. → Page is repainted to default zoom level after open a link in new tab.
Can confirm that this is always reproducible. Using win7 64it, build details below: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a4pre) Gecko/20100326 Minefield/3.7a4pre ID:20100326040105
Attached patch PatchSplinter Review
Doh. onLocationChange gives us the background browser for this case while calling _applyPrefToSetting with both parameters undefined acts on the foreground browser...
Assignee: nobody → rflint
Status: NEW → ASSIGNED
Attachment #435357 - Flags: review?(myk)
Summary: Page is repainted to default zoom level after open a link in new tab. → Page is repainted to default zoom level after open a link in new tab/middle-click.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a4
Comment on attachment 435357 [details] [diff] [review] Patch As it's already been reviewed, it no longer needs my review, so cancelling the request. Sorry I didn't get to this before you found review elsewhere! :-/
Attachment #435357 - Flags: review?(myk)
Attachment #435357 - Flags: review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: