microsoft / microsoft/PowerToys
Pressing the Ctrl and Alt keys simultaneously causes subsequent actions to behave as if the Ctrl key is being held down.
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
### Microsoft PowerToys version
v0.100.2
### Installation method
WinGet
### Area(s) with issue?
Keyboard Manager
### Steps to reproduce
In Keyboard Manager, I have remapped Left Ctrl to Left Win and Left Win to Left Ctrl.
When using Chrome, pressing Left Ctrl + Alt + 4 simultaneously consistently causes an issue: subsequent mouse scrolling zooms the screen in and out, behaving exactly as if the Ctrl key is being held down.
### ✔️ Expected Behavior
After pressing and releasing Left Ctrl + Alt, the system should operate normally, just as it did before the key press.
### ❌ Actual Behavior
After pressing and releasing Left Ctrl + Alt, the system behaves as if the Ctrl key is still being held down. Pressing Left Ctrl once releases this state and restores normal operation.
### Upload Bug Report ZIP-file
_No response_
### Additional Information
_No response_
### Other Software
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in Keyboard Manager by reproducing the Left Ctrl/Left Win remapping with Left Ctrl + Alt + 4 in Chrome. Trace how modifier key-down and key-up events are handled after the combination, then verify that scrolling no longer zooms and that pressing Left Ctrl is not required to restore normal behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100