PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

FancyZones layout changes to Priority Grid after sleep in 0.47.1

Open jason-wisnieski opened this issue 4 years ago • 10 comments
trafficstars

Microsoft PowerToys version

0.47.1

Running as admin

  • [X] Yes

Area(s) with issue?

FancyZones

Steps to reproduce

This problem is intermittent. When the computer goes to sleep, sometimes upon waking, FancyZones has selected the "Priority Grid" setting instead of the Custom layout that was previously selected.

✔️ Expected Behavior

FancyZones uses the last selected layout on boot, after sleeping, and after any resolution change.

❌ Actual Behavior

FancyZones reverts to the "Priority Grid" layout.

The attached report is from the same session where FancyZones came up in an unexpected mode. However, it is after I changed it to the desired layout.

PowerToysReport_2021-10-13-15-05-46.zip

Other Software

No response

jason-wisnieski avatar Oct 13 '21 19:10 jason-wisnieski

cc: @SeraphimaZ

franky920920 avatar Oct 13 '21 23:10 franky920920

Same here - no change from 0.46.
Attached report was created directly after a wakeup from sleep. PowerToysReport_2021-10-16-14-53-33.zip

emil-backstrand avatar Oct 16 '21 12:10 emil-backstrand

Related to https://github.com/microsoft/PowerToys/issues/16370

SeraphimaZykova avatar Feb 28 '22 14:02 SeraphimaZykova

This seems to happen at random throughout the day, as well - even without locking PC or letting it go to sleep. When this happens, I have to turn off Fancy Zones and turn it back on

kmbear avatar Jun 29 '22 17:06 kmbear

I'm experiencing this, or something similar, using PowerToys v0.60.0 on Win10 Enterprise, Version 21H2, OS Build 19044.1766.

At first glance, in my case the issue appears to be that Fancy Zones is numbering the monitors differently than Windows - Settings - Display.

Monitor setup is a laptop (display #1 in Settings-Display) with single external monitor (display #2 in Settings-Display). Fancy Zones Layout is pretty basic:

  1. One fullscreen zone on laptop display
  2. 2 column zones on external monitor

This was working over the last day just fine, but this morning I noticed the monitors were reversed in the FZ layout, i.e. that the laptop display has 2 column zones and the external monitor has one full-screen.

UPDATE 1: Exiting and restarting PowerToys does NOT fix the issue. On restarting PT, FZ has remembered the layout correctly (#1 == 1 fullscreen, #2 == 2 columns), however when moving windows around with Win- results in columns on #1 (the laptop display) and fullscreen on #2 (external monitor). This is confusing...

UPDATE 2: Rebooting Windows, with the external monitor connected the whole time, didn't fix it. The only thing that fixes it for me so far is to change the FancyZones layout so that it's idea of #1 has 2 columns and #2 has 1 full-screen zone. I suspect that at somepoint this layout will appear broken again bc PT/FZ decides to reinterpret which monitor is which..

Not sure if this is relevant, but here's my FZ config: image image image

timblaktu avatar Jul 13 '22 18:07 timblaktu

The problem returned in full force with 0.60.1.

Due to shoddy hardware (external displays stay off on a SurfaceDock after system sleep and will come on once the Dock is powered off and on again to reset it) I have that multiple times a day now. The former fix (opening and closing the Zone editor is not working either; Fancy Zones has to be turned off and on again (or you have to assign different layouts, leave the zone editor and enter it again to select the former layout).

noseshimself avatar Jul 17 '22 11:07 noseshimself

It happened again to me this morning. (Pretty sure my laptop was just asleep, not powered off overnight) Then I upgraded to 0.60.1, but given your comment, I will expect it to keep happening.. BTW, turning FZ off/on does NOT work around the issue I have, which is that FZ has the wrong / different display mapping than Windows does. The only workaround I know of is to reboot every time.

timblaktu avatar Jul 21 '22 15:07 timblaktu

I'd like to take a look on /bugreport from all who experience this on 0.60.1. Thank you!

SeraphimaZykova avatar Aug 01 '22 10:08 SeraphimaZykova

Hi there!

We need a bit more information to really debug this issue. Can you add a "Report Bug" zip file here? You right click on our system tray icon and just go to report bug. Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks!
Report Bug

msftbot[bot] avatar Aug 01 '22 10:08 msftbot[bot]

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

msftbot[bot] avatar Aug 06 '22 14:08 msftbot[bot]

Running PowerToys v0.65.0 and the issue persists. Running as admin does not help.

sbarbieri avatar Dec 25 '22 10:12 sbarbieri

It's probably impossible to diagnose this bug without hardware as broken as the Surface Book (which is crashing on wake up all the time, too -- that display adapter combined with an external dock seems to be a nightmare to kiss awake)

noseshimself avatar Jan 01 '23 13:01 noseshimself

I also have a similar issue with my Lenovo Thunderbolt 4 Dock.

The FancyZones layout of all 3 monitors (laptop + 2x external monitors) moves to my 'Main Monitor'.

PowerToysReport_2023-01-05-19-41-26.zip

n4ngz avatar Jan 05 '23 08:01 n4ngz