<h1 dir="auto">A keyboard shortcut to change the current fancyzones template to a next template in a list</h1>
<p dir="auto">Let's say I mostly use a two column configuration on my main desktop but I would like sometimes to have three columns or divide the desktop on four areas so I have three templates that I would like to use in the same desktop but in order to switch between them I have to go to the app settings and set the template.</p>
<p dir="auto">I would like to:<br>
1- Add the templates I create or use the default templates to a list that is assigned to the desktop<br>
2- When I press the keyboard shortcut key to change to the next template in the list the zones are displayed on top of the current windows and they are selected when I release the keys from the keyboard.</p>
<h2 dir="auto"><g-emoji class="g-emoji" alias="information_source" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2139.png">ℹ</g-emoji> Computer information</h2>
<ul dir="auto">
<li>PowerToys version: master (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/microsoft/PowerToys/commit/85c0eaa5980cabab16089fea3a2c6f148242a368/hovercard" href="https://github.com/microsoft/PowerToys/commit/85c0eaa5980cabab16089fea3a2c6f148242a368"><tt>85c0eaa</tt></a>)</li>
<li>PowerToy Utility: Settings/PT Run</li>
<li>Running PowerToys as Admin: No</li>
<li>Windows build number: [run "winver"] 2004</li>
</ul>
<h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Provide detailed reproduction steps (if any)</h2>
<ol dir="auto">
<li>Enable PT Run and disable it.</li>
<li>Check the general settings.json file</li>
</ol>
<h3 dir="auto"><g-emoji class="g-emoji" alias="heavy_check_mark" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2714.png">✔️</g-emoji> Expected result</h3>
<p dir="auto"><em>What is the expected result of the above steps?</em><br>
File gets updated immediately with "PowerToys Run":false.</p>
<h3 dir="auto"><g-emoji class="g-emoji" alias="x" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/274c.png">❌</g-emoji> Actual result</h3>
<p dir="auto"><em>What is the actual result of the above steps?</em><br>
File takes a few seconds to get updated.</p>
<p dir="auto">This bug seems to only occur for PT Run, and enabling works fine, its only disabling which has this delay. It seems like this happens because at the same time PowerLauncher.exe is loading, and it might be waiting for the load to complete for some reason. We should ideally ensure this update happens independently and isn't blocked by the update on PowerLauncher.<br>
The end-user effect is that if a user disable PT Run and closes PT within 5 seconds the setting will not persist and PT Run will still be enabled on re-launching PT.</p>