microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.68k stars 6.57k forks source link

keyboard manager steals completely CTRL after few hours of running #34714

Open ATAMANCZ opened 2 months ago

ATAMANCZ commented 2 months ago

Microsoft PowerToys version

0.84.0

Installation method

PowerToys auto-update

Running as admin

None

Area(s) with issue?

Keyboard Manager

Steps to reproduce

keys CTRL+ F8-F12 assigned as multimedia shortcuts (play, next, prev, volume). Then work few hours with PC.

✔️ Expected Behavior

not affected keys

❌ Actual Behavior

affected CTRL, after few hours no application responds to (left) CTRL. Only power-toys created shortcut still works.

Other Software

No response

l-33ter commented 2 months ago

I experience the same issue randomly: some days it happens up to five times, while other days it doesn't occur at all. To restore all shortcuts, I must terminate 'Keyboardmanager' in Task Manager and restart PowerToys, which resolves the problem.

herop commented 2 months ago

Same here: But whatever I do, it will reoccur after 30mins. 1) Machine starts with PT active 2) After 30mins tops left totally disappears and NONE of the trained shortcuts works at all: v would bring v and so on 3) Killing and restarting PT fixes this for 30 mins 4) Everything happens again, again and again

Are we the only 3 people on the planet? Even the most recent update from yesterday won't do anything. What is going on Microsoft?

cliv3dev commented 2 months ago

Happens daily now for me. Have to disable Keyboard Manager and enable it again to make the issue diseappear. But comes back after a few hours or half-hour... Behavior is as if I was pushing the CTRL key all the time. My assignement: CTRL+backspace to simulate a delete on a MacBook Pro i9 running Win10 and apple magic keyboard

l-33ter commented 2 months ago

Behavior is as if I was pushing the CTRL key all the time.

Absolutely! I also noticed that using my CTRL frequently back-to-back seems to be the culprit. But I'm still on the hunt for that magic moment when this occurs.

mozzak-net-dev commented 2 months ago

same

l-33ter commented 2 months ago

Right now, that 'bug' has popped up for me again, after almost 2 weeks without any issues. Additionally, I've noticed that if the bug occurs and I leave my keyboard untouched for about 3-5 minutes, everything returns to normal as if I had set it up in PT – quite amusing!

anetsuk commented 1 month ago

Me too. My environment is: Windows 10 22H2, and using via remote desktop from Windows 11 23H2 client. The trouble is occurring on Windows 10(remote PC) side. When this trouble occurred, turn off and turn on only Keyboard Manager, then is resolved(temporarily...)

If I remember correctly, this has been happening since Release v0.84.0. May be the following changes are relevant. (from release note:)

Keyboard Manager

  • Convert RemapBufferRow to a struct with descriptive field names. Thanks @masaru-iritani!
  • Fixed issue causing stuck Ctrl key when shortcuts contain AltGr key.
herop commented 5 days ago

I found a usable workaround: Uninstall any recent version of PT you have and install 0.83.0. That works for me on 2 machines now. Give it a shot.