Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FancyZones] Reset to default layout due to different monitor IDs #16370

Open
1 task done
littlebigmedia opened this issue Feb 15, 2022 · 77 comments
Open
1 task done

[FancyZones] Reset to default layout due to different monitor IDs #16370

littlebigmedia opened this issue Feb 15, 2022 · 77 comments
Assignees
Labels
FancyZones-Layouts Issue for layouts in FancyZones Issue-Bug Something isn't working Priority-1 Bug that is high priority Product-FancyZones Refers to the FancyZones PowerToy

Comments

@littlebigmedia
Copy link

Microsoft PowerToys version

0.55.2

Running as admin

  • Yes

Area(s) with issue?

FancyZones

Steps to reproduce

  1. Select any fancy zone layout that is different than "Priority Grid" zone.
  2. Restart Windows
  3. Windows starts with "Priority Grid" selected instead of the one you chose.

✔️ Expected Behavior

I expect PowerToys to save the last Fancy Zone I have selected even after windows restart.

❌ Actual Behavior

Fancy Zones starts with "Power Grid" zone instead of the one I selected before the windows restart.

Other Software

No response

@littlebigmedia littlebigmedia added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Feb 15, 2022
@danielwuensche
Copy link

I sort of have the issue, but the root cause is not Powertoys in my case. In my case after some reboots the displays are registered as new devices, resetting all settings including audio devices in the process. I'm using a Thunderbolt dock. Do you have a similar setup?
I'm experiencing this behavior on two devices, with different graphics cards (and manufacturer) and different Powertoys versions (0.55.2 and 0.53.3), that's why I think Powertoys might not be the cause.

@littlebigmedia
Copy link
Author

I sort of have the issue, but the root cause is not Powertoys in my case. In my case after some reboots the displays are registered as new devices, resetting all settings including audio devices in the process. I'm using a Thunderbolt dock. Do you have a similar setup? I'm experiencing this behavior on two devices, with different graphics cards (and manufacturer) and different Powertoys versions (0.55.2 and 0.53.3), that's why I think Powertoys might not be the cause.

I have one monitor, a superultrawide. I haven't noticed whether it gets registered as a new device on start. I don't get a notification though, so I suppose it does not.

I didn't know that Powertoys saves the last zone used even after restart. So you're saying what I am asking is the expected behavior in Powertoys? It should save the last zone used on windows restart?

@danielwuensche
Copy link

I have one monitor, a superultrawide. I haven't noticed whether it gets registered as a new device on start. I don't get a notification though, so I suppose it does not.

Normally you don't get a notification whatsoever if the display is registered as a new device, usually you will only notice it via apps like FancyZones falling back to the default settings.

I didn't know that Powertoys saves the last zone used even after restart. So you're saying what I am asking is the expected behavior in Powertoys? It should save the last zone used on windows restart?

Yes, PowerToys remembers whatever was set.

Unfortunately I don't really know how to troubleshoot this further with one display.
I have three displays, two external and the laptop display. All three of them are using custom grid zones. After some reboots (not every reboot and not at regular intervals) one of them defaults to priority grid. And it's always the same display, on two different laptops. That's just some Thunderbolt wonkiness, interestingly I'm not experiencing that on linux.
What also differs between our setups: you're running PowerToys with elevated (Admin) permissions. On my private laptop, my account is an admin account, but PowerToys runs as User. On my work laptop, the user accounts doesn't have admin rights - I have a separate account for admin stuff (and PowerToys needs admin rights to install/update).

Long story short, my guess still is that PowerToys is not causing the issue, it's just a symptom. Sadly I can't come up with further troubleshooting steps to back it up, apart from the standard steps like checking event logs etc. . The behavior you're expecting is in fact the correct behavior of PowerToys though. I'd see having to reassign zones at every boot as unpractical, depending on how often you reboot.

@SeraphimaZykova
Copy link
Collaborator

A bug report could help us investigate the problem, please attach it in the comment.

/bugreport

@ghost ghost added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Feb 16, 2022
@ghost
Copy link

ghost commented Feb 16, 2022

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

@rmcauley
Copy link

rmcauley commented Feb 23, 2022

PowerToysReport_2022-02-23-14-35-12.zip

I have just experienced this problem after a reboot and this is my bug report zip. Opening PowerToys and then the layout editor does not solve the problem, nor does changing layouts. I need to turn FancyZones off and then on again.

@SeraphimaZykova SeraphimaZykova changed the title Fancy Zones Defaults to Priority Grid After Reboot [FancyZones] Different monitor names reset layout to default after reboot Feb 28, 2022
@rmcauley
Copy link

rmcauley commented Mar 4, 2022

Still happening in 0.56.1. Two debug zips attached, one after boot and the other after turning FancyZones on and off to fix the problem:

PowerToysReport_2022-03-04-10-18-49.zip
PowerToysReport_2022-03-04-10-19-01.zip

@ghost ghost added the Status-No recent activity no activity in the past 5 days when follow up's are needed label Mar 9, 2022
@ghost
Copy link

ghost commented Mar 9, 2022

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.

@SeraphimaZykova SeraphimaZykova removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Status-No recent activity no activity in the past 5 days when follow up's are needed labels Mar 9, 2022
@SeraphimaZykova SeraphimaZykova added this to To do in 0.57 Release via automation Mar 9, 2022
@SeraphimaZykova SeraphimaZykova added the Priority-1 Bug that is high priority label Mar 9, 2022
@L0rdrichi
Copy link

0.71.0 when Shift moving a window I see my layout but it won't snap to it, going into layout editor shows a different layout but there I can select my custom one then it works.
Issue seems to be only on my Windows 11 Machine haven't had it on my Windows 10 one.

@jb261
Copy link

jb261 commented Jul 15, 2023

0.71.0 when Shift moving a window I see my layout but it won't snap to it

Unless you have the option selected in Settings, holding shift allows you to move windows without snapping to zones. See image:

https://snipboard.io/hNSukH.jpg

@L0rdrichi
Copy link

I am aware, it works as it should once I load my layouts.
When I hold shift you see normally your zones which I do too but they don't work, only after going into layout selector selecting one will it work as it should.
So I have that Zones don't work at all until I select a layout

@Kingistador
Copy link

v0.72.0
I had no problems switching and saving layouts, but recently I swapped the motherboard in my computer to a similar one, I didn’t reinstall windows or power toys, I didn’t make any changes, but fancy zones now started resetting the layout to default after restarting power toys. Reinstalling power toys and clearing the program settings did not help, administrator rights also do not help.

PowerToysReport_2023-08-18-02-40-05.zip

@objecttothis
Copy link

v0.72.0
Changing layouts on one Virtual Desktop no longer affects other virtual desktops which is good, but startup from a cold boot still messes up layouts. I had multiple layouts get flipped between monitors on multiple virtual desktops.

The bug causing powertoys reports to not be generated on the desktop seems to be back so even though I get a notice telling me that the zip file has been created and placed on my desktop, it isn't there. I can't remember where the file was stored and don't have time to look for it.

@kingdomoflugnica
Copy link

ok, i've got a workaround for you guys who 'only' use fancyzones.

  1. set up fancyzones the way you like
  2. disable fancyzones
  3. disable powertoys at startup in settings
  4. create a task in task scheduler to start fancyzones at log on ("C:\Program Files\PowerToys\PowerToys.FancyZones.exe")
  5. you can set this task to run with highest privileges if you need it.

@GitHub-Mike
Copy link

Similar problems here. Fancy Zones 0.72.0 does not work after reboot. When key combination is used to activate, Default Template becomes active and only after deactivating / activating Fancy Zones it works as expected. This bug was not yet in version 0.68.0.

@Kingistador
Copy link

Ironically I reinstalled windows on the same day that v0.73.0 came out, so I don't know the exact reason - clean windows installation or new version, but fancyzones now remembers selected layout after reboot.

@ChristopherWalz
Copy link

I have the same problem with 2 monitors after rebooting. Attatched is my log.
PowerToysReport_2024-05-16-08-37-08.zip

@mo-rocks
Copy link

I have a dual monitor setup and use FZ heavily for swapping between active windows. I also need to leave my desk several times a day - it's not uncommon for me to find that FZ has switched the layouts between my monitors, which absolutely drives me nuts. Can this please get fixed? I'm having to reset my layouts several times per week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FancyZones-Layouts Issue for layouts in FancyZones Issue-Bug Something isn't working Priority-1 Bug that is high priority Product-FancyZones Refers to the FancyZones PowerToy
Projects
Status: To do
Status: No status
Status: No status
Development

No branches or pull requests