There are two methods to move a window to another display. In the first method, the window is moved by dragging the title bar with the mouse (hereafter referred to as case A) and in the second method, the window is moved using only shortcut keys (hereafter referred to as case B).
If the "Snap Windows" feature is enabled in the Windows settings, you can use <Windows key + Shift + Left key> and <Windows key + Shift + Right key> to move application windows between multiple displays. If the "Open each new document in a new window" option is enabled in the PDF-XChange Editor's Preferences dialog, it works well with the use of moving individual windows to a different display while keeping the window maximized using only Windows shortcut keys.
Instead of moving a window first and maximizing it later by double-clicking on the title bar, etc., this problem can be reproduced by moving a window that has been maximized from the beginning with a shortcut key.
Please see the following verification procedure and video for details.
Verification procedure
Since this problem occurs in a multi-display environment, please try this with two or more displays set to extended display mode. In the video, a total of four displays are captured on one screen. The corresponding timecode in the video is also included. ([MM:SS] "MM" shows minutes, and "SS" shows seconds.)
- [00:00] Verify that the "Snap windows" feature is enabled in the Windows settings.
[00:11] Start PDF-XChange Editor with default settings and open four sample files.
[00:20] Drag each tab to its respective display and finally double-click the title bar to maximize it.
[00:36] Save the session to a file. Name the file "case A".
[00:45] Exit the PDF-XChange Editor, open the session from the file "case A.xcesession" and each window is successfully restored to its original display.
[01:00] Open the Preferences dialog and enable the option "General > Manage Tabs and Windows > Open each new document in a new window".
[01:15] Exit PDF-XChange Editor once and open the four sample files. The four files should open maximized on the same display. If all windows are not maximized, review the operation to ensure that they are maximized.
[01:30] Move the four windows around using <Windows Key+Shift+Left> or <Windows Key+Shift+Right>. You should end up with one window on each of the four displays. Note that only the shortcut keys are used at this point. If the resolution of each monitor is the same, each window should be shown maximized on each display at this time without any other action. Note that if you use the mouse to move or fine-tune the placement of windows here, you will not be able to reproduce the problem.
[01:45] Save the session to a file. Name the file "case B".
[01:56] Exit PDF-XChange Editor, open a session from the file "case B.xcesession" and all windows are restored concentrated on a single display.
[02:19] Exit PDF-XChange Editor, open a session from the file "case A.xcesession" and each window is successfully restored to its original display.
[02:31] Exit PDF-XChange Editor, open a session from the file "case B.xcesession" and all windows are restored concentrated on a single display.
Final Thoughts
As these results show, a session file created using the method described in case A will successfully restore each window to its original display, regardless of whether the "Open each new document in a new window" option is enabled or disabled.
Thus, it is by no means necessary to enable the "Open each new document in a new window" option for the problem to occur. Even with the default disabled setting, the problem will still occur if you open another window and move the window by simply using Windows+Shift+Left/Right. The reason I emphasized enabling this setting in the procedure above is that I believe that with the option enabled, users will have more opportunities to move to another display with the window maximized using only the shortcut keys.
This is only my guess, but I suspect that moving a window using only the shortcut keys without moving it with the mouse would result in inaccurate coordinates for the window that are saved in the session file. Therefore, just in case, I have included the session file saved at each point in time in the sample file in case it might be of some help.
Hoping that the above information will be of some help to you.
Thank you so much for your continued support.
Best regards,
rakunavi
- PDF-XChange Editor PRO Version: 10.6.0 build 396
- OS Version: Windows 11 Pro / Home 24H2 Build 26100.4652
- PC Model: GMKtec Nucbox M7 Pro with HUION Kamvas Pro 19 / Lenovo IdeaPad C340-15IWL / HP All-in-One 22-c0xx