Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

How about fixing the DPI issues?
rlundy
#1 Posted : Wednesday, August 14, 2024 9:08:47 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/15/2016(UTC)
Posts: 8
Location: Germany

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
Now that NCrunch 5 is out with its two major new features, how about revisiting the DPI issues that have been repeatedly reported?

It remains the case that NCrunch doesn't play well with DPI settings other than 100%. At 200%, the NCrunch dialogs and windows have tiny text.

Not all of us developers are 20-year-old whipper-snappers who can read that stuff, so it would be nice to have this fixed now, even if it's a major undertaking.

This isn't a problem that'll go away. It'll only get worse as screens continue to improve.
Remco
#2 Posted : Wednesday, August 14, 2024 9:53:44 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi, thanks for posting.

Reading through your post, I can take a couple of things that I feel should be responded to separately here.


The first issue as I understand it is that you are frustrated that there are DPI issues in NCrunch, which given the number of updates and the effort we've put into the product, really shouldn't be the case. I realise this is especially annoying given that many setups now have at least some level of UI scaling, and I hear you. To help address this issue, I will share some more information about DPI in NCrunch in general, in the hope that it leads to a better understanding of the problems we have in this area.

One of the nice things about having users that are also developers is that people can often relate to some of the complications we need to deal with in a product like NCrunch. DPI is not one of these. When developing desktop software, in most cases the software is fixed to a specific version of .NET and uses one major form of UI tech (such as DPI, Winforms, MAUI, etc). By comparison in NCrunch, we need the system to work in 7 versions of Visual Studio (each of which runs on a different version of .NET). As much of NCrunch was built to work in VS2008, much of the UI is Winforms based, also interlaced with WPF. We're integrated with both VS and Rider, and in the case of the later, the UI is multi-process and must be beamed into the IDE through shared memory.

DPI compatibility problems vary by version of .NET. They vary by process lifespan. They vary by the workarounds introduced in hosting applications (like VS and Rider). They vary by versions of Windows. They are impacted by external tools and other plugins. It isn't possible to effectively automate testing for DPI scaling, and the platforms are constantly shifting. Part of the problem with DPI in general is that MS's approach to handling UI scaling at platform level has seen a number of changes as the problem domain has expanded. For example, newer versions of Windows allow scaling to be changed on a per-monitor basis, meaning that applications need to adapt their DPI scaling in real time as they are moved between screens. Some of this is handled by the platform transparently, with the rest of the bits needing to be picked up at application level.

I share these details not to make excuses, but to provide context. This is not a problem we can just solve. It's an endless game of whack-a-mole. Every time we think we've got it sorted, something we're integrated with changes and we end up chasing our tails until finally the problems get ironed out again.

For evidence of this, I would encourage you to look at the release notes of the builds we publish. Since V5.0 went out in March, we've already published 3 releases containing waves of fixes for DPI related problems, and we already have more in the pipe for the next upcoming build.


The second issue here is that you have a specific DPI related problem where NCrunch is not scaling windows according to your selected DPI. This issue is currently unknown to us. Can you share more details about your setup? Specifically, can you answer the following:
- Are you in VS or in Rider?
- Which build of Windows are you running?
- Do you have other plugins installed, and if so, does disabling them make any difference?
- Is your DPI setting consistent across all connected monitors?
- Which elements of NCrunch are not scaling correctly? Are there some parts that are working right?
rlundy
#3 Posted : Wednesday, August 14, 2024 11:58:08 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/15/2016(UTC)
Posts: 8
Location: Germany

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
OK, to be fair, I was basing this on the license details window, which is still tiny on 200% DPI screens. It does look like NCrunch has improved in the main UI.
Remco
#4 Posted : Thursday, August 15, 2024 10:49:53 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
rlundy;17540 wrote:
OK, to be fair, I was basing this on the license details window, which is still tiny on 200% DPI screens. It does look like NCrunch has improved in the main UI.


Thanks. We've confirmed this one isn't looking right, and also just found a few others. It seems that something in the platform just changed again. We'll be rolling fixes for this into the next release.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.040 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download