XYplorer is seemingly not DPI aware, UI is tiny on 4k screen

Things you’d like to miss in the future...
Post Reply
pulp_user
Posts: 9
Joined: 14 Jul 2023 16:37

XYplorer is seemingly not DPI aware, UI is tiny on 4k screen

Post by pulp_user »

Hi!

I have two monitors, one 1440p with 96dpi (primary) and one 4k with 144dpi. When moving XYplorer version 26.40 between the two, the UI is appropriately sized on the primary 1440p monitor but way too small on the secondary 4k monitor. When I run screen; in the address bar on the primary 1440p monitor, I get this:

Code: Select all

Virtual Screen: (0, -322) - (6400x2160)

Screen.Width (screenW) = 2560 (2560)
Screen.Height (screenH) = 1440 (1440)
Current Monitor: 2 (Primary)
Current Work Area: (0, 0) - (2560, 1400)

Number of Monitors: 2
Monitor 1 Area: (2560, -322) - (6400, 1838) = 3840x2160
Monitor 1 Area Work: (2560, -322) - (6400, 1778)
Monitor 1 DPI: 144 (150%)
Monitor 2 Area: (0, 0) - (2560, 1440) = 2560x1440
Monitor 2 Area Work: (0, 0) - (2560, 1400)
Monitor 2 DPI: 96 (100%)

Startup Work Area: (0, 0) - (2560, 1400), Startup Values: (3675, -237) - (1397x908), Winstate=2
XY Main Window: (-8, -8) - (2568, 1408) = 2576x1416, Scale: 2560x1357, Winstate=2
GetCursorPos = 0, 85

Monitor: 2/2 (Primary)
Screen: 2560x1440   Virtual: (0, -322) - (6400, 2160)   Work: (0, 0) - (2560, 1400)
Screen DPI: 96 (100%)   twX: 15 (15)   Stretch: 1,00   sLF: 1,00   Toolbar Zoom: 1,00 (1;1)
Screen Color Depth: 32   Line Spacing: 2 (2,00)
DPI Awareness: Per monitor   Auto Scaling: Yes

UseDPIAwareIconSizes: No
Icon Size: Small=16, Large=32, Extra Large=48, Jumbo=256
Icon Size Controls: Small=16, Large=32, Extra Large=48, Jumbo=256
Icon Size Recommended: Small=16, Large=32, Extra Large=48, Jumbo=256
When running screen; on the secondary 4k monitor, I get this:

Code: Select all

Virtual Screen: (0, -322) - (6400x2160)

Screen.Width (screenW) = 2560 (3840)
Screen.Height (screenH) = 1440 (2160)
Current Monitor: 1 (Secondary)
Current Work Area: (2560, -322) - (6400, 1778)

Number of Monitors: 2
Monitor 1 Area: (2560, -322) - (6400, 1838) = 3840x2160
Monitor 1 Area Work: (2560, -322) - (6400, 1778)
Monitor 1 DPI: 144 (150%)
Monitor 2 Area: (0, 0) - (2560, 1440) = 2560x1440
Monitor 2 Area Work: (0, 0) - (2560, 1400)
Monitor 2 DPI: 96 (100%)

Startup Work Area: (0, 0) - (2560, 1400), Startup Values: (3675, -237) - (1397x908), Winstate=2
XY Main Window: (2552, -330) - (6408, 1786) = 3856x2116, Scale: 3840x2057, Winstate=2
GetCursorPos = 2697, -228

Monitor: 1/2 (Secondary)
Screen: 3840x2160   Virtual: (0, -322) - (6400, 2160)   Work: (0, 0) - (2560, 1400)
Screen DPI: 96 (100%)   twX: 15 (15)   Stretch: 1,00   sLF: 1,00   Toolbar Zoom: 1,00 (1;1)
Screen Color Depth: 32   Line Spacing: 2 (2,00)
DPI Awareness: Per monitor   Auto Scaling: Yes

UseDPIAwareIconSizes: No
Icon Size: Small=16, Large=32, Extra Large=48, Jumbo=256
Icon Size Controls: Small=16, Large=32, Extra Large=48, Jumbo=256
Icon Size Recommended: Small=16, Large=32, Extra Large=48, Jumbo=256
It seems like XYplorer sees the correct DPI values (96 and 144), claims to respect them per monitor (DPI Awareness: Per monitor Auto Scaling: Yes), but then for some reason claims that the screen dpi is 96 for the current monitor in both cases (Screen DPI: 96 (100%)). Is this a bug? Can I do something to fix this? I want the UI to have the same effective size on both monitors, and right now, that's not happening. I'm on Windows 10 Education 22H2.

admin
Site Admin
Posts: 62002
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYplorer is seemingly not DPI aware, UI is tiny on 4k screen

Post by admin »

Strange. This issue is solved for a while now and has worked well for other users.

You can right-click the XYplorer.exe file (or the LNK file to it) and play with the compatibility settings (display scaling...).

pulp_user
Posts: 9
Joined: 14 Jul 2023 16:37

Re: XYplorer is seemingly not DPI aware, UI is tiny on 4k screen

Post by pulp_user »

I update to 26.40 from some prior version (I think it was 24.xx). Could that be a reason?

pulp_user
Posts: 9
Joined: 14 Jul 2023 16:37

Re: XYplorer is seemingly not DPI aware, UI is tiny on 4k screen

Post by pulp_user »

I overwrote the DPI settings via the properties of the executable to "System" instead of "Application" and that semi-fixes it. It's now properly sized and a little blurry instead of tiny and sharp. Not ideal though.

admin
Site Admin
Posts: 62002
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYplorer is seemingly not DPI aware, UI is tiny on 4k screen

Post by admin »

Which prior version works better? You can get older versions here: https://www.xyplorer.com/freezer.php

pulp_user
Posts: 9
Joined: 14 Jul 2023 16:37

Re: XYplorer is seemingly not DPI aware, UI is tiny on 4k screen

Post by pulp_user »

The prior version didn't work better, it had the same issue. I was just mentioning it in case upgrading from 24.xx to 26.xx could play a role in why this is happening for me. I don't know the exact version anymore unfortunately.

admin
Site Admin
Posts: 62002
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYplorer is seemingly not DPI aware, UI is tiny on 4k screen

Post by admin »

Does it make a difference on which screen you start the app?

admin
Site Admin
Posts: 62002
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: XYplorer is seemingly not DPI aware, UI is tiny on 4k screen

Post by admin »

Try if v26.40.0005 makes a difference: viewtopic.php?p=223861#p223861

Post Reply