Re: Lost config v21.30.0018
Posted: 09 Dec 2020 18:39
I added more lines to debug log. Next beta, after moving XY to the other monitor, do
dlog;.Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
dlog;.Code: Select all
Debug Log
XYplorer 21.30.0026 - Windows 10 Enterprise, 64-bit, Release 1909, Build 18363.1198 - 2020-12-09 18:54:43.045
XYplorer 21.30.0026 - Windows 10 Enterprise, 64-bit, Release 1909, Build 18363.1198 - 2020-12-09 18:54:43.045
----------------------------------------------------------------------------------------------------
- 2020-12-09 18:54:16.454 --- DPI for monitor 2: 96, 96
18.944 - 2020-12-09 18:54:35.398 -M- WM_DPICHANGED: 6291552, 1699316, dpiX=96, dpiY=96
- 2020-12-09 18:54:35.398 -M- DPI for monitor 2: 96, 96yes, from 1 to 2.
Code: Select all
DPI for monitor 2: 96, 96Code: Select all
Debug Log
XYplorer 21.30.0026 - Windows 10 Enterprise, 64-bit, Release 1909, Build 18363.1198 - 2020-12-09 19:41:29.869
XYplorer 21.30.0026 - Windows 10 Enterprise, 64-bit, Release 1909, Build 18363.1198 - 2020-12-09 19:41:29.869
----------------------------------------------------------------------------------------------------
- 2020-12-09 19:41:10.374 --- DPI for monitor 2: 96, 96
14.343 - 2020-12-09 19:41:24.717 -M- WM_DPICHANGED: 7864440, 1699316, dpiX=120, dpiY=120
1 - 2020-12-09 19:41:24.718 -M- DPI for monitor 1: 120, 120Code: Select all
Debug Log
XYplorer 21.30.0026 - Windows 10 Enterprise, 64-bit, Release 1909, Build 18363.1198 - 2020-12-09 19:50:22.630
XYplorer 21.30.0026 - Windows 10 Enterprise, 64-bit, Release 1909, Build 18363.1198 - 2020-12-09 19:50:22.630
----------------------------------------------------------------------------------------------------
- 2020-12-09 19:49:07.025 --- DPI for monitor 2: 96, 96
19.712 - 2020-12-09 19:49:26.737 -M- WM_DPICHANGED: 6291552, 1699316, dpiX=96, dpiY=96
- 2020-12-09 19:49:26.738 -M- DPI for monitor 2: 96, 96
4.229 - 2020-12-09 19:49:30.967 -M- WM_DPICHANGED: 7864440, 1699316, dpiX=120, dpiY=120
- 2020-12-09 19:49:30.967 -M- DPI for monitor 1: 120, 120You start on monitor 1 but the first line says:LittleBiG wrote: ↑09 Dec 2020 19:55 The next stunt: monitor 1 -> monitor 2 -> monitor 1The result is that many things recover by this. Configuration dialog and other dialogs become ok. Toolbar is not ok, but after redraw (customize toolbar.. then a simple OK button) the toolbar labels recover too.Code: Select all
Debug Log XYplorer 21.30.0026 - Windows 10 Enterprise, 64-bit, Release 1909, Build 18363.1198 - 2020-12-09 19:50:22.630 XYplorer 21.30.0026 - Windows 10 Enterprise, 64-bit, Release 1909, Build 18363.1198 - 2020-12-09 19:50:22.630 ---------------------------------------------------------------------------------------------------- - 2020-12-09 19:49:07.025 --- DPI for monitor 2: 96, 96 19.712 - 2020-12-09 19:49:26.737 -M- WM_DPICHANGED: 6291552, 1699316, dpiX=96, dpiY=96 - 2020-12-09 19:49:26.738 -M- DPI for monitor 2: 96, 96 4.229 - 2020-12-09 19:49:30.967 -M- WM_DPICHANGED: 7864440, 1699316, dpiX=120, dpiY=120 - 2020-12-09 19:49:30.967 -M- DPI for monitor 1: 120, 120
When I start XY next time after this, it will be a lot bigger (probably because it thinks that it was started on 96dpi, however, was not.
Code: Select all
2020-12-09 19:49:07.025 --- DPI for monitor 2: 96, 96screen; right after startup, does it still think it's on monitor 2?No, screen; knows the current monitor correctly:
Code: Select all
Screen
XYplorer 21.30.0026 - Windows 10 Enterprise, 64-bit, Release 1909, Build 18363.1198
Virtual Screen: (0, 0) - (3200, 1080)
Screen.Width (screenW) = 1536 (1920)
Screen.Height (screenH) = 864 (1080)
Current Monitor: 1 (Primary)
Current Work Area: (0, 0) - (1920, 1030)
Number of Monitors: 2
Monitor 1 Area: (0, 0) - (1920, 1080) = 1920x1080
Monitor 1 Area Work: (0, 0) - (1920, 1030)
Monitor 1 DPI: 120 (125%)
Monitor 2 Area: (1920, 0) - (3200, 1024) = 1280x1024
Monitor 2 Area Work: (1920, 0) - (3200, 984)
Monitor 2 DPI: 96 (100%)
Startup Work Area: (0, 0) - (1920, 1030)
GetCursorPos = 1329, 73
XY Main Window: (-9, -9) - (1929, 1039) = 1938x1048
Screen DPI: 96 (100%) twX: 15 (12) Stretch: 1 sLF: 1 Toolbar Zoom: 1 (1;1)
Screen Color Depth: 32
DPI awareness: Per monitor
Auto Scaling: Yes, Yes
UseDPIAwareIconSizes: No, Yes
Icon Size: Small=16, Large=32
Icon Size Controls: Small=16, Large=32
Icon Size Recommended: Small=20, Large=40Code: Select all
Current Monitor: 1 (Primary)
...
Monitor 1 DPI: 120 (125%)
...
Screen DPI: 96 (100%) Now, XY started correctly on monitor 1, I didn't experience anything out of place. I moved the window this way: monitor 1 - monitor 2 - monitor 1
Code: Select all
Debug Log
XYplorer 21.30.0027 - Windows 10 Enterprise, 64-bit, Release 1909, Build 18363.1198 - 2020-12-10 13:44:28.239
XYplorer 21.30.0027 - Windows 10 Enterprise, 64-bit, Release 1909, Build 18363.1198 - 2020-12-10 13:44:28.239
----------------------------------------------------------------------------------------------------
0 - 2020-12-10 13:43:49.613 --- rWindow: -3, -1191, 1130, -542
0 - 2020-12-10 13:43:49.613 --- rcMonitor 1: 0, 0, 1920, 1080
0 - 2020-12-10 13:43:49.613 --- rOverlap 1: 0, 0, 0, 0
0 - 2020-12-10 13:43:49.613 --- dArea 1: 0
0 - 2020-12-10 13:43:49.613 --- rcMonitor 2: 1920, 0, 3200, 1024
0 - 2020-12-10 13:43:49.613 --- rOverlap 2: 0, 0, 0, 0
0 - 2020-12-10 13:43:49.613 --- dArea 2: 0
0 - 2020-12-10 13:43:49.613 --- DPI for monitor 1: 120, 120
24.219 - 2020-12-10 13:44:13.832 -M- WM_DPICHANGED: 6291552, 1699316, dpiX=96, dpiY=96
0 - 2020-12-10 13:44:13.832 -M- rWindow: 1581, 192, 2860, 1015
0 - 2020-12-10 13:44:13.832 -M- rcMonitor 1: 0, 0, 1920, 1080
0 - 2020-12-10 13:44:13.832 -M- rOverlap 1: 1581, 192, 1920, 1015
0 - 2020-12-10 13:44:13.832 -M- dArea 1: 278997
0 - 2020-12-10 13:44:13.832 -M- getMonitor = 0
0 - 2020-12-10 13:44:13.832 -M- rcMonitor 2: 1920, 0, 3200, 1024
0 - 2020-12-10 13:44:13.832 -M- rOverlap 2: 1920, 192, 2860, 1015
0 - 2020-12-10 13:44:13.832 -M- dArea 2: 773620
0 - 2020-12-10 13:44:13.832 -M- getMonitor = 1
0 - 2020-12-10 13:44:13.832 -M- DPI for monitor 2: 96, 96
908 - 2020-12-10 13:44:14.740 -M- rWindow: 1949, 112, 3228, 935
0 - 2020-12-10 13:44:14.740 -M- rcMonitor 1: 0, 0, 1920, 1080
0 - 2020-12-10 13:44:14.740 -M- rOverlap 1: 0, 0, 0, 0
0 - 2020-12-10 13:44:14.740 -M- dArea 1: 0
0 - 2020-12-10 13:44:14.740 -M- rcMonitor 2: 1920, 0, 3200, 1024
0 - 2020-12-10 13:44:14.740 -M- rOverlap 2: 1949, 112, 3200, 935
0 - 2020-12-10 13:44:14.740 -M- dArea 2: 1029573
0 - 2020-12-10 13:44:14.740 -M- getMonitor = 1
996 - 2020-12-10 13:44:15.736 -M- WM_DPICHANGED: 7864440, 1699316, dpiX=120, dpiY=120
0 - 2020-12-10 13:44:15.736 -M- rWindow: 1262, 228, 2541, 1051
0 - 2020-12-10 13:44:15.736 -M- rcMonitor 1: 0, 0, 1920, 1080
0 - 2020-12-10 13:44:15.736 -M- rOverlap 1: 1262, 228, 1920, 1051
0 - 2020-12-10 13:44:15.736 -M- dArea 1: 541534
0 - 2020-12-10 13:44:15.736 -M- getMonitor = 0
0 - 2020-12-10 13:44:15.736 -M- rcMonitor 2: 1920, 0, 3200, 1024
0 - 2020-12-10 13:44:15.736 -M- rOverlap 2: 1920, 228, 2541, 1024
0 - 2020-12-10 13:44:15.736 -M- dArea 2: 494316
0 - 2020-12-10 13:44:15.736 -M- DPI for monitor 1: 120, 120
941 - 2020-12-10 13:44:16.677 -M- rWindow: 198, 90, 1477, 913
0 - 2020-12-10 13:44:16.677 -M- rcMonitor 1: 0, 0, 1920, 1080
0 - 2020-12-10 13:44:16.677 -M- rOverlap 1: 198, 90, 1477, 913
0 - 2020-12-10 13:44:16.677 -M- dArea 1: 1052617
0 - 2020-12-10 13:44:16.677 -M- getMonitor = 0
0 - 2020-12-10 13:44:16.677 -M- rcMonitor 2: 1920, 0, 3200, 1024
0 - 2020-12-10 13:44:16.677 -M- rOverlap 2: 0, 0, 0, 0
0 - 2020-12-10 13:44:16.677 -M- dArea 2: 0Code: Select all
Debug Log
XYplorer 21.30.0027 - Windows 10 Enterprise, 64-bit, Release 1909, Build 18363.1198 - 2020-12-10 13:47:39.443
XYplorer 21.30.0027 - Windows 10 Enterprise, 64-bit, Release 1909, Build 18363.1198 - 2020-12-10 13:47:39.443
----------------------------------------------------------------------------------------------------
0 - 2020-12-10 13:46:32.280 --- rWindow: -3, -1191, 1130, -542
0 - 2020-12-10 13:46:32.280 --- rcMonitor 1: 0, 0, 1920, 1080
0 - 2020-12-10 13:46:32.280 --- rOverlap 1: 0, 0, 0, 0
0 - 2020-12-10 13:46:32.280 --- dArea 1: 0
0 - 2020-12-10 13:46:32.280 --- rcMonitor 2: 1920, 0, 3200, 1024
0 - 2020-12-10 13:46:32.280 --- rOverlap 2: 0, 0, 0, 0
0 - 2020-12-10 13:46:32.280 --- dArea 2: 0
0 - 2020-12-10 13:46:32.280 --- DPI for monitor 1: 120, 120
12.814 - 2020-12-10 13:46:45.094 -M- rWindow: 1920, 98, 3199, 921
0 - 2020-12-10 13:46:45.094 -M- rcMonitor 1: 0, 0, 1920, 1080
0 - 2020-12-10 13:46:45.094 -M- rOverlap 1: 0, 0, 0, 0
0 - 2020-12-10 13:46:45.094 -M- dArea 1: 0
0 - 2020-12-10 13:46:45.094 -M- rcMonitor 2: 1920, 0, 3200, 1024
0 - 2020-12-10 13:46:45.094 -M- rOverlap 2: 1920, 98, 3199, 921
0 - 2020-12-10 13:46:45.094 -M- dArea 2: 1052617
0 - 2020-12-10 13:46:45.094 -M- getMonitor = 1
12.324 - 2020-12-10 13:46:57.418 -M- WM_DPICHANGED: 7864440, 1699316, dpiX=120, dpiY=120
0 - 2020-12-10 13:46:57.418 -M- rWindow: 1231, 167, 2510, 990
0 - 2020-12-10 13:46:57.418 -M- rcMonitor 1: 0, 0, 1920, 1080
0 - 2020-12-10 13:46:57.418 -M- rOverlap 1: 1231, 167, 1920, 990
0 - 2020-12-10 13:46:57.418 -M- dArea 1: 567047
0 - 2020-12-10 13:46:57.418 -M- getMonitor = 0
0 - 2020-12-10 13:46:57.418 -M- rcMonitor 2: 1920, 0, 3200, 1024
0 - 2020-12-10 13:46:57.418 -M- rOverlap 2: 1920, 167, 2510, 990
0 - 2020-12-10 13:46:57.418 -M- dArea 2: 485570
0 - 2020-12-10 13:46:57.418 -M- DPI for monitor 1: 120, 120
1.042 - 2020-12-10 13:46:58.460 -M- rWindow: 300, 80, 1579, 903
0 - 2020-12-10 13:46:58.460 -M- rcMonitor 1: 0, 0, 1920, 1080
0 - 2020-12-10 13:46:58.460 -M- rOverlap 1: 300, 80, 1579, 903
0 - 2020-12-10 13:46:58.460 -M- dArea 1: 1052617
0 - 2020-12-10 13:46:58.460 -M- getMonitor = 0
0 - 2020-12-10 13:46:58.460 -M- rcMonitor 2: 1920, 0, 3200, 1024
0 - 2020-12-10 13:46:58.460 -M- rOverlap 2: 0, 0, 0, 0
0 - 2020-12-10 13:46:58.460 -M- dArea 2: 0
3.068 - 2020-12-10 13:47:01.528 -M- rWindow: 300, 80, 1579, 903
0 - 2020-12-10 13:47:01.528 -M- rcMonitor 1: 0, 0, 1920, 1080
0 - 2020-12-10 13:47:01.528 -M- rOverlap 1: 300, 80, 1579, 903
0 - 2020-12-10 13:47:01.528 -M- dArea 1: 1052617
0 - 2020-12-10 13:47:01.528 -M- getMonitor = 0
0 - 2020-12-10 13:47:01.528 -M- rcMonitor 2: 1920, 0, 3200, 1024
0 - 2020-12-10 13:47:01.528 -M- rOverlap 2: 0, 0, 0, 0
0 - 2020-12-10 13:47:01.528 -M- dArea 2: 0
11.518 - 2020-12-10 13:47:13.046 -M- WM_DPICHANGED: 6291552, 1699316, dpiX=96, dpiY=96
0 - 2020-12-10 13:47:13.046 -M- rWindow: 1297, -6, 2576, 817
0 - 2020-12-10 13:47:13.046 -M- rcMonitor 1: 0, 0, 1920, 1080
0 - 2020-12-10 13:47:13.046 -M- rOverlap 1: 1297, 0, 1920, 817
0 - 2020-12-10 13:47:13.046 -M- dArea 1: 508991
0 - 2020-12-10 13:47:13.046 -M- getMonitor = 0
0 - 2020-12-10 13:47:13.046 -M- rcMonitor 2: 1920, 0, 3200, 1024
0 - 2020-12-10 13:47:13.046 -M- rOverlap 2: 1920, 0, 2576, 817
0 - 2020-12-10 13:47:13.046 -M- dArea 2: 535952
0 - 2020-12-10 13:47:13.046 -M- getMonitor = 1
0 - 2020-12-10 13:47:13.046 -M- DPI for monitor 2: 96, 96
1.374 - 2020-12-10 13:47:14.420 -M- rWindow: 1920, 73, 3199, 896
0 - 2020-12-10 13:47:14.420 -M- rcMonitor 1: 0, 0, 1920, 1080
0 - 2020-12-10 13:47:14.420 -M- rOverlap 1: 0, 0, 0, 0
0 - 2020-12-10 13:47:14.420 -M- dArea 1: 0
0 - 2020-12-10 13:47:14.420 -M- rcMonitor 2: 1920, 0, 3200, 1024
0 - 2020-12-10 13:47:14.420 -M- rOverlap 2: 1920, 73, 3199, 896
0 - 2020-12-10 13:47:14.420 -M- dArea 2: 1052617
0 - 2020-12-10 13:47:14.420 -M- getMonitor = 1
2.576 - 2020-12-10 13:47:16.996 -M- rWindow: 1920, 73, 3199, 896
0 - 2020-12-10 13:47:16.996 -M- rcMonitor 1: 0, 0, 1920, 1080
0 - 2020-12-10 13:47:16.996 -M- rOverlap 1: 0, 0, 0, 0
0 - 2020-12-10 13:47:16.996 -M- dArea 1: 0
0 - 2020-12-10 13:47:16.996 -M- rcMonitor 2: 1920, 0, 3200, 1024
0 - 2020-12-10 13:47:16.996 -M- rOverlap 2: 1920, 73, 3199, 896
0 - 2020-12-10 13:47:16.996 -M- dArea 2: 1052617
0 - 2020-12-10 13:47:16.996 -M- getMonitor = 1Code: Select all
Screen
XYplorer 21.30.0027 - Windows 10 Enterprise, 64-bit, Release 1909, Build 18363.1198
Virtual Screen: (0, 0) - (3200, 1080)
Screen.Width (screenW) = 1920 (1920)
Screen.Height (screenH) = 1080 (1080)
Current Monitor: 2 (Secondary)
Current Work Area: (1920, 0) - (3200, 984)
Number of Monitors: 2
Monitor 1 Area: (0, 0) - (1920, 1080) = 1920x1080
Monitor 1 Area Work: (0, 0) - (1920, 1030)
Monitor 1 DPI: 120 (125%)
Monitor 2 Area: (1920, 0) - (3200, 1024) = 1280x1024
Monitor 2 Area Work: (1920, 0) - (3200, 984)
Monitor 2 DPI: 96 (100%)
Startup Work Area: (0, 0) - (1920, 1030)
GetCursorPos = 2600, 190
XY Main Window: (1936, 92) - (3215, 915) = 1279x823
Screen DPI: 120 (125%) twX: 12 (12) Stretch: 1 sLF: 1,25 Toolbar Zoom: 1 (1;1)
Screen Color Depth: 32
DPI awareness: Per monitor
Auto Scaling: Yes, Yes
UseDPIAwareIconSizes: Yes, Yes
Icon Size: Small=16, Large=32
Icon Size Controls: Small=20, Large=40
Icon Size Recommended: Small=20, Large=40