Display issues with layout.css.devPixelsPerPx set above 1.55
Posted: Sat Dec 16, 2017 7:51 pm
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.
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.