microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
108.19k stars 6.39k forks source link

[Setting] "When multiple zones overlap" -> Activate the zone closest to dragged window center #33527

Open jeske opened 1 month ago

jeske commented 1 month ago

Description of the new feature / enhancement

Please add a new option to the FancyZones "When multiple zones overlap" pulldown "Activate the zone closest to the dragged window center"..

Scenario when this would be used?

dragging windows onto fanzyzones configs with overlapping zones

Supporting information

Currently the following choices are available for FancyZones ambiguating a zone drop target "When multiple zones overlap"..

I've used FanzyZones for over 6 years, using the only existing option that makes sense for my setup "Activate the zone whose center is closest to the cursor" and it's just never felt right. On my 3-monitor setup, my top monitor zone config has two "left and right" tall portrait zones that nearly touch, and one "almost the whole monitor" zone that spans over them. This zone config makes the smallest/largest zone options useless, because the drop target between the overlap is too tiny, so I can't disambiguate between them.

The weird feel of using the mouse-cursor occurs because I can't just drop a window onto the zones by looking at the WINDOW i'm dragging, it matters where I grabbed the window. If I grab the window titlebar on the left side, then I have to drag the window way off to the right of my target, if I grab the window on the right side I have to drag it way off to the left of my target..

I just realized that this whole acwkward feeling would be gone if I could just drop on the overlapping zone that was closest to the dragged WINDOW CENTER.. Then fanzyzones would disambiguate in the way that looks and feels right, based on the window I'm dragging, instead of this weird method of using my mouse cursor location, which once I'm dragging a window is kind of irrelevant, because the window itself effectively becomes my cursor.

Thanks for considering.

github-actions[bot] commented 1 month ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

jeske commented 1 month ago

dup #7523