I experienced the same issue. It appears to be something to do with a recent java version in combination with the Gnome fonts. From the recent ControlThings, there's other versions of jdk installed that you can try out: java-1.10.0-openjdk-amd64/
java-1.11.0-openjdk-amd64/
java-1.8.0-openjdk-amd64/
I had my best luck with 1.10.0: /usr/lib/jvm/java-1.10.0-openjdk-amd64/bin/java -jar /usr/local/share/ModbusPal.jar
But you still need to scroll text fields which is annoying:
But the issue still persisted from 1.6b to 1.6c. I tried messing with the gsettings text font but didn't have much luck. Messing with a few of these seems to have some improvements: gsettings set org.gnome.desktop.interface font-name 'Arial 9'
And messing with the gsettings scaling: gsettings set org.gnome.desktop.interface text-scaling-factor 0.75
Similarly with scaling the app, no luck: /usr/lib/jvm/java-1.10.0-openjdk-amd64/bin/java -Dsun.java2d.uiScale=2 -jar /usr/local/share/ModbusPal.jar
Would love to hear if anyone squashed this. Am running ControlThings in VMWare Workstation. Linux ctp 5.7.0-1-amd64 #1 SMP Debian 5.7.6-1 (2020-06-24) x86_64 GNU/Linux
Last edit: archtyriel 2021-11-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Noticed that running this as root also seems to completely fix the UI/Scaling issues: sudo /usr/lib/jvm/java-1.10.0-openjdk-amd64/bin/java -jar ./ModbusPal.jar
YMMV
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Expected:![expected](https://i.imgur.com/eESlrSC.png)
Source: https://youtu.be/oVDYaG2HInU?t=3484
Actual:![actual](https://i.imgur.com/N14q5Ue.png)
ModbusPal installed via https://www.controlthings.io/platform (VirtualBox VM)
Anyone know the cause or a solution?
Changing the resolution doesn't make a difference.
Cheers
I experienced the same issue. It appears to be something to do with a recent java version in combination with the Gnome fonts. From the recent ControlThings, there's other versions of jdk installed that you can try out:
java-1.10.0-openjdk-amd64/
java-1.11.0-openjdk-amd64/
java-1.8.0-openjdk-amd64/
I had my best luck with 1.10.0:
![Screenshot](https://i.imgur.com/Jq0GwGI.png)
/usr/lib/jvm/java-1.10.0-openjdk-amd64/bin/java -jar /usr/local/share/ModbusPal.jar
But you still need to scroll text fields which is annoying:
But the issue still persisted from 1.6b to 1.6c. I tried messing with the gsettings text font but didn't have much luck. Messing with a few of these seems to have some improvements:
gsettings set org.gnome.desktop.interface font-name 'Arial 9'
And messing with the gsettings scaling:
gsettings set org.gnome.desktop.interface text-scaling-factor 0.75
Similarly with scaling the app, no luck:
/usr/lib/jvm/java-1.10.0-openjdk-amd64/bin/java -Dsun.java2d.uiScale=2 -jar /usr/local/share/ModbusPal.jar
Would love to hear if anyone squashed this. Am running ControlThings in VMWare Workstation.
Linux ctp 5.7.0-1-amd64 #1 SMP Debian 5.7.6-1 (2020-06-24) x86_64 GNU/Linux
Last edit: archtyriel 2021-11-10
Noticed that running this as root also seems to completely fix the UI/Scaling issues:
![Root Window](https://i.imgur.com/T6gAGuC.png)
sudo /usr/lib/jvm/java-1.10.0-openjdk-amd64/bin/java -jar ./ModbusPal.jar
YMMV
This seeemed to work for me! ModbusPal 1.6c on ControlThings 1bD (i.e. both latest). Amazing :-)