Open SeraphimaZykova opened 2 years ago
You closed #18907 as a duplicate but it doesn't seem correct (unless there is some other side effects in action). Issue #18907 is about the window being moved to the wrong monitor after a manual sleep of the PC. It has nothing to do with the number of app windows since none of the windows are in the correct zone.
@SeraphimaZykova, I tend to agree with @Nahor here. Without understanding greater context and implications of the original issue described here as #16659, the issue described under #18907 appears unrelated since it's more specific to a daily issue each morning after waking the laptop/PC from sleep.
This issue occurs even when you have a single app (and single window instance of an app) distinctly snapped to a particular zone on the monitor extension without any other apps sharing that same zone. I, too, opted for PowerToys/FancyZones because I was informed and read that this problem with awake from sleep does not exist like it does with other zone partition apps. Sadly, it does happen exactly the same way as with other apps. If I leave my laptop during the workday for a few hours and monitor goes into standby mode, the problem does not occur. It's only overnight when the laptop eventually goes to sleep when this happens. You can imagine the frustration of starting each workday having to face this recurring problem.
Please double check you have not dismissed the reported issue prematurely and unintentionally/incorrectly lumped it in under an unrelated issue. Thank you.
Hello Is a fix for this bug still in the works or is it not being fixed?
The "move newly opened windows to last known zone" option remembers only the last zone for each monitor.
Probably would be better to have a queue of possible zones (instead of one zone) for each app and if the highest priority zone doesn't contain an app window, place the window in that zone. If all zones contain the app, place all other windows in the zone with the highest priority. In case the app is unsnapped from the zone (manually moved outside the zone, including using keyboard shortcuts), the zone is removed from the history.
Example: if you snap explorer windows to zones 1, 2, 3, after you close and reopen them, the first will be automatically snapped to the 3rd zone, 2nd window to the 2nd zone, and the 3rd window to the 1st zone.
Originally posted by @SeraphimaZ in https://github.com/microsoft/PowerToys/issues/16328#issuecomment-1046839021