Repository: PowerToys
Issue: FancyZones When multiple zones overlap
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

Current options are limited as described in the next section. I am not sure what the best solution would be.

### Scenario when this would be used?

Imagine two zones located at the center of the monitor.
Zone 1) 1/3 high * 1/3 wide
Zone 2) 1/2 high * 1/2 wide

These zones overlap. Centers are exactly the same.

Current options available are:
- Smallest zone - can't choose larger zone
- Largest zone - can't choose smaller zone
- Split the overlapped area - haven't tried. Would probably work for this simple case but doubt it would work with many other zones overlapping (see next section).
- Closest center - Centers are the same!

My current solution is to use the closest center option and adjust the zones a bit so that one of the centers is higher than the other. Easy, but what if they are both full height (1 high * 1/3 wide and 1 high * 1/2 wide)? Now I need to adjust them horizontally too.

Maybe there could be a setting to cycle through the different overlapping zones (e.g., middle mouse click)?

### Supporting information

If you want to know why I have so many overlapping zones, I have pasted my monitor zones below.
I have the following settings:
- Hold Shift key to activate zones while dragging > Enabled
- Use a non-primary mouse button to toggle zone activation > Enabled
- When multiple zones overlap > Activate the zone whose center is the closest to the cursor

I could define less zones and use multi zone spanning to achieve almost the same result but it would impact the speed at which I can use FancyZones.

    {
      "uuid": "{728B2C47-2096-44D4-9E3A-A316C3E1202B}",
      "name": "Custom layout 1",
      "type": "canvas",
      "info": {
        "ref-width": 2560,
        "ref-height": 1359,
        "zones": [
          {
            "X": 0,
            "Y": 0,
            "width": 2133,
            "height": 1359
          },
          {
            "X": 2133,
            "Y": 0,
            "width": 427,
            "height": 1359
          },
          {
            "X": 0,
            "Y": 0,
            "width": 427,
            "height": 1359
          },
          {
            "X": 427,
            "Y": 0,
            "width": 2133,
            "height": 1359
          },
          {
            "X": 0,
            "Y": 0,
            "width": 1991,
            "height": 1359
          },
          {
            "X": 1991,
            "Y": 0,
            "width": 569,
            "height": 1359
          },
          {
            "X": 0,
            "Y": 0,
            "width": 569,
            "height": 1359
          },
          {
            "X": 569,
            "Y": 0,
            "width": 1991,
            "height": 1359
          },
          {
            "X": 0,
            "Y": 0,
            "width": 1849,
            "height": 1359
          },
          {
            "X": 1849,
            "Y": 0,
            "width": 711,
            "height": 1359
          },
          {
            "X": 0,
            "Y": 0,
            "width": 711,
            "height": 1359
          },
          {
            "X": 711,
            "Y": 0,
            "width": 1849,
            "height": 1359
          },
          {
            "X": 0,
            "Y": 0,
            "width": 1707,
            "height": 1359
          },
          {
            "X": 1707,
            "Y": 0,
            "width": 853,
            "height": 1359
          },
          {
            "X": 0,
            "Y": 0,
            "width": 853,
            "height": 1359
          },
          {
            "X": 853,
            "Y": 0,
            "width": 1707,
            "height": 1359
          },
          {
            "X": 0,
            "Y": 0,
            "width": 1564,
            "height": 1359
          },
          {
            "X": 1564,
            "Y": 0,
            "width": 996,
            "height": 1359
          },
          {
            "X": 0,
            "Y": 0,
            "width": 996,
            "height": 1359
          },
          {
            "X": 996,
            "Y": 0,
            "width": 1564,
            "height": 1359
          },
          {
            "X": 0,
            "Y": 0,
            "width": 1422,
            "height": 1359
          },
          {
            "X": 1422,
            "Y": 0,
            "width": 1138,
            "height": 1359
          },
          {
            "X": 0,
            "Y": 0,
            "width": 1138,
            "height": 1359
          },
          {
            "X": 1138,
            "Y": 0,
            "width": 1422,
            "height": 1359
          },
          {
            "X": 0,
            "Y": 0,
            "width": 1280,
            "height": 1359
          },
          {
            "X": 1280,
            "Y": 0,
            "width": 1280,
            "height": 1359
          },
          {
            "X": 0,
            "Y": 0,
            "width": 853,
            "height": 1359
          },
          {
            "X": 853,
            "Y": 100,
            "width": 854,
            "height": 1259
          },
          {
            "X": 1707,
            "Y": 0,
            "width": 853,
            "height": 1359
          },
          {
            "X": 0,
            "Y": 0,
            "width": 640,
            "height": 1359
          },
          {
            "X": 640,
            "Y": 0,
            "width": 1280,
            "height": 1359
          },
          {
            "X": 1920,
            "Y": 0,
            "width": 640,
            "height": 1359
          },
          {
            "X": 0,
            "Y": 0,
            "width": 1920,
            "height": 1359
          },
          {
            "X": 640,
            "Y": 0,
            "width": 1920,
            "height": 1359
          },
          {
            "X": 0,
            "Y": 0,
            "width": 2560,
            "height": 100
          },
          {
            "X": 0,
            "Y": 680,
            "width": 2560,
            "height": 679
          },
          {
            "X": 512,
            "Y": 64,
            "width": 1536,
            "height": 1152
          },
          {
            "X": 630,
            "Y": 152,
            "width": 1300,
            "height": 975
          }
        ],
        "sensitivity-radius": 20
      }
    },