microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.29k stars 6.5k forks source link

[KBM] missing shortcuts if executed fast one after another #10065

Open Combinacijus opened 3 years ago

Combinacijus commented 3 years ago

ā„¹ Computer information

šŸ“ Provide detailed reproduction steps (if any)

  1. Remap shortcut Win (Left) + Ctrl (Left) + A --> Left (Arrow key)
  2. Remap shortcut Win (Left) + Ctrl (Left) + D --> Right (Arrow key)
  3. Open any text editor with some random text
  4. Hold Ctrl + Win through the next steps
  5. Slowly press A then D repeatedly cursor should move left then right
  6. Press A then D as fast as possible repeatedly. Now instead of moving cursor letters A and D are typed randomly

āœ”ļø Expected result

Moving cursor left and right In general case executed remapped shortcut

āŒ Actual result

Typing A and D characters In general case remapped shortcuts not working if executed quickly one after another

āŒ Problem

After more testing the problem seems to be not the fast execution of shortcuts

The problem is that both A and D characters are pressed at the same time for a brief moment that in turn executes Win + Ctrl + A shortcut and types letter D.

Expected behavior could be seen by using copy and paste shortcuts by holding Ctrl and pressing C and V almost at the same time, letters are not typed and both shortcuts are executed

joakin commented 3 years ago

I remap Ctrl+A to Home and Ctrl+E to End, and I noticed this same behavior with 0.33.1.