Launcher icon indicating copy to clipboard operation
Launcher copied to clipboard

4k/HiDPI scaling issues

Open CryoByte33 opened this issue 8 years ago • 10 comments

Using a 2k or 4k monitor results in a badly broken configuration page and tiny test everywhere else. Normally I'd ignore it, but it's literally impossible to edit the configs without delving into the user's files, so I figured it's worthy of a bug report.

Attaching an image for reference!

2016-11-09 02_39_35-

CryoByte33 avatar Nov 09 '16 07:11 CryoByte33

#153

wizjany avatar Nov 11 '16 04:11 wizjany

I'm also having this issue now

SkyBlade1978 avatar Dec 06 '17 20:12 SkyBlade1978

Yep same =/

Brend-Smits avatar Dec 18 '17 22:12 Brend-Smits

HiDPI might be supported on JDK 9 but I haven't verified. Unfortunately rewriting the entire UI is currently out of the question.

sk89q avatar Dec 18 '17 22:12 sk89q

Did you try this?

https://superuser.com/a/1207925

jkroepke avatar Dec 27 '17 10:12 jkroepke

@jkroepke that does work, however it's a workaround and requires user interaction. Would it be possible to automatically apply this setting?

Brend-Smits avatar Dec 27 '17 13:12 Brend-Smits

If you build the lancher, you can maybe set some manifests for windows. But building unsigned exe files is nasty in windows 10 because the smartscreen filter blocks the execution.

Maybe I‘ll find somethink for you, but I can‘t test it because HiDPI on Mac just works.

jkroepke avatar Dec 27 '17 14:12 jkroepke

Appreciate the feedback, I have little experience in this branch. I will look into the manifest, however, if you do have more feedback / know how to do this, let me know please.

Once again, thanks for helping!

Brend-Smits avatar Dec 27 '17 14:12 Brend-Smits

Building an exe from launch4j, then embed a .manifest file with the required settings should be the only valid version in the moment.

https://stackoverflow.com/questions/30555401/java-disable-dpi-aware-not-working + https://msdn.microsoft.com/en-us//library/ms235591.aspx

But the smartscreen filter on newer windows version will confused some peoples.

jkroepke avatar Dec 27 '17 16:12 jkroepke

dupe of https://github.com/SKCraft/Launcher/issues/153

sk89q avatar Jul 15 '18 02:07 sk89q