jabref
jabref copied to clipboard
Jabref window title does not scale correctly on external monitor
JabRef version
5.6 (latest release)
Operating system
Windows
Details on version and operating system
Windows 10 21H2 Java 18.0.1 JavaFX 18+12
Checked with the latest development build
- [X] I made a backup of my libraries before testing the latest development version.
- [X] I have tested the latest development version and the problem persists
Steps to reproduce the behaviour
- Open Jabref on internal laptop monitor (resolution = 2560X1600)
- Move Jabref window on my external monitor (resolution = 1920X1080) which is in extended desktop mode
- Everything scales correctly except the window heading title which becomes huge.
Appendix
JabRef 5.7--2022-06-27--586d3e4 Linux 5.18.6-200.fc36.x86_64 amd64 Java 18.0.1 JavaFX 18+12
not the case on my fedora system
on windows no such problemshttps://obohe.com/i/2022/06/30/qudrog.png
@MacGyver00 Could you make a screenshot of your screen settings? I would assume, one screen is scale level 150% the other one scale level 100%.
Internal screen scale is 200% (recommended setting by win10 for 2560X1600 resolution) and the external is 100% (recommended setting for 1920X1080)
I have not had this problem with JabRef 5.6 or 5.7, but have had similar issues with other applications and a 3840×2160 external display, which I share between two laptops. One laptop has a 1920×1080 display and onboard (Intel) graphics. The other has a 3840×2160 display with Intel/Nvidia graphics (Windows release 21H2). In both cases, I use 150% for the external display, and 150% and 250%, respectively for the internal displays (the "recommended" setting for each display).
Scaling-behaviour varies between the laptops, and moving applications from internal to external display sometimes causes quirks such as oversized window titles. These usually disappear if I relaunch the application starting on the target display. Windows compatibility settings include options for setting resolution based on where (which display) the application is first launched, so this is something @MacGyver00 can check if the problem is still happening. Hardware and drivers are another potential culprit if a docking station is involved.
At the moment, I am using the lower-spec laptop with: JabRef 5.7--2022-08-02--baae43b Windows 10 10.0 amd64 Java 18.0.2 JavaFX 18.0.1+2
I have not had this problem
I was mistaken. The laptop with two 3840×2160 displays and hybrid graphics demonstrates the reported inconsistency in title bar scaling. However, the behaviour is not quite as described by this issue's title. JabRef's title bar retains the scaling of the primary display, so the scaling issue affects whichever dispaly is secondary, not necessarily an external display. The title bar scale is always correct on the primary display and always incorrect on the secondary (at least in my situation, which the two have the same resolution but different sizes, different DPI, and different scaling factors).
In this screenshot, Jabref and Windows explorer are positioned on the external display when the internal display is primary. JabRef's title is too large, but other text is correct. The font size in JabRef is set to 10 pts. Windows text scaling is set to 100% and the display is scaled to 150%.
The Windows compatibility settings can fix the scaling issue but introduce unacceptably poor resolution (like many other applications).
Jabref's title bar is just right when shown on the primary display, whether internal or external.
If the external display is primary, moving the correctly-scaled JabRef window from external to internal display results in smaller-than-usual title bar scale.
Windows 10 remembers the last position of a closed window, but reopening JabRef after changing the primary display fails to restore correct scaling. I opened JabRef on the external display set as primary, noted correct scale, Returned the primary display setting to back to internal
while JabRef was still open. Next I closed and relaunched JabRef. As expected, the window opened in the previous position on the external display, but the title bar reverted to oversized title scaling.
This is a low priority issue to me, and I don't know how to fix it, but maybe my description will help identify the the cause.