microsoft / microsoft/PowerToys

Advanced Paste can leave Shift stuck with Caps Lock → Ctrl remap

Open
#50,127 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug Needs-Triage Product-Advanced Paste
Dominant language
C
Stars
139k
Forks
8.6k
PR merge metrics
PR metrics pending

Description

Microsoft PowerToys version

0.100.2

Installation method

WinGet

Area(s) with issue?

Advanced Paste

Steps to reproduce

Advanced Paste sometimes leaves Shift stuck down after using Ctrl+Shift+V.

  • Windows 11
  • PowerToys Keyboard Manager: Caps Lock -> Ctrl
  • Advanced Paste enabled
  • I physically press Caps Lock + Shift + V, which becomes Ctrl + Shift + V to paste as plain text
✔️ Expected Behavior

All modifier keys should be released normally after Advanced Paste finishes.

❌ Actual Behavior

After pasting, Shift occasionally remains logically pressed even though no key is held.

For example:

  • Clicking a taskbar app opens another instance, as if Shift-clicking.
  • Clicking elsewhere in text selects everything from the current cursor position, as if Shift is held.
  • Pressing and releasing Caps Lock + Shift again fixes it (Shift alone does not work).
Upload Bug Report ZIP-file

No response

Additional Information

If I disable Advanced Paste but keep the same Caps Lock -> Ctrl remap, the problem disappears. So I think the issue may involve the interaction between Advanced Paste and Keyboard Manager modifier remapping.

Possibly related to #46874, #42471, #38028, and #43220.

Other Software

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reproducing the issue on Windows 11 with Advanced Paste enabled and the Caps Lock → Ctrl Keyboard Manager remap, then compare behavior with Advanced Paste disabled. Done means modifier state is released reliably after Ctrl+Shift+V without requiring another key combination.

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
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.