Skip to content

FancyZones resizing in certain directions breaks when attached to certain desktop areas #427

@ZerGo0

Description

@ZerGo0

Environment

Windows build number: Microsoft Windows [Version 10.0.18362.356]
PowerToys version: 0.10.0
PowerToy module for which you are reporting the bug (if applicable): FancyZones

Steps to reproduce

Drag a new zone either on the bottom right of your screen or above the taskbar and try to drag the zone either on the left or on top, you can make the zone bigger, but you can't decrease the size. I didn't test it with my taskbar on any other position (like taskbar on the left or at the top), but I'm assuming that it might break it as well. I'm not sure if it is related to the taskbar or the screen, either way, it seems like it is assuming that it can't resize it because it's the edge of the screen.

Expected behavior

Making the zone smaller as expected should work just fine.

Actual behavior

I'm not able to make the zone smaller, only bigger.

Screenshots

https://i.imgur.com/Q1eKh8R.gifv
https://i.imgur.com/ZeJPkxl.gifv

Metadata

Metadata

Assignees

Labels

FancyZones-EditorIssue revolving the FancyZone EditorIssue-BugSomething isn't workingProduct-FancyZonesRefers to the FancyZones PowerToy

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions