Bisq: Font/UI sizing issue on HiDPI display

Created on 6 Mar 2018  路  12Comments  路  Source: bisq-network/bisq

When running the application on a HiDPI screen in high resolution, the font size can be too small to the point of being unreadable as the application does not honor the display scaling setting.

image

Is there a way to specify a scale factor via a Java/JavaFX environment variable, similarly to how Qt apps honor $QT_SCALE_FACTOR?

Platform: Dell XPS 13" display, Ubuntu 17.10, default display settings, resolution 3200x1800, scale: 200%

gui dropped

Most helpful comment

On Ubuntu 18.04 with OpenJDK 10.0.2 it honors both GDK_SCALE and the org.gnome.desktop.interface scaling-factor setting, all good.

All 12 comments

Bisq doesn't scale the UI on HiDPI monitors with linux since JavaFX doesn't handle the scaling in Java 8. Once upgraded to Java 9 it will work but there are some issues with switching to Java 9, see #1262

Thanks @sqrrm, I suspected this was the case but couldn't find this issue - I'll keep an eye on it.

We plan to use Java 9 soon. Hope that will fix it.

Java 9 added support for HiDPI in Linux and Windows: http://openjdk.java.net/jeps/263

That is, when using Java 9 the GDK_SCALE environment variable is considered and windows are scaled accrodingly.

Eagerly waiting for the upgrade of bisq to Java 9.

@2m @peterzen Could you please verify if this issue is solved with our latest release 0.9+ (Java 10)?

Not fixed in 0.9.1.

screenshot from 2018-12-18 10-54-22

@ysangkok Thanks - I'll have a look if there is an easy way to resize everything based on the OS scale factor.

But if I launch with GDK_SCALE=2 ./Bisq, it does scale. Some hacky launcher that can read the Ubuntu scale from Gconf would work, I guess... Really the Java runtime should detect this, so I guess this can still be considered a Java bug, even if you do ship Java.

Thanks for the input! Maybe we can modify our javapackager setup to do so until it is fixed properly within Java.

On Ubuntu 18.04 with OpenJDK 10.0.2 it honors both GDK_SCALE and the org.gnome.desktop.interface scaling-factor setting, all good.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue has been automatically closed because of inactivity. Feel free to reopen it if you think it is still relevant.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ripcurlx picture ripcurlx  路  6Comments

ManfredKarrer picture ManfredKarrer  路  5Comments

wenk2018 picture wenk2018  路  3Comments

viperperidot picture viperperidot  路  6Comments

svpi11 picture svpi11  路  6Comments