microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
109.76k stars 6.46k forks source link

[FancyZones] Custom layouts keep swapping monitors #24282

Open manzanotti opened 1 year ago

manzanotti commented 1 year ago

Microsoft PowerToys version

0.67.1

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

FancyZones

Steps to reproduce

I have 2 4k monitors and a Surface Book 3 hooked up using a USB-C to DisplayPort hub. The monitors have individual display cables, there is no daisy-chaining of the signal.

I have a custom window layout for each monitor and the Surface Book screen, however the two layouts for the monitors occasionally swap monitors, so the left monitor layout is being applied to the right monitor, and vice versa.

I haven't found a reproducible step, but I think it was since I installed 0.67.0.

✔️ Expected Behavior

The left monitor custom layout to consistently apply to the left monitor, the right monitor custom layout to consistently apply to the right monitor.

❌ Actual Behavior

The left monitor custom layout suddenly starts being applied to the right monitor, the right monitor custom layout is applied to the left monitor.

PowerToysReport_2023-02-23-09-27-42.zip

Other Software

No response

manzanotti commented 1 year ago

Furthermore, I have two virtual desktops setup. From a fresh boot this morning, both desktops were incorrectly swapped. I have swapped the layouts back to the correct monitors for the first desktop.

I've just moved over to my other desktop (using ctrl-win-right arrow) and that desktop is still using the incorrectly swapped layouts, even though the first desktop is now correct.

DBezemer commented 1 year ago

Have the same issue here, one monitor is vertical and the other horizontal. It seems related to having swapped/re-assigned primary monitor in Windows settings.

tsautumn commented 1 year ago

Similar configuration here 2@ 4k, 1 landscape, 1 portrait. My layouts sometimes swap after a suspend/resume. No reboot needed.

I am using v0.70.1.

dsjstc commented 1 year ago

I have this issue with an asymmetric dual-head, it swaps them nearly every time my computer sleeps. After watching carefully, I believe it's because there's a bit of a lag after the first monitor wakes before the second one does. Both are HDMI fwiw.

KevinGlassDDL commented 8 months ago

Having this same issue with v0.76.2 on Windows 11. I have 3 identical Dell monitors connected via HDMI. When I reboot, or turn a couple off, then turn the monitors back on the zones will swap between monitors. Some apps, like Windows 11 Sticky Notes don't have this issue and will correctly return to it's position (set with Fancy Zones) once all monitors are turned on.