<h1 dir="auto">Environment</h1>
<p dir="auto">Microsoft Windows [Version 10.0.18363.592]<br>
PowerToys 0.17.0 (does not work) &amp; PowerToys any earlier version up to and including 0.16.1 (works)<br>
FancyZones module with a custom template that has zones overlapping each other (see below for example)</p>
<h1 dir="auto">Steps to reproduce</h1>
<ul dir="auto">
<li>create two zones that overlap each other by just a tiny amount, eg. a row of pixels (see example below after '# Additional Information')</li>
<li>Install PT v0.16.1</li>
<li>Observe how each zone can be addressed by moving the window with the mouse to each zone in turn. Dropping the window will scale it to the size of the zone. Everything is just as expected and the way it has worked since PTs inception.</li>
<li>Install PT v0.17.0</li>
<li>Observe<br>
a. overlapping zones are not displayed anymore, only the "topmost" ones<br>
b. dropping the window will scale it to the INVISIBLE zone BENEATH the one being highlighted<br>
Note that the zones addressed by moving the window with the mouse are not available as dropzones.<br>
Note that the zones the windows scales to are not shown/highlighted when moving the mouse over them.</li>
</ul>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Identical behavior to previous version of PowerToys.<br>
If that is - for some reason - not possible, then<br>
a. a check at startup/upgrade to inform user that the existing default zone will not work properly<br>
b. scaling the windows to the zone highlighted with the mouse, not the underlying, invisible zone.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">See '#  Steps to reproduce'<br>
Not all zones are highlighted. Windows do not scale to highlighted zone.<br>
Highlighted zone is not available to Window, instead invisible zone is used.</p>
<h1 dir="auto">Screenshots</h1>
<p dir="auto">Two videos, illustrating the problem are available here:<br>
PowerTools 0.16.1 FancyZones working great:<br>
<a href="https://1drv.ms/v/s!AhGCFYhCh0AWhWMm_tjWxsnbC4h5?e=w9RuCN" rel="nofollow">https://1drv.ms/v/s!AhGCFYhCh0AWhWMm_tjWxsnbC4h5?e=w9RuCN</a><br>
PowerTools 0.17.0 FancyZones not working as expected:<br>
<a href="https://1drv.ms/v/s!AhGCFYhCh0AWhWRxqmL2QaCaHOsm?e=yLCNgl" rel="nofollow">https://1drv.ms/v/s!AhGCFYhCh0AWhWRxqmL2QaCaHOsm?e=yLCNgl</a><br>
(Videos have been scaled down to a resolution of 1720x720)</p>
<h1 dir="auto">Additional Information</h1>
<p dir="auto">This is (part of the) $env:LocalAppData\Microsoft\PowerToys\FancyZones\zones-settings.json defining the zones:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;custom-zone-sets&quot;: [
    {
        &quot;uuid&quot;: &quot;{FF554258-8753-4D27-9080-A6A6EE91BD8D}&quot;,
        &quot;name&quot;: &quot;3440x1440&quot;,
        &quot;type&quot;: &quot;canvas&quot;,
        &quot;info&quot;: {
            &quot;ref-width&quot;: 3440,
            &quot;ref-height&quot;: 1410,
            &quot;zones&quot;: [
                {
                    &quot;X&quot;: 0,
                    &quot;Y&quot;: 1,
                    &quot;width&quot;: 873,
                    &quot;height&quot;: 470
                },
                {
                    &quot;X&quot;: 0,
                    &quot;Y&quot;: 470,
                    &quot;width&quot;: 873,
                    &quot;height&quot;: 470
                },
                {
                    &quot;X&quot;: 0,
                    &quot;Y&quot;: 940,
                    &quot;width&quot;: 873,
                    &quot;height&quot;: 469
                },
                {
                    &quot;X&quot;: 0,
                    &quot;Y&quot;: 0,
                    &quot;width&quot;: 872,
                    &quot;height&quot;: 705
                },
                {
                    &quot;X&quot;: 0,
                    &quot;Y&quot;: 705,
                    &quot;width&quot;: 872,
                    &quot;height&quot;: 705
                },
                {
                    &quot;X&quot;: 872,
                    &quot;Y&quot;: 1,
                    &quot;width&quot;: 1504,
                    &quot;height&quot;: 1408
                },
                {
                    &quot;X&quot;: 872,
                    &quot;Y&quot;: 0,
                    &quot;width&quot;: 1976,
                    &quot;height&quot;: 1410
                },
                {
                    &quot;X&quot;: 2376,
                    &quot;Y&quot;: 0,
                    &quot;width&quot;: 1064,
                    &quot;height&quot;: 754
                },
                {
                    &quot;X&quot;: 2375,
                    &quot;Y&quot;: 656,
                    &quot;width&quot;: 1064,
                    &quot;height&quot;: 754
                },
                {
                    &quot;X&quot;: 2375,
                    &quot;Y&quot;: 0,
                    &quot;width&quot;: 1065,
                    &quot;height&quot;: 1410
                }
            ]
        }
    }"><pre class="notranslate"><code class="notranslate">"custom-zone-sets": [
    {
        "uuid": "{FF554258-8753-4D27-9080-A6A6EE91BD8D}",
        "name": "3440x1440",
        "type": "canvas",
        "info": {
            "ref-width": 3440,
            "ref-height": 1410,
            "zones": [
                {
                    "X": 0,
                    "Y": 1,
                    "width": 873,
                    "height": 470
                },
                {
                    "X": 0,
                    "Y": 470,
                    "width": 873,
                    "height": 470
                },
                {
                    "X": 0,
                    "Y": 940,
                    "width": 873,
                    "height": 469
                },
                {
                    "X": 0,
                    "Y": 0,
                    "width": 872,
                    "height": 705
                },
                {
                    "X": 0,
                    "Y": 705,
                    "width": 872,
                    "height": 705
                },
                {
                    "X": 872,
                    "Y": 1,
                    "width": 1504,
                    "height": 1408
                },
                {
                    "X": 872,
                    "Y": 0,
                    "width": 1976,
                    "height": 1410
                },
                {
                    "X": 2376,
                    "Y": 0,
                    "width": 1064,
                    "height": 754
                },
                {
                    "X": 2375,
                    "Y": 656,
                    "width": 1064,
                    "height": 754
                },
                {
                    "X": 2375,
                    "Y": 0,
                    "width": 1065,
                    "height": 1410
                }
            ]
        }
    }
</code></pre></div>
<p dir="auto">First off thanks for the FancyZones addition, it's definitely needed. I noticed that when dragging a Window to a Zone it expands and snaps into place perfectly. However when I pull the Window out of the Zone it remains the same shape and size that it was when it was in the zone. It would be nice if it could go back to the original shape and size it had before it was snapped into a zone, Perhaps make it optional, I could see how people might prefer one way over the other.</p>