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)
Tracking
()
RESOLVED
FIXED
Firefox 3.7a4
People
(Reporter: alice0775, Assigned: rflint)
References
Details
(Keywords: regression)
Attachments
(1 file)
5.52 KB,
patch
|
mossop
:
review+
|
Details | Diff | Splinter Review |
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.
Reporter | ||
Updated•15 years ago
|
Keywords: regression
Reporter | ||
Comment 1•15 years ago
|
||
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;
}
Updated•15 years ago
|
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
Assignee | ||
Comment 3•15 years ago
|
||
Doh. onLocationChange gives us the background browser for this case while calling _applyPrefToSetting with both parameters undefined acts on the foreground browser...
Updated•15 years ago
|
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.
Assignee | ||
Comment 5•15 years ago
|
||
Pushed with r=dtownsend over IRC.
http://hg.mozilla.org/mozilla-central/rev/cf17c30f39b7
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a4
Comment 7•15 years ago
|
||
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)
Updated•15 years ago
|
Attachment #435357 -
Flags: review+
You need to log in
before you can comment on or make changes to this bug.
Description
•