Skip to content

Keyboard Manager text shortcut pastes previous clipboard content on first press #47129

@akaraoglan

Description

@akaraoglan

Microsoft PowerToys version

Release version: v0.98.1

Installation method

Microsoft Store

Area(s) with issue?

Keyboard Manager

Steps to reproduce

  1. Open PowerToys Keyboard Manager
  2. Assign a shortcut (e.g. Win + 9) to a text string
  3. Copy any text to clipboard
  4. Press the assigned shortcut once
  5. Press it again

✔️ Expected Behavior

The assigned text should be pasted immediately on the first key press.

❌ Actual Behavior

First key press pastes the previous clipboard content.

Second key press pastes the assigned text correctly.

Upload Bug Report ZIP-file

No response

Additional Information

Reproducibility: Always (100%)

This appears to be a clipboard timing issue.
It seems the clipboard content is updated after the paste event is triggered, causing the first paste to use the previous clipboard data.

Other Software

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugSomething isn't workingNeeds-TriageFor issues raised to be triaged and prioritized by internal Microsoft teams

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions