PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

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

Open jeske opened this issue 1 year ago • 2 comments

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"..

  • Activate the smallest zone by area
  • Activate the largest zone by area
  • Split the overlapped area into multiple activation targets
  • Activate the zone whose center is closest to the cursor

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.

jeske avatar Jun 27 '24 11:06 jeske

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.

github-actions[bot] avatar Jun 27 '24 11:06 github-actions[bot]

dup #7523

jeske avatar Jun 27 '24 11:06 jeske