kaikramer / keystore-explorer

KeyStore Explorer is a free GUI replacement for the Java command-line utilities keytool and jarsigner.
https://keystore-explorer.org/
GNU General Public License v3.0
1.7k stars 275 forks source link

Keystore 5.4.4 is too tiny on 4K display #264

Closed vladaman closed 2 years ago

vladaman commented 3 years ago

Keystore, version 5.4.4 is too small on 4K display. Icons and other GUI elements are shrinked.

Screenshots Screenshot from 2021-05-12 07-32-47

Environment

kaikramer commented 3 years ago

Unfortunately I don't have a 4K display to try this, but the following environment variable should help:

export GDK_SCALE=2

Also, changing the look&feel in the preferences of KSE might make a difference. The ones starting with "Flat" are supposed to scale on high DPI displays.

nitz commented 3 years ago

I ran into this on a Windows laptop. Been using OpenJDK 8 w/ HotSpot JVM for a while now, but when I had this today I tried another I already happened to have: OpenJDK 11 w/ OpenJ9 JVM (the one built by IBM). The loading splash was still tiny, but the actual application worked perfectly with zero configuration otherwise!

kaikramer commented 3 years ago

@nitz Things are a bit different on Windows. You seem to be using the default Windows look&feel, which is implemented by the Java runtime and is only correctly scaled on newer Java versions. You could have had proper scaling with Java 8 as well by switching to one of the 3rd party "flat" look&feels as I have mentioned in the comment above.

The tiny splash image will be fixed with the next release of KSE.

nitz commented 3 years ago

How interesting. Today I learned. The joys of cross platform development 🙃