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

NOSQUINT messes up display of top menu bar of a tiddlywiki #79

Open bwheater opened 11 years ago

bwheater commented 11 years ago

NOSQUINT fails to display top menu bar properly by clipping the bottom 75% of the menu bar. This prevents any of the links in the menu bar from being displayed, consequently you cannot click on any of the these links.

The tiddlywiki that this happens on is a html file that is loaded from the file system. Also, NOSQUINT incorrectly displays the file name as "/" instead of giving the full filename and path to the file.

The only way to get around this problem is to disable NOSQUINT in firefox and use the scroll wheel on the mouse to zoom the tiddlywiki every time it is loaded. This is a nusiance as I prefer NOSQUINT as it remembers the zoom level.

I have attached the tiddlywiki html file as a zip file that was rename to .png so that github will accept it. It can be accessed by renaming to .zip and decompress it to the original html file.

twt-treeview-executive

firefox version: 20.0.1 (current version) nosquint version: 2.1.8

This has happen on some of the previous version of firefox and nosquint. I just figured out that NOSQUINT was the cause of the problem by disabling it.

I would appreciate a fix for this problem as I have been using nosquint to avoid repeated zooming whenever I load many of the pages that I load.

Thanks. -Bob

jtackaberry commented 11 years ago

Are you using text-only zoom or full page zoom?

jtackaberry commented 11 years ago

NoSquint's treating the site name as / is not a bug, that's by design. Since it is a file:// URL, there's no notion of a site name, and so NoSquint treats everything on the filesystem as the "same site" (with respect to zoom settings).

It's then up to you to add exceptions for the various paths you want to treat separately on the filesystem. You can add an exception for the complete path to the file, or choose a path prefix that makes sense.

I'm speculating that you're using text zoom and not full page zoom, because that's consistent with your description. The HTML you provided shows that the top bar has a fixed pixel height. So if you zoom the text only, it will get clipped by this fixed-size container. There's nothing NoSquint can do about it.

So the solution would be to use full page zoom for this site, once you add an exception for it.

bwheater commented 11 years ago

Thanks for your prompt response. It was set to both text and full zoom. I have added exception for the site and it seems to be working correctly now. Thanks for your help. NOSQUINT is excellent extention to firefox.

regards, Bob