[FancyZones] Windows don't automatically resize anymore when switching layouts
ℹ Computer information
- PowerToys version: 0.27.1 and up
- PowerToy Utility: FancyZones
- Running PowerToys as Admin: Yes
- Windows build number: [run "winver"] Version 20H2 19042.685
- PC: Dell Latitude 5411 with Integrated Intel UHD graphics and Discrete NVIDIA GeForce MX250
📝 Provide detailed reproduction steps (if any)
Even though I have the setting enabled, the windows don't automatically resize anymore when switching layouts in 0.27.1. This is the most useful feature I use PowerToys for 😃.
- Switch to a layout, let's call it layout1, with 2 zones and have 1 window in each zone.
- Switch to another layout, let's call it layout2, with also the same 2 zones but different sizes.
✔️ Expected result
The layout is applied and the windows automatically resize to the new zones sizes.
❌ Actual result
The layout is applied, however, the windows are not automatically resized even though I have that setting enabled (During zone layout changes, windows assigned to a zone will match new size/positions)).
📷 Screenshots
Layout1 with 2 zones (currently moving a window to show the zones):

Layout2 with same 2 zones with different size (currently moving a window to show the new layout is applied correctly, but the windows didn't resize automatically):

@enricogior Thanks for fixing the issue with the disabled laptop monitor problem with 0.27.0. Here is the new bug for the issue I mentioned that doesn't resize the windows with 0.27.1.
Thanks!
@iesmat I cannot reproduce it, can you please post a screenshot of your FancyZones settings? The layout is column layout? A priority layout? Something else? Does it happen with any applications?
Hi @enricogior,
Below is a screenshot of my settings. My layouts are of type grid:
"custom-zone-sets": [
{
"uuid": "<some_UUID>",
"name": "Work focus",
"type": "grid",
"info": {
"rows": 1,
"columns": 2,
"rows-percentage": [
10000
],
"columns-percentage": [
3246,
6754
],
"cell-child-map": [
[
0,
1
]
]
}
},
{
"uuid": "<some_UUID>",
"name": "Work focus split",
"type": "grid",
"info": {
"rows": 2,
"columns": 2,
"rows-percentage": [
5000,
5000
],
"columns-percentage": [
3247,
6753
],
"cell-child-map": [
[
0,
1
],
[
2,
1
]
]
}
},
{
"uuid": "<some_UUID>",
"name": "Meeting focus",
"type": "grid",
"info": {
"rows": 1,
"columns": 2,
"rows-percentage": [
10000
],
"columns-percentage": [
4482,
5518
],
"cell-child-map": [
[
0,
1
]
]
}
}
]

@iesmat I applied the same settings but still it doesn't reproduce.
@enricogior This is a constant repro for me. Want me to collect any logs? I tried restarting, closing and opening PowerToys, toggling the options off and on, killing explorer.exe and starting it again. Nothing worked. 0.25.0 worked for me with no problems whatsoever.
@iesmat in 0.27 we didn't make any explicit change to this feature. Since we never had issues with this, we don't have any debug log for it. We would need to create a private build with dedicated log.
Does it depend on hardware like the other disabled monitor bug that was fixed? This is a really easy repro for me and happens all the time. I tried to do a fresh install of PowerToys by removing the old settings in AppData and it still didn't work.
0.25 works without any problems (though right after installing, I have to toggle FancyZones off and on).
@iesmat do you have the laptop built-in display off, right? If you turn it on does it still happen?
yep, built-in display off. Still happens when I turn it on.
@iesmat can you zip and upload
%localappdata%\Microsoft\PowerToys\FancyZones\zones-settings.json
I need the whole file, not just the custom zones definitions.
@enricogior Here is my zones-settings. zones-settings.zip
@enricogior Did you manage to find out anything?
@iesmat there is nothing wrong in your settings, so this must be a bug in the code for that particular configuration, I need to do more debugging.
@enricogior Sounds good. Let me know if you need anything else. I'm using 0.25 in the meantime.
@enricogior This still repros for me on my Work laptop with 0.29.3. Surprisingly though, it doesn't repro on my personal laptop and it's using the same external monitor (not at the same time) with 0.29.3.
I have the same problem using either 0.27.1 or 0.29.3 on desktop machine with:
- Single wide monitor (3440x1440 - Samsung C34H89x).
- Dedicated graphic card (AMD Fire Pro 2270 - latest driver 15.201.2401.1010 from 2017-01-30).
- Windows 10 20.04
I have tried to delete all settings and start from fresh. Didn't help. It doesn't work with both predefined or custom layouts. I have tried to check/uncheck all related settings. I will try 0.25 version.
EDIT: It works flawlessly with 0.25 version for both predefined and custom layouts. Thanks @iesmat for the tip.
I also have this issue with 0.31.1
@enricogior Same here. Still repros for me with 0.31.1.
this is something we're looking at in 0.33 (this month)
@iesmat please update to 0.31.2. Does it still repro with 0.31.2?