PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

FancyZones does not notice when taskbar auto-hide is disabled

Open brucek2 opened this issue 2 years ago • 1 comments

Microsoft PowerToys version

0.68.0

Installation method

PowerToys auto-update

Running as admin

No

Area(s) with issue?

FancyZones

Steps to reproduce

  1. Set the taskbar to auto-hide.
  2. Reboot so that as FancyZones starts, it records that the taskbar is hidden, meaning the available desktop space includes the taskbar zone.
  3. 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.
  4. Now disable taskbar auto-hide, so the taskbar is once again permanently occupying space on the bottom.
  5. 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

brucek2 avatar Mar 02 '23 18:03 brucek2

This issue is reproducible on Windows11 and not reproducible on Windows10.

SeraphimaZykova avatar Mar 03 '23 16:03 SeraphimaZykova

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.

gknapp avatar Jun 20 '23 10:06 gknapp