Page 1 of 1

Display issues with layout.css.devPixelsPerPx set above 1.55

Posted: Sat Dec 16, 2017 7:51 pm
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.

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

Posted: Sat Dec 16, 2017 7:52 pm
by barbaz

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

Posted: Sat Dec 16, 2017 7:54 pm
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.

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

Posted: Sat Dec 16, 2017 11:01 pm
by barbaz
Does NoScript latest development build 10.1.5.9rc1 fix this issue?

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

Posted: Sun Dec 17, 2017 12:06 am
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

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

Posted: Sun Dec 17, 2017 12:27 am
by matt
Yes, 10.1.5.9rc1 fixes this for me as well. Thanks!