jtackaberry / nosquint

NoSquint is a Firefox add-on that allows you to adjust the text-only and full-page zoom levels as well as color settings both globally (for all sites) and per site.
https://urandom.ca/nosquint/
The Unlicense
40 stars 16 forks source link

Zoom fails when window opened in tab #91

Closed jonbaron1944 closed 11 years ago

jonbaron1944 commented 11 years ago

If I open a new tab in Firefox 24.0a1 (6/6/2013), a.k.a. Nightly, the automatic zoom (150%) that I have set does not work. The page appears as 100%, and the indicator in the lower right of the status bar, which usually says 150%, says N/A. If I click on the little circles next to that, nothing happens. The dialog box that usually appears does not appear.

Unfortunately, this does not happen all the time. I have yet to figure out how to get it to happen reliably so that I can test it, but so far it happens reliably if I am focused on the leftmost tab when I open the new tab. If I focus on another one, then it works, although after a short delay in which I see the page as 100%. But this could be just coincidence.

It is of course possible that this is a bug in Minefield. I'm not sure anything needs fixing, but I thought it should be reported just in case others are having the same (minor) problem.

ghost commented 11 years ago

I have this issue as well, for me when the tabbed window open starts on 100% and a second later changes to my default (140%)

jonbaron1944 commented 11 years ago

This happens to me too, unpredictably.

Perhaps it takes longer than a second, and something times out, so that, if it takes to long it doesn't happen at all.

I do not seem to have the problem when I open a new window rather than a new tab. (That will be my way of working around this issue.)

Also, it started after June 1. So it must be the result of some change in Firefox nightly.

On 06/09/13 13:46, aireca wrote:

I have this issue as well, for me when the tabbed window open starts on 100% and a second later changes to my default (140%)


Reply to this email directly or view it on GitHub: https://github.com/jtackaberry/nosquint/issues/91#issuecomment-19173295

Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron Editor: Judgment and Decision Making (http://journal.sjdm.org)

tuman18 commented 11 years ago

Same for me, even if it's normal tab, not window-in-a-tab.

jonbaron1944 commented 11 years ago

Other things: 1. I do not get the problem if I right-click on a link and then select "open link a new tab". That works. 2. If I open a new tab first (from the File menu, or with ctrl-t) and then try to open a page in that tab, I do get the problem. And, when I first open the tab, the NoSquint setting in the add-on bar (like the status bar) at the bottom shows briefly as 100% and then turns into N/A. It is usually set on 150%. Thus, I think the problem is in whatever opens the new tab, not in the page loading. 3. If I open the url before the N/A appears, the new page opens correctly and the setting returns to 150%. 4. If I get the error, I can fix it by going to View/Zoom/Reset. Although the size is now correct, the N/A still shows. In sum, I think the problem is in the initial opening of the new tab.

I have now reported this to Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=883099

jonbaron1944 commented 11 years ago

I discovered a work-around. In about:config, change the setting for browser.newtab.url so that it is blank. Just click on that listing and hit the enter key. The images in the new tab are no longer there, but the NoSquint setting no longer disappears.

jonbaron1944 commented 11 years ago

This bug is now fixed in the Mozilla trunk: https://bugzilla.mozilla.org/show_bug.cgi?id=883099 It should eventually be closed here, but I don't know how to do that.