PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Keyboard Manger key remap doesn't correctly apply to the Windows + V clipboard shortcut.

Open FatCat1978 opened this issue 3 years ago • 8 comments

Microsoft PowerToys version

0.64.1

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

Keyboard Manager

Steps to reproduce

I have Left Control and Caps lock rebound using the Keyboard Manager Remap setting. this works as intended when opening the windows + V clipboard menu with zero issues. when selecting an object to paste, whether via enter or clicking via the mouse, it doesn't paste - instead opting to: toggle capslock, and simply put the character V. Running as administrator makes no difference.

This to me suggests that windows isn't respecting the keyboard manager remapping, but I'm not familiar enough with either the program or it's codebase to make a more estimated guess than that.

for Context, I have a Unicomp terminal keyboard, which doesn't abide by typical keycode layouts, hence me swapping ctrl and capslock.

✔️ Expected Behavior

Using the windows + v clipboard menu should abide by the remapped keys.

❌ Actual Behavior

it ignores it, resulting in an odd combo if your keyboard uses non standard key mapping.

Other Software

No response

FatCat1978 avatar Nov 09 '22 14:11 FatCat1978

Also seeing this issue. Have to delete the V and toggle Caps Lock each time before pasting from the clipboard

Hxs123 avatar Nov 29 '22 19:11 Hxs123

/needs-info can you give steps to reproduce this issue? ex:

step one: I want to bind action to this key step: two: I remapped this key to this key step three: I then hit these keys step four: These are the results

etc.

embender avatar Aug 25 '23 18:08 embender

/needsinfo

crutkas avatar Aug 25 '23 18:08 crutkas

/needinfo

crutkas avatar Aug 25 '23 18:08 crutkas

@crutkas here's the information you requested. hopefully this is sufficient

Step one. Rebind Caps-lock to control, and control to Caps-lock via the keyboard manager.

Step two. attempt to copy paste something via control-C, and paste via the windows shortcut win+V.

The result will be the (presumably original) capslock key being "pressed", resulting in caps-lock toggling on/off from it's previous state, and V being pressed, usually resulting in a Capital V.

Configuration used: image

This still happens as of Version 0.72.0

FatCat1978 avatar Aug 25 '23 19:08 FatCat1978

I've been troubled by this issue for a long time. I decided to give up using PowerToys for remapping Caps Lock and Ctrl and opted to directly modify the registry to avoid the problem. You can refer to the following link for guidance: https://gist.github.com/joshschmelzle/5e88dabc71014d7427ff01bca3fed33d.

LmioF avatar Dec 02 '23 20:12 LmioF

Temporary solution: Use SharpKeys instead.

LifeJustDLC avatar Apr 13 '24 22:04 LifeJustDLC

Still occurs as of v0.81.0

FatCat1978 avatar May 21 '24 20:05 FatCat1978