Issues with UI on windows HiDPI display
I am using zotero 5.0.84 and spotted some UI display issues.
The first one is plus/minus button in Preferences/Advanced/Feeds. The buttons are too small to be clicked. See the image for clarification: https://imgur.com/a/WT6dUO5
Another one is dialog when emptying trash. The buttons of OK and cancel were cut off. See the image: https://imgur.com/a/LzkCrNN
OS: windows 1909
Resolution: 3840x2160
Zotero: 5.0.84
The first one is plus/minus button in Preferences/Advanced/Feeds. The buttons are too small to be clicked. See the image for clarification: https://imgur.com/a/WT6dUO5
Another one is dialog when emptying trash. The buttons of OK and cancel were cut off. See the image: https://imgur.com/a/LzkCrNN
OS: windows 1909
Resolution: 3840x2160
Zotero: 5.0.84
layout.css.devPixelsPerPx
is set to-1
by default. Change this, e.g., to2
for a scaling of 200%, as explained here. (Note: Don't change this in Firefox, but in Zotero, which is based on Firefox.)The BBT issue mentioned above appeared for me with a system display scaling of 150%. This is fixed for me with the Zotero preference
layout.css.devPixelsPerPx
set to1.4
.Setting
layout.css.devPixelsPerPx
to2
should fix your second issue if a system scaling of 200% fixed it. From my tests, the layout preference does the same as the system scaling settings. The advantage would be that you could keep your system scaling at 250%. In Zotero, you could adapt the Font Size settings in the View menu, if needed.If this is not the case, make sure that you're not using the settings marked with green arrows here: https://superuser.com/a/954582.
You could also try this:
1. Find "zotero.exe" in your "Programs Files (x86)" folder.
2. Right click -> "Properties"
3. Go to "Compatibility" tab.
4. Check "Override high DPI scaling behavior".
5. Choose "Scaling performed by:" -> "Application"
layout.css.devPixelsPerPx
with multi-monitor setups, one should keep in mind that the scaling will not adapt to the monitor. (There was a Firefox add-on for this purpose: https://github.com/ertug/autohidpi.)It's possible that these display scaling issues are specific to the underlying Firefox version currently used in Zotero. The Zotero developers are planning to move from Firefox to Electron/Chromium, see here. So the situation should be different at the latest when this migration happens.
I also noticed another problem when setting the value of
layout.css.devPixelsPerPx
to2
. It does solve the clip ofEmpty Trash
(second issue here) but the clip ofDelete Collection
appears (there is no problem with the default setting) https://imgur.com/a/UbBbY60