Scaling issue with remote desktop

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
jwgiron
Posts: 5
Joined: 21 Nov 2018 18:12

Scaling issue with remote desktop

Post by jwgiron »

When I remote desktop into my laptop running XYplorer, the application does not scale properly. Restarting the application has no effect.
Attached are screenshots showing a direct login versus a remote login.
Both computers are running Windows 10 Enterprise.
Below is the related output of "Various Information" in each case (not sure why I can't attach a .txt file to a post).
Direct login:
DblClick Time: 550 ms
Screen: 3840x2160, 1/1 (Primary), Virtual: (0, 0) - (3840, 2160), Work: (0, 0) - (3840, 2080)
Screen DPI: 205.714285714286 (214.285714285714%), twx: 7, stretch: 2
Screen Color Depth: 32
DPI awareness: Per monitor
UseDPIAwareIconSizes: Yes, Yes
Icon Size: Small=16, Large=32
Icon Size Controls: Small=32, Large=64
Icon Size Recommended: Small=32, Large=64

Remote Desktop login:
DblClick Time: 550 ms
Screen: 3840x2160, 1/1 (Primary), Virtual: (0, 0) - (2560, 1600), Work: (0, 0) - (2560, 1520)
Screen DPI: 205.714285714286 (214.285714285714%), twx: 7, stretch: 2
Screen Color Depth: 32
DPI awareness: Per monitor
UseDPIAwareIconSizes: Yes, Yes
Icon Size: Small=16, Large=32
Icon Size Controls: Small=32, Large=64
Icon Size Recommended: Small=32, Large=64

Remote Desktop login (after XYplorer restart):
DblClick Time: 550 ms
Screen: 1920x1080, 1/1 (Primary), Virtual: (0, 0) - (1920, 1080), Work: (0, 0) - (1920, 1040)
Screen DPI: 205.714285714286 (214.285714285714%), twx: 7, stretch: 2
Screen Color Depth: 32
DPI awareness: Per monitor
UseDPIAwareIconSizes: Yes, Yes
Icon Size: Small=16, Large=32
Icon Size Controls: Small=32, Large=64
Icon Size Recommended: Small=32, Large=64
To see the attached files, you need to log into the forum.

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

Re: Scaling issue with remote desktop

Post by admin »

Does it help if you set this tweak:
NoAutoScaling=1

You can do this using the new function editconf():

1) Start XYplorer
2) paste this into the Address Bar and press ENTER:

Code: Select all

editconf 4 , "NoAutoScaling=*";
3) A dialog will open where you should now see the line NoAutoScaling=0
4) change it to NoAutoScaling=1 via pressing F2
5) press OK in the dialog
6) XY will restart

jwgiron
Posts: 5
Joined: 21 Nov 2018 18:12

Re: Scaling issue with remote desktop

Post by jwgiron »

The "NoAutoScaling=1" did not fix the issue (it was a little worse, with the icons now overlapping the text).
2018-12-03 08_53_30-Clipboard.png
To see the attached files, you need to log into the forum.

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

Re: Scaling issue with remote desktop

Post by admin »

Remote Desktop login:
DblClick Time: 550 ms
Screen: 3840x2160, 1/1 (Primary), Virtual: (0, 0) - (2560, 1600), Work: (0, 0) - (2560, 1520)
I assume the bold line above is totally wrong?

jwgiron
Posts: 5
Joined: 21 Nov 2018 18:12

Re: Scaling issue with remote desktop

Post by jwgiron »

Yes, that seems like a bogus resolution during the remote session, since the computer I'm remoting from has a resolution of 1920x1080.
Here are the resolutions reported during various logins:
1. Direct login: 3840x2160
2. Leave app running. Then remote login: 3840x2160
3. Restart app while remoted: 1920x1080
4. Leave app running. Then direct login: 2160x1080
5. Restart app while direct login: 3840x2160

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

Re: Scaling issue with remote desktop

Post by admin »

OK, at the moment I have no idea what's going there. Weird stuff. Need some research...

jwgiron
Posts: 5
Joined: 21 Nov 2018 18:12

Re: Scaling issue with remote desktop

Post by jwgiron »

I found two other applications on my computer that behave in a similar manner.
I read through this Microsoft post:
https://support.microsoft.com/en-us/hel ... pi-devices
If I go to the XYplorer.exe application Properties (Compatibility tab), and select:
"Override high DPI scaling behavior, scaling performed by: System"
the scaling seems good, with the exception of the toolbar icons.
2018-12-03 13_03_26-Clipboard.png
When I run the Sysinternals Process Explorer, it shows DPI Awareness to be "Unaware".
2018-12-03 13_07_42-Clipboard.png
To see the attached files, you need to log into the forum.

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

Re: Scaling issue with remote desktop

Post by admin »

What are those values (Screen: 3840x2160, 1/1 (Primary), Virtual: (0, 0) - (2560, 1600), Work: (0, 0) - (2560, 1520) etc) when you do that?

jwgiron
Posts: 5
Joined: 21 Nov 2018 18:12

Re: Scaling issue with remote desktop

Post by jwgiron »

Direct and remote login (both before and after restart of app):
Screen: 1920x1080, 1/1 (Primary), Virtual: (0, 0) - (1920, 1080), Work: (0, 0) - (1920, 1040)
Screen DPI: 96 (100%), twx: 15, stretch: 1
Screen Color Depth: 32
DPI awareness: Unaware
UseDPIAwareIconSizes: No, Yes
Icon Size: Small=16, Large=32
Icon Size Controls: Small=16, Large=32
Icon Size Recommended: Small=16, Large=32

Note the icons are enlarged for both direct and remote login.

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

Re: Scaling issue with remote desktop

Post by admin »

Okay, looks good. Thanks for finding the solution! Gotta make a note... :tup: :beer:

I think re the toolbar you have to adjust it yourself via Tools | Customize Toolbar... (Ctrl+Shift+F9)

Post Reply