Display issues with layout.css.devPixelsPerPx set above 1.55

Ask for help about NoScript, no registration needed to post
matt

Display issues with layout.css.devPixelsPerPx set above 1.55

Post by matt »

Recently, NoScript started displaying text/buttons very large, about twice the size I would expect. After investigating a bit, it looks like this occurs with certain layout.css.devPixelsPerPx settings. I typically keep this value at 1.6. Here are screenshots of this value at 1, 1.6, and 3:

https://imgur.com/a/o1Qif

Note that at 1.6, instead of being the expected 1.6x the size of the menu from the value at 1, it's more like 3x the size. My suspicion is there is some kind of "High DPI" code that is getting triggered that doubles the size in addition to the devPixelsPerPx setting that already is in effect. I have not found this behavior in any other add-on.

After some adjustment to the values, I found that 1.55 displays as expected, and the issue starts at 1.56. Fortunately 1.55 is close enough to my desired setting to serve as a workaround for me, but ideally this behavior should be corrected.
Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
barbaz
Senior Member
Posts: 11138
Joined: Sat Aug 03, 2013 5:45 pm

Re: Display issues with layout.css.devPixelsPerPx set above

Post by barbaz »

*Always* check the changelogs BEFORE updating that important software!
-
matt

Re: Display issues with layout.css.devPixelsPerPx set above

Post by matt »

It probably is. Sorry, I did not notice that post. I searched before posting, but only for devPixelsPerPx which that does not reference.
Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
barbaz
Senior Member
Posts: 11138
Joined: Sat Aug 03, 2013 5:45 pm

Re: Display issues with layout.css.devPixelsPerPx set above

Post by barbaz »

Does NoScript latest development build 10.1.5.9rc1 fix this issue?
*Always* check the changelogs BEFORE updating that important software!
-
bo elam
Senior Member
Posts: 208
Joined: Sat Oct 14, 2017 2:25 am

Re: Display issues with layout.css.devPixelsPerPx set above

Post by bo elam »

FWIW. My devPix is -1, I think thats default. The menu did not get to look huge but a little bigger. Beta 10.1.5.9rc1 fixes the size perfectly for me. I think the size now is identical as it was before beta 10.1.5.8rc2.

Bo
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:57.0) Gecko/20100101 Firefox/57.0
matt

Re: Display issues with layout.css.devPixelsPerPx set above

Post by matt »

Yes, 10.1.5.9rc1 fixes this for me as well. Thanks!
Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Post Reply