FancyZones does not notice when taskbar auto-hide is disabled
Microsoft PowerToys version
0.68.0
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
FancyZones
Steps to reproduce
- Set the taskbar to auto-hide.
- Reboot so that as FancyZones starts, it records that the taskbar is hidden, meaning the available desktop space includes the taskbar zone.
- Notice that when shift-dragging windows into a zone bordering the bottom of the screen, they snap all the way to the bottom including the taskbar zone.
- Now disable taskbar auto-hide, so the taskbar is once again permanently occupying space on the bottom.
- Shift drag a window into a zone.
✔️ Expected Behavior
The shift-dragged window should fill only the currently available space, which does not include the taskbar.
❌ Actual Behavior
The shift-dragged window snaps to the originally available space, including the portion now occupied by the taskbar, so that the window bottom including the resize corners are now out of reach behind the taskbar.
This issue can be resolved by restarting windows, which apparently causes FancyZones to realize the taskbar is no longer auto-hiding and needs to be accounted for.
Other Software
No response
This issue is reproducible on Windows11 and not reproducible on Windows10.
I can reproduce this issue on Windows 10 with my taskbar set to autohide. PowerToys v0.70.1
Drag applications into zones. When disabling autohide the behaviour is as expected and the zones adjust to the top of the taskbar.
When autohide is enabled, the bottom row of zones adjust their height to meet the display perimeter. The taskbar will then overlap application windows when it slides into view.