microsoft / microsoft/PowerToys
CTRL-C to copy text remains 'active' causing Quick Accent to trigger if arrow key is pressed next
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
### Microsoft PowerToys version
0.98.1
### Installation method
PowerToys auto-update
### Area(s) with issue?
Quick Accent
### Steps to reproduce
My shortcut trigger is set to left/right.
If I highlight some text and then press CTRL-C to copy it, if my next key press is the left or right arrow, the accent bar comes up. Even if I wait a few seconds with no keys being pressed, if I click left or right the bar comes up. It's like it got "stuck" on the letter c after copying.
It does this in multiple apps and contexts.
### ✔️ Expected Behavior
Definitely no accent bar simply because I copied some text and then pressed an arrow with no other keys being pressed.
### ❌ Actual Behavior
Accent bar pops up with trigger key even when no other key was pressed for many seconds.
### 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 the Quick Accent entry point and reproduce the issue with left/right as the trigger: copy highlighted text with Ctrl-C, wait, then press an arrow key. Trace how the trigger state is retained after copying; done means the accent bar does not open unless the configured shortcut is actually pressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100