OpenJFX: Follow HiDPI Scaling Settings in Fedora Workstation 32 (Gnome)
Philip Race
philip.race at oracle.com
Thu Jun 18 16:26:21 UTC 2020
Although we only support integer scaling on Linux you have 200% which should work.
So sounds like it could be a breaking change in Fedora, where it passes around / defines
the scale in some new setting and doesn't set the old ones needed for compatibility.
> (either via gsettings or the GDI_SCALE env variable)
GDK_SCALE, not GDI_SCALE
-phil
On 6/18/20, 5:12 AM, Kevin Rushforth wrote:
> We will need a new bug ID for this (we never reuse a bug ID for which
> a commit has been pushed). You can file a new bug, mentioning
> JDK-8137050 in the Description, at:
>
> https://bugreport.java.com/
>
> Question for other Linux users on this list: are any of you using a
> Linux machine with Hi-DPI scaling? Is it detecting it properly or do
> you have to set the scaling property (either via gsettings or the
> GDI_SCALE env variable) yourself?
>
> -- Kevin
>
>
> On 6/18/2020 1:51 AM, wurstsemmel at mailbox.org wrote:
>> Dear OpenJFX Developers,
>>
>> on Fedora 32 Workstation (Gnome) the AppImage from Cryptomator
>> (cryptomator.org) does not follow the system-wide scale settings from
>> Gnome Settings.
>>
>> *System Setup
>> Linux: Fedora Workstation 32 (Gnome)
>> Hardware: Dell XPS 13 with HiDPI (200 % scaling)
>> Cryptomator version: 1.5.5-x86_64 AppImage
>>
>> *Expected Behavior
>> App window should scale according to system-wide settings.
>>
>> *Actual Behavior
>> App window scales at 100 %.
>>
>> *Two workarounds exist:
>> $gsettings set org.gnome.desktop.interface scaling-factor 2
>> $GDK_SCALE=2 ./cryptomator-1.5.5-x86_64.AppImage
>>
>> According to the developers from Cryptomator (see
>> https://github.com/cryptomator/cryptomator/issues/1242#issuecomment-643095195
>>
>> ) this is a bug which was intended to be fixed with
>> https://bugs.openjdk.java.net/browse/JDK-8137050. However, the bug
>> still occurs in OpenJFX 14.0.1 and 11.
>>
>> I am happy to help if anything is unclear. Please re-open the bug JDK-
>> 8137050 and make OpenJFX follow the system-wide scaling settings in
>> Gnome.
>>
>> Thank you!
>>
>> wurstsemmel
>>
>>
>>
>>
>>
>
More information about the openjfx-dev
mailing list