microsoft / microsoft/PowerToys
Grab-and-Move interferes with other Alt keyboard shortcuts even without mouse movement
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
### Microsoft PowerToys version
0.99.1
### Installation method
WinGet
### Area(s) with issue?
Grab And Move
### Steps to reproduce
(1) enable grab-and-move with default settings
(2) attempt to use Autohotkey keyboard shortcuts even with alt-binding
### ✔️ Expected Behavior
Autohotkey keyboard shortcut should still work if the user is not using mouse
### ❌ Actual Behavior
Autohotkey shortcut does not work unless hit twice in quick succession
### Upload Bug Report ZIP-file
_No response_
### Additional Information
I’m using latest Autohotkey 2 and Windows 11.
Since enabling grab-and-move, my alt-related AHK keyboard shortcuts stopped working consistently. I usually have to hit them twice quickly to trigger the action.
I realize G&M can be changed to winkey, but I don’t want to lose an entire set of modifier keyboard shortcuts just to have one modifier that is only needed when moving a window with the mouse.
Is there any way G&M can let alt pass through to other applications like AHK if it is not used in connection with the mouse?
Another partial workaround would be #47429 which at least would limit G&M’s interference to the lesser-used ALT key.
### Other Software
_No response_
Contributor guide
Research direction
Start with the Grab And Move area and reproduce the reported interaction using default settings, Windows 11, and the described AutoHotkey shortcuts. Trace how Alt is handled when no mouse movement occurs. Done means the shortcut works on the first attempt without disrupting Grab And Move when the mouse is used.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100