Page 1 of 1

XY window not opening to saved position

Posted: 15 Aug 2023 07:36
by jupe
Something that has been niggling me for a while now, is that I have always had XY aero snapped to the LHS of my screen in my normal config, but now when XY loads it is horiz inset what visually looks like ~3 pixels instead, although it is actually at 0,0 according to screen; My conf is still set WinX=-8 same as always, anyway I finally decide to narrow down the version the issue started and I have got it to this change:

Code: Select all

v24.60.0102 - 2023-07-16 12:14
    % Startup: Now it is ensured that the upper left corner of the main window is visible 
      and that at least 256 pixels in width and height are visible, no matter which 
      monitor in your multi-monitor setup has been turned off since the last session.
Is there a possibility to redesign this check, so that I can still launch XY with an aero snapped value?, Y can be 0, but for me aero snap produces -8 for X. And if maximized it is -9,-9, but I don't save my config like that, so am not personally affected. I don't have a multi monitor setup.

Code: Select all

Virtual Screen: (0, 0) - (1920, 1080)

Screen.Width (screenW) = 1920 (1920)
Screen.Height (screenH) = 1080 (1080)
Current Monitor: 1 (Primary)
Current Work Area: (0, 0) - (1920, 1030)

Number of Monitors: 1
Monitor 1 Area: (0, 0) - (1920, 1080) = 1920x1080
Monitor 1 Area Work: (0, 0) - (1920, 1030)
Monitor 1 DPI: 120 (125%)

Startup Work Area: (0, 0) - (1920, 1030)
GetCursorPos = 1059, 231
XY Main Window: (-8, 0) - (968, 1038) = 976x1038, Scale: 958x966

Monitor: 1/1 (Primary)
Screen: 1920x1080   Virtual: (0, 0) - (1920, 1080)   Work: (0, 0) - (1920, 1030)
Screen DPI: 120 (125%)   twX: 12 (12)   Stretch: 1.25   sLF: 1.25   Toolbar Zoom: 1.10 (1;1)
Screen Color Depth: 32   Line Spacing: 2 (2.50)
DPI Awareness: Per monitor   Auto Scaling: Yes, Yes

UseDPIAwareIconSizes: Yes
Icon Size: Small=16, Large=32, Extra Large=48, Jumbo=256
Icon Size Controls: Small=20, Large=40, Extra Large=48, Jumbo=256
Icon Size Recommended: Small=20, Large=40, Extra Large=48, Jumbo=256

Re: XY window not opening to saved position

Posted: 15 Aug 2023 09:25
by admin
It is 0 but looks like 3 I guess. So if I allowed negative X values down to -8 your issue would be history, right?

Re: XY window not opening to saved position

Posted: 15 Aug 2023 09:33
by highend
-10 should be save as well

Title bar heights are normally around 30 px so you'd still see 2/3 of to be able to grab and move it

Re: XY window not opening to saved position

Posted: 15 Aug 2023 09:37
by admin
You're welcome.

Re: XY window not opening to saved position

Posted: 15 Aug 2023 18:17
by jupe
I'm too late now, but yes -8 I think would have resolved it for me, but I am not sure how other screen sizes/dpi or OS's were affected in the same scenario, so I also agree -10 was probably a safer choice, and I can confirm it is back to normal now in .0008,

Thanks!