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

Notification

Icon
Error

UI scaling issues: Hot Spots
james
#1 Posted : Thursday, May 30, 2024 9:03:04 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 3/13/2013(UTC)
Posts: 30
Location: United Kingdom

Thanks: 7 times
Was thanked: 9 time(s) in 9 post(s)
Hi,

I've been "getting by" with the various issues the NCrunch UI has with scaling when using multiple monitors with different DPI

Most of the time when the UI looks odd I can just wiggle something to trigger a re-render, like resizing the toolbox or adjusting the split. However, This doesn't work with the Hot Spots toolbox.

Here's what it looked like when I opened the Hot Spots tool window:

https://ibb.co/vD39pzk

As you can see the header area is taking up a lot of virtical space and the table is only showing 1 column. After stretching the window across both monitors I can see another column. But even after resizing as many columns as I can this way, I still don't see any timing information.

https://ibb.co/bzMjjqg

NCrunch version: 5.7.0.1

Monitor details:

1) Main screen: 3840x2400 at 250% scale
2) Landscape screen: 2560x1440 at 125% scale
3) Portrait screen: 1440x2560 at 100% scale

https://ibb.co/n37RWdv

As a bonus, here's how the context menu appears when you right click on the NCrunch icon :D

https://ibb.co/2ybCJGb
1 user thanked james for this useful post.
michaelkroes on 5/30/2024(UTC)
michaelkroes
#2 Posted : Thursday, May 30, 2024 11:23:17 AM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 303
Location: Netherlands

Thanks: 137 times
Was thanked: 71 time(s) in 68 post(s)
Hi thanks for reporting these issues. By chance we've been working on some of these issues for the next release. I'm going to try and tests for the specific issues you reported before we finalize that work.
1 user thanked michaelkroes for this useful post.
james on 5/30/2024(UTC)
james
#3 Posted : Thursday, May 30, 2024 11:30:42 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 3/13/2013(UTC)
Posts: 30
Location: United Kingdom

Thanks: 7 times
Was thanked: 9 time(s) in 9 post(s)
That's great to hear !

Looking forward to it.
1 user thanked james for this useful post.
michaelkroes on 5/30/2024(UTC)
michaelkroes
#4 Posted : Tuesday, June 18, 2024 4:59:34 AM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 303
Location: Netherlands

Thanks: 137 times
Was thanked: 71 time(s) in 68 post(s)
james
#5 Posted : Tuesday, June 18, 2024 5:23:58 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 3/13/2013(UTC)
Posts: 30
Location: United Kingdom

Thanks: 7 times
Was thanked: 9 time(s) in 9 post(s)
Thanks for the update. I’ll test this version tomorrow and get back to you
james
#6 Posted : Wednesday, June 19, 2024 1:15:02 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 3/13/2013(UTC)
Posts: 30
Location: United Kingdom

Thanks: 7 times
Was thanked: 9 time(s) in 9 post(s)
@michaelkroes There's still lots of weird stuff happening in this version. After deleting all NCrunch files and the .vs folder in a project. Here's how it looks.

1) https://ibb.co/0n52WSP

2) https://ibb.co/XD23Zb6 After clicking "Enable NCrunch"

3) https://ibb.co/rkMk7ZT NCrunch is now enabled

4) https://ibb.co/Wvtmbrp After resizing the tool window a tiny amount

The above behaviour I've noticed in older versions. But you can see how things are really not scaling well, somethings are taking far too much space and other things are squished (like the trace output horizontal split)

Good news tho. The Hot Spots window is looking much better.

5) https://ibb.co/Jy4kxtb

However, the configuration tool window is very broken.

6) https://ibb.co/cJ7fCYJ Switch to the Configuration tab and expand the project
6) https://ibb.co/c1Zrv9K Press the down arrow
7) https://ibb.co/1qNWV1r Press the down arrow
8) https://ibb.co/JCzQS4g Press the down arrow
9) https://ibb.co/P9RZMc9 Press the down arrow

Once the configuration options have escaped from the UI there's no way to get them back. Even after restarting Visual Studio. I had to delete all ncrunch files in the project folder and the .vs folder in order to restore the options UI.
michaelkroes
#7 Posted : Wednesday, June 19, 2024 5:19:03 PM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 303
Location: Netherlands

Thanks: 137 times
Was thanked: 71 time(s) in 68 post(s)
I'm sorry to hear it's not working. Can I ask what version of windows and visual studio you are using? I haven't been able to reproduce what you are seeing. Do you have any window managers running like power toys?
james
#8 Posted : Thursday, June 20, 2024 9:53:07 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 3/13/2013(UTC)
Posts: 30
Location: United Kingdom

Thanks: 7 times
Was thanked: 9 time(s) in 9 post(s)
Windows 11 Pro: 10.0.22631 Build 22631

Visual Studio Professional 2022 (64 bit): 17.9.3

No window managers installed.
Remco
#9 Posted : Sunday, June 23, 2024 11:02:12 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 944 times
Was thanked: 1267 time(s) in 1179 post(s)
Thanks for sharing these extra details.

We've put a lot of time into trying to reproduce further problems with the DPI scaling in the way that you've described, but we can't seem to make them happen.

I believe the issues you're seeing may be somehow specific to your system configuration or hardware set. DPI scaling is a really tough area for us to work in, because we are using two entirely different UI systems concurrently (winforms+WPF) while integrated inside another application. We've noticed that handling for having different DPI scale settings across multiple screens is somewhat hit-and-miss through many Windows applications, and the story seems to change across versions of the O/S and platform.

Handling for different DPI scaling set in parallel has always been a stretch goal for us. I am, actually, somewhat surprised we've managed to handle it as well as we have (Michael deserves much credit for this), but at some stage we need to draw a line here. We can only fix the problems we can find, and DPI scaling itself currently seems to be a can of worms full of other cans of worms scaled across edge cases.

Unfortunately, we can't provide further support in this area. As a workaround, I recommend bolting NCrunch tool windows directly into the main IDE window. This should give more stable behaviour as the lifespan of the tool windows should be bounded within the same DPI scaling.
james
#10 Posted : Sunday, June 23, 2024 1:34:40 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 3/13/2013(UTC)
Posts: 30
Location: United Kingdom

Thanks: 7 times
Was thanked: 9 time(s) in 9 post(s)
I understand. And I’ve lived with these quirks for years. But when this breaks the UI, like hot spots (where the information is 1000s off pixels off screen. Now fixed) or now the configuration window (where the config options disappear) i feel it’s worth raising a support ticket.

I’m surprised it’s not been possible to reproduce. I think I’ve had similar issues on three separate machines with 3 monitor setups.

I like having ncrunch on a dedicated screen but I’ll try keeping it docked. I’ll let you know if I find any issues.

Thanks for fixing the hot spots window.
1 user thanked james for this useful post.
Remco on 6/23/2024(UTC)
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.120 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download