Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The UI/UX is crap on Windows on a high DPI resolution and more #64

Open
rudolfstepan opened this issue Apr 17, 2024 · 5 comments
Open

Comments

@rudolfstepan
Copy link

As it is with old style apps or java written UIs, the font resolution is far way away from what is useable. If not using 1080p or lower, text size is far away from what can be read. On the other hand, a download-link which directs to an exe file should not be state of the art nowdays.

@roboalex2
Copy link
Contributor

What would be the "state of the art" solution instead of an exe file? The Microsoft Store?

@rudolfstepan
Copy link
Author

rudolfstepan commented May 16, 2024

I would suggest at least a packed format like zip to prevent the browser from blocking 🚫 the download because an executable file is threaten as an infection.

@MWin123
Copy link
Contributor

MWin123 commented May 22, 2024

I would suggest at least a packed format like zip to prevent the browser from blocking 🚫 the download because an executable file is threaten as an infection.

Is this all it takes to trick the browser?

What browser are you using? Are you also talking about an antivirus (which one) feature?

IIRC MS Edge asks you if you're sure if you want to download an executable file, and the default is probably no but you can just allow it by clicking a button or a link.

I just tried to download the exe with Chrome, and it didn't display an error for me. It just downloaded the file. I'm using macOS though but I'm not sure if that matters.

Please provide more details like what browser, what OS, and a screenshot.

You should probably split up this ticket into two (high DPI issue & exe download), and provide screenshots for "The UI/UX is crap on Windows on a high DPI resolution" issue.

Btw. there's also a ticket for proving an installer for Windows that would serve as an auto upgrader, e.g., Chocolatey or scoop. See #22.

The Microsoft Store?

This idea was already rejected by @patschuh but it would be doable.

The UI/UX is crap on Windows on a high DPI resolution

Regarding this issue. What DPI are you talking about? Like how high? IIRC there was a high DPI fix where we set the ui scale to 100% that solved an issue.

System.setProperty("glass.win.uiScale", "100%");

@qfyra
Copy link

qfyra commented Sep 11, 2024

Regarding this issue. What DPI are you talking about? Like how high?

This is a very common issue in Windows. It has probably always been an issue in Windows, but we never noticed it until high resolution monitors (1440p and above) became generally available. The issue is that the font sizes, by default, are rather tiny on these monitors, and that some applications with already tiny fonts become almost unusable if your eyesight isn't 20/20.

The solution in Windows is twofold:

  1. Increase the monitor scaling in the Windows settings (different on different versions of Windows). I personally set my 1440p monitors to 150% scale. This blows up the font sizes of everything.
  2. Some apps become blurry by default when the monitor scale is anything but 100%, but it is usually easy to fix. Simply go to the app (or a shortcut), right click and select Properties > Compatibility > High DPI scaling override, and select "Application".

Now the issue that I'm guessing the original poster is complaining about, which is also my complaint, is that KafkaEsque doesn't respect the first nor the second setting, and that there is seemingly no other way to fix the issue. It still uses the same font size regardless of setting, meaning it becomes difficult to use. Here is an example:

kafkaesque-high-dpi-settings-example

Notice that the only place where the scaling is respected is in the window title. The rest of the fonts are roughly half the size compared to other fonts in other applications. The Windows file explorer and VScode are examples of apps that respects the 150% scale natively, on account of being Microsoft apps. Notepad++ requires the compatibility setting that I mentioned.

@rudolfstepan
Copy link
Author

Yes in detail the issue occurs when using eg 4k or wqhd resolution screen and a system dpi/scaling setting eg. 150%. The scaling is not mentioned in the app and all fonts are scaled for 4k resolution and are therefore not readable (so small). Also trying override the scaling for the app itself does not fix the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants