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

Notification

Icon
Error

Unwanted padding of windows in Rider
Peter Osterdahl
#1 Posted : Thursday, December 4, 2025 12:52:46 PM(UTC)
Rank: Member

Groups: Registered
Joined: 1/13/2025(UTC)
Posts: 11
Location: Sweden

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
When opening Test or progress window they are displayed with padding outside to the right and bottom. (This also happens to the configuration window but is less of a problem)
The smaller the window, the larger the area doesn't show anything useful.
The behaviour is the same regardless of if the window is docked or popped out.
Ncrunch version 5.20.0.2, Rider 2025.3

Processing Queue
Test window

//Peter
Remco
#2 Posted : Thursday, December 4, 2025 10:34:44 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 1011 times
Was thanked: 1357 time(s) in 1260 post(s)
Hi Peter,

Thanks for sharing this. Does resizing the window suppress the issue?
Peter Osterdahl
#3 Posted : Friday, December 5, 2025 8:12:44 AM(UTC)
Rank: Member

Groups: Registered
Joined: 1/13/2025(UTC)
Posts: 11
Location: Sweden

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
Hi!
No unfortunately not. The padding seems kind of fixed so the information part of the window is resized.
//Peter
Remco
#4 Posted : Friday, December 5, 2025 9:05:00 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 1011 times
Was thanked: 1357 time(s) in 1260 post(s)
Thanks for confirming this. Are you running with DPI scaling at all? Perhaps multiple monitors with different scaling settings?
Anders Juul
#5 Posted : Friday, December 5, 2025 10:51:27 AM(UTC)
Rank: Member

Groups: Registered
Joined: 11/21/2020(UTC)
Posts: 18
Location: Denmark

Thanks: 1 times
Was thanked: 3 time(s) in 3 post(s)
I've had the same issue for a long time -- it helps to change the window to force a redraw (either change size or toggle output to be shown right/bottom). The problem does however reappear shortly after.
Peter Osterdahl
#6 Posted : Friday, December 5, 2025 2:38:13 PM(UTC)
Rank: Member

Groups: Registered
Joined: 1/13/2025(UTC)
Posts: 11
Location: Sweden

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
[strike-through]No DPI-scaling but multiple screens. [/strike-through] I noticed the laptop had scaling set.

Removed that. A quick test with only laptop screen did not resolve the issue.

I upgraded to the 5.21.0.1 version (since I have the freeze problem as well), that forced a restart and now the padding is gone.

The only ugly thing is that in dark mode the scrollbar is white.
Remco
#7 Posted : Friday, December 5, 2025 11:25:12 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 1011 times
Was thanked: 1357 time(s) in 1260 post(s)
My suspicion right now is that the problem is being caused by the DPI scaling not being handled consistently through the wormhole.

Has the problem returned at all now that your DPI scaling is consistent between monitors?

If not, does turning on the scaling difference cause it to reappear? Perhaps if the application is started on one monitor then dragged over to the other?
Peter Osterdahl
#8 Posted : Saturday, December 6, 2025 10:10:06 AM(UTC)
Rank: Member

Groups: Registered
Joined: 1/13/2025(UTC)
Posts: 11
Location: Sweden

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
Ok, tried this:
1. Laptop and externals screen, both on 100% DPI
Started Rider, Tests and processing queue windowed on laptop, the rest on external screen. Both windows filled and no padding, it takes a while for the dark theme to set in which is kind of ugly.
Moved the windows around, docked and undocked them etc. Everything worked fine. No padding.
2. Docked the windows on external screen. Changed DPI to 125%. Rescaling test window docked works as expected. Popped out to laptop, looks good. Rescaling, looks good.
Docked back to rider and the padding reappeared. Popped out, padding still there.
3. Closed and reopened Rider, test window popped out on laptop, padding is there.Changed scaling back to 100%, padding prevails, docking, undocking does nothing.
4. Restarts rider(now with no DPI), padding gone, everybody’s happy.
Remco
#9 Posted : Sunday, December 7, 2025 12:36:41 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 1011 times
Was thanked: 1357 time(s) in 1260 post(s)
Thanks for sharing this information.

From what you've provided, I've had a go at reproducing this problem. I can occasionally produce intermittent problems where the tool window has padding, but resizing it always immediately corrects the issue. This contrasts with the issue you've described where resizing the tool window never fixes the padding.

If resizing isn't fixing the padding, this is more serious as it means that the tool window 'thinks' that the scaling or dimensions for its monitor are different to what they actually are. Where resizing solves the issue, this means that the problem is just an event that hasn't triggered when the scaling situation has changed.

I'm wondering if you're having any luck finding a consistent way to reproduce a problem where resizing the window does not correct the padding. Working between two monitors with different scaling, I'm having trouble achieving this myself.
Peter Osterdahl
#10 Posted : Sunday, December 7, 2025 12:32:24 PM(UTC)
Rank: Member

Groups: Registered
Joined: 1/13/2025(UTC)
Posts: 11
Location: Sweden

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
Ok, some more data:
Laptop 2560x1600(recommended), 125% scaling
Screen (main display) 5120x1400 (recommended), 100% scaling

Opened Rider in windowed mode on main screen and test window docked and pinned. Resizing the window does not help, maximized, does not help. Padding stays the same pixel width and height
Closed and restarted, Rider now in maximized mode, testwindow docked. Padding still there. Resizing the testwindow docked, padding stays the same pixel width and height.
Popped out the testwindow by pressing the 3 dots and choosing float. The window pops out without padding but as soon as I touch it the padding reappears.

Hope this helps in any way.
Remco
#11 Posted : Monday, December 8, 2025 8:39:53 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 1011 times
Was thanked: 1357 time(s) in 1260 post(s)
Peter Osterdahl
#12 Posted : Monday, December 8, 2025 8:55:39 AM(UTC)
Rank: Member

Groups: Registered
Joined: 1/13/2025(UTC)
Posts: 11
Location: Sweden

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
Thanks!
I changed to 125% scaling for the laptop and restarted. Now the padding is almost gone, there is like 5-10 pixels left
Changed to 150% scaling, same result.

Behaviour is the same regardless if the window is docked or popped out. (Rider maximized or windowed)

So it is much better but a little bit ugly.
Remco
#13 Posted : Monday, December 8, 2025 9:15:28 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 1011 times
Was thanked: 1357 time(s) in 1260 post(s)
Thanks. This may be able the best I'm able to do here. This is a Winforms UI being piped through 3 processes and into a JVM environment, inside a dockable pane that it can't control, and subject to a lot of DPI hacks to prevent it from warping.
1 user thanked Remco for this useful post.
Peter Osterdahl on 12/8/2025(UTC)
Peter Osterdahl
#14 Posted : Monday, December 8, 2025 9:59:40 AM(UTC)
Rank: Member

Groups: Registered
Joined: 1/13/2025(UTC)
Posts: 11
Location: Sweden

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
I can live with this :)
1 user thanked Peter Osterdahl for this useful post.
Remco on 12/8/2025(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.062 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download