<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Microsoft Windows [Version 10.0.18363.815]
PowerToys version: 0.17.0
PowerToy module for which you are reporting the bug (if applicable): Fancy Zones"><pre class="notranslate"><code class="notranslate">Microsoft Windows [Version 10.0.18363.815]
PowerToys version: 0.17.0
PowerToy module for which you are reporting the bug (if applicable): Fancy Zones
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">I have a multi-monitor setup with my secondary display above my primary in the upper right. I have setup 3 fancy zones on the primary display, and 2 zones on the secondary display. (See screen shots)</p>
<p dir="auto">I have PT Fancy zones configured to require the shift-key to be pressed to drag a window into a zone.</p>
<p dir="auto">I have PT set to run as Administrator.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">When I shift-drag a window into a fancy zone, it should show the drop-target overlay,  expand the dropped window to fill that zone, and then hide the drop-target overlay.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">Sometimes when shift-dragging a window into a fancy zone, the overlay that shows the drop zones gets stuck and won't go away. It looks as if the overlay is stuck in a loop recalculating/repainting. The CPU cycles spike and I am locked out. Nothing is accessible because the overlay is over the top of all apps, nothing can be brought to the foreground, and I can't even kill the PT app. CNTRL-ALT-DEL will bring up the system menu with the ability to Sign Out or Switch Users, which sometimes works. Other times it just causes the machine to act hung up with a black screen and I have to use a hard-power reset.</p>
<p dir="auto">This seems to happen more often after a wake from sleep and/or after PT has been running for an extended period of time. (Hours). But it's possible I just haven't noticed the exact sequence of steps to cause it to happen.</p>
<h1 dir="auto">Screenshots</h1>
<p dir="auto">I have included a screenshot of the issue (taken with my phone, since the PC was locked up), and a short video clip showing how the fancy zone overlay keeps being repainted/repositioned.</p>
<p dir="auto"><a href="https://1drv.ms/u/s!Ak5dcA119y9Gk_VaF9pm2BdPPRVpKA?e=KdZot8" rel="nofollow">Fancy Zone Issue - Screen Shots and video</a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16259907/81716703-eaffd100-9436-11ea-97c9-9d2d156390fc.png"><img src="https://user-images.githubusercontent.com/16259907/81716703-eaffd100-9436-11ea-97c9-9d2d156390fc.png" alt="Multi-Monitor setup - Annotation 2020-05-12 093852" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16259907/81716708-ed622b00-9436-11ea-904f-e7ccf280ad10.jpg"><img src="https://user-images.githubusercontent.com/16259907/81716708-ed622b00-9436-11ea-904f-e7ccf280ad10.jpg" alt="PowerToys - Fancy Zones - fail on shift-drag to zone" style="max-width: 100%;"></a></p>
<h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">Currently, you can remap a single key to a single key, or a two-button shortcut to a two-button shortcut; the proposed feature would let you mix and match these two. For example, F6, F7, and F8 could be bound to Ctrl-X, Ctrl+C, and Ctrl+V respectively. Alternatively, Ctrl+Num6 (or any other combination of your choosing) could press the default F6, allowing you to bind the key to a shortcut by default without losing it's default functionality.</p>

<h1 dir="auto">Proposed technical implementation details (optional)</h1>
<p dir="auto">Instead of having two separate menus within the keyboard manager (as is now), use a single menu that contains all variants of the remapping functionality. When selecting the user input, if only one key is pressed it knows to activate on that one key, but if two are pressed it looks for that combination before activating; the same is true for outputs.</p>