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

GUI is too tall to fit on screen. #467

Closed
BenMcLean opened this issue Apr 10, 2023 · 1 comment
Closed

GUI is too tall to fit on screen. #467

BenMcLean opened this issue Apr 10, 2023 · 1 comment

Comments

@BenMcLean
Copy link

BenMcLean commented Apr 10, 2023

I run Windows 10 at 1080p resolution and 150% DPI zoom. But that setting makes this app is too tall to fit on screen.

I think the problem here is the GUI's lack of DPI awareness. Some contextual information for that follows:

On Windows 10, there is a feature called UI Scaling described in this article: https://www.thurrott.com/windows/windows-10/4597/windows-10-feature-focus-display-scaling

This is a good feature for people with vision problems to make the text and GUI elements bigger in most Windows programs.

This feature first started on Windows XP but programmers only started having to worry about it when Windows 7 started trying to scale up apps that didn't tell the newer Windows API that they were DPI-aware. I believe that is what the problem is for this app As InfoWorld says, "For apps that aren't high-DPI aware, Microsoft has a quick and dirty fix called DPI virtualization. Windows deliberately reports the wrong DPI resolution to such apps, so their elements render as if they were on a lower-resolution display. The results are then zoomed to fit the current display." http://www.infoworld.com/article/2952506/microsoft-windows/high-resolution-displays-reveal-windows-10-blind-spot.html

What needs to be done to fix this is to make Windows apps DPI-aware, as discussed in this article from Microsoft https://msdn.microsoft.com/en-us/library/windows/desktop/dn469266(v=vs.85).aspx and explained in this tutorial. https://msdn.microsoft.com/en-us/library/windows/desktop/dd464659(v=vs.85).aspx

Here is a really good blog post about the issue: http://www.hanselman.com/blog/LivingAHighDPIDesktopLifestyleCanBePainful.aspx

@yermak
Copy link
Owner

yermak commented May 30, 2024

Thanks for detailed information.
DPI awareness used to be big problem in Java, which I tried to solve years back.
In this particular case - I believe it's just bad UI design from side.
However, I believe I made things better in version 6.4.1 please check

@yermak yermak closed this as completed May 30, 2024
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

2 participants