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: windows not matching new zone size on layout change after restart. #13052

Closed
1 task done
matt-cahill opened this issue Sep 5, 2021 · 14 comments
Closed
1 task done
Assignees
Labels
FancyZones-Layouts Issue for layouts in FancyZones Issue-Bug Something isn't working Product-FancyZones Refers to the FancyZones PowerToy

Comments

@matt-cahill
Copy link

Microsoft PowerToys version

0.45.0

Running as admin

  • Yes

Area(s) with issue?

FancyZones, FancyZones Editor

Steps to reproduce

  1. Set PowerToys to run at startup (issue occurs in both admin mode and user mode).
  2. Turn on FancyZones hold shift to activate zones while dragging option.
  3. Turn on when zone layout changes windows assigned to a zone will match new size option.
  4. Create 2 custom FancyZones layouts.
  5. Assign a quick switch number to each of the custom layouts.
  6. Restart the machine.
  7. Once booted do not interact with the PowerToys UI in any way.
  8. Open a window and assign it to a zone with Shift+Drag.
  9. Switch zone layouts using quick switch shortcut e.g. CTRL+WIN+ALT+number.

✔️ Expected Behavior

The window should resize to match the new layout when the zone layout is changed after a restart via quick layout shortcut keys.

❌ Actual Behavior

The window does not change size to match layout changes.

Window size matching can be restored by opening up the PowerToys settings window and clicking on the FancyZones tab in the side bar.

If the window set up in the steps to reproduce does not match the current size of the zone it is assigned to when you click on the FancyZones tab it will suddenly resize to match as the functionality is restored. After this zone resizing works as expected until the next reboot.

Other Software

No response

@matt-cahill matt-cahill added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Sep 5, 2021
@matt-cahill
Copy link
Author

System OS details

Edition	Windows 10 Pro
Version	21H1
Installed on	‎23/‎08/‎2020
OS build	19043.1165
Experience	Windows Feature Experience Pack 120.2212.3530.0

@franky920920
Copy link
Contributor

Seems like #12813 or #12291 to me.

@matt-cahill
Copy link
Author

Possibly related in the back end i don't know, but this problem is specifically regarding the resizing of windows when changing zone layouts so it is distinct from both of the issues you link to.

@matt-cahill
Copy link
Author

This issue follows on from #10939 which resolved general functionality of this feature in v0.45.0 but in my testing the feature only activates after the FancyZones Settings UI is activated manually.

@SeraphimaZykova
Copy link
Collaborator

@matt-cahill thank you for reporting. I'll need a few details here since I can't reproduce it locally with described repro steps. Please, attach a bug report, it could make things more clear. Also, does it happen with some specific apps or with any?

image

@SeraphimaZykova SeraphimaZykova added FancyZones-Layouts Issue for layouts in FancyZones Needs-Repro We can't figure out how to make this happen. Please help find a simplified repro. Product-FancyZones Refers to the FancyZones PowerToy 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 Sep 6, 2021
@matt-cahill
Copy link
Author

Hi @SeraphimaZ here's the bug report you requested. I've verified the issue on two separate machines, the bug report is from the machine I have just freshly installed PowerToys on which has the following OS version.

It seems to be any window, I've tried with all my usual apps, specifically Chrome, Windows File Explorer even the PowerToys settings window itself is affected.

I can demonstrate the steps to reproduce and the issue occurring in a screen capture if that would help?

Edition	Windows 10 Home
Version	20H2
Installed on	‎25/‎10/‎2020
OS build	19042.1165
Experience	Windows Feature Experience Pack 120.2212.3530.0

PowerToysReport_2021-09-07-08-33-00.zip

@matt-cahill
Copy link
Author

matt-cahill commented Sep 7, 2021

Here's a screen cap if it helps https://youtu.be/2PVLTo3wNIs

It seems it actually snaps the windows to a completely different layout than either of the quick layouts attached to the hotkeys when I click on the FancyZones tab the first time after the restart.

@SeraphimaZykova SeraphimaZykova self-assigned this Sep 7, 2021
@SeraphimaZykova SeraphimaZykova removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Needs-Repro We can't figure out how to make this happen. Please help find a simplified repro. labels Sep 7, 2021
@SeraphimaZykova
Copy link
Collaborator

Hi @matt-cahill, thank you for a quick and detailed reply! It's very helpful.

@SeraphimaZykova SeraphimaZykova added the Status-In progress This issue or work-item is under development label Sep 8, 2021
@crutkas
Copy link
Member

crutkas commented Nov 19, 2021

@SeraphimaZ you marked this in progress, should i put this in 0.53?

@SeraphimaZykova
Copy link
Collaborator

@SeraphimaZ you marked this in progress, should i put this in 0.53?

Yes, please.

@SeraphimaZykova SeraphimaZykova removed the Status-In progress This issue or work-item is under development label Dec 9, 2021
@crutkas crutkas added Status-In progress This issue or work-item is under development and removed Status-In progress This issue or work-item is under development labels Dec 22, 2021
@SeraphimaZykova
Copy link
Collaborator

New PowerToys release v0.56. will be out soon. Could you check if the issue is still there when you update to v0.56 and if yes, post the new bug report here?

Thanks in advance!

@franky920920
Copy link
Contributor

Release 0.56.1 is released, please head to https://aka.ms/installpowertoys to try it out! /needinfo

@ghost ghost added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Feb 28, 2022
@matt-cahill
Copy link
Author

This is functioning as expected in 0.56.1. Thanks for the fix! :)

@ghost ghost added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Mar 1, 2022
@SeraphimaZykova
Copy link
Collaborator

Nice to hear! Closing the issue.

@SeraphimaZykova SeraphimaZykova removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up labels Mar 1, 2022
This issue was closed.
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 Product-FancyZones Refers to the FancyZones PowerToy
Projects
None yet
Development

No branches or pull requests

4 participants