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

Supply a configuration toggle to enable/disable DPIawareness for high DPI monitors. #6166

Open
yereverluvinunclebert opened this issue Oct 14, 2023 · 3 comments
Labels
enhancement Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope.

Comments

@yereverluvinunclebert
Copy link

I run VB6 on Win7 + small screen and VB6 on Win10/11 with high DPI 4k screen with 125% scaling. Both have Rubberduck.

On the laptop the VB6 IDE with Rubberduck works how I want it to - perfectly.

On the Win10 system I generally run the VB6 IDE in non-DPI aware mode without Rubberduck enabled. I have the VB6 IDE auto-scaled and it looks fine, slighty blurry fonts but a big IDE window, exactly as on my Win7 system.

The problem is: as soon as I run Rubberduck on the Win10 system, the whole IDE becomes DPI aware and the whole IDE is then shrunk making it really hard to see and use as the IDE is not a program designed for high DPI usage.

My own programs that I create are DPI aware but I always provide them with a switch to enable or disable DPI awareness. This allows me to develop without the VB6 IDE shrinking to something unusable on high DPI screens.

Rubberduck should definitely have the same functioning switch as it makes it very hard to handle going through a Rubberduck code inspection with the font and IDE so very small.

I see the setting "Correction for high resolution display scalings" and I have checked/unchecked this. It has no effect on anything as far as I can see. I have tried the latest version of RD as well as older versions.

@yereverluvinunclebert yereverluvinunclebert added the enhancement Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope. label Oct 14, 2023
@mansellan
Copy link
Member

Apologies, that's on me. I enabled Rubberduck support in VB6, and I seem to recall several nuances around the DPI support there, due to the original IDE predating the idea.

I thought I found the best compromise, but that was a few years back. I may well have made a bad assumption.

I'm not at home right now, will take a look in the next few days. I will probably have questions if that's OK?

@yereverluvinunclebert
Copy link
Author

Happy to assist. screenshots, testing &c
When I was poor and could only afford a cheap laptop it was fine. It has only become a problem now I can afford the luxury of a 4K monitor. I suppose it is really a first world problem... However, more and more of us have high DPI monitors these days and it will become the norm soon so worth fixing or enabling that DPI toggle.

@retailcoder
Copy link
Member

Makes me wonder if that's still going to be a problem at all in v3.0 when the UI is completely out-of-process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope.
Projects
None yet
Development

No branches or pull requests

3 participants