New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keyboard Manager: failed to map keys #21877
Comments
Hello and thanks for your message. can you share a screenshot of your settings please? |
|
@mrbagpipe Can't reproduce that problem, it works fine on my computer.
@gnatseira Again: Working well on my end. Is there anything (any app) that could interfere with (hot)keys? |
@Jay-o-Way I did a small recording of the issue. Is there any logs I can share? It seems to be random. Sometimes it works for a while after rebooting |
me too |
@Jay-o-Way Hi, I found the reason for this issue. When I open WeChat of Tencent Inc., the mapping function fails. I guess that the two softwares blocked other mappings to make its own shortcut keys work. I would appreciate it if you would take the time to fix it. Thanks. |
Yeah, me too. Do not open wechat use no problem, once open wechat will be stuck for a while, and then all the key mapping is invalid, hope the author can fix this problem. |
I don't use WeChat but I still experience this issue on a daily basis. I just haven't identified which program is colliding with this keyboard mapping. Once this happens, I usually restart PowerToys and things go back to normal for a little while |
There seems to be a lot of conflicting programs. Once I use wechat, it will be invalid. And even restarting the software won't work unless you restart the entire system. |
The same problem, hoping to repair as soon as possible |
is there any log for keyboard mapping changed, or any notify can be hooked to check ? |
I don't know how to catch logs for keyboard mapping on Windows. But you can try, it can reproduce the result every time by opening WeChat. |
电脑睡眠之后重新登录电脑,映射就又生效了,但只要一打开微信小程序,就又会失效 |
Win+L 锁定后解锁,或者 Ctrl+Alt+Del 然后再取消就好了😂,可恶的微信~ |
just encountered this problem. Anyone knows the cause? |
对的对的,打开小程序也不行,我是测试发现微信中点击一个网页链接,通【微信内置的浏览器窗口】打开后就会造成 PowerToys 的快捷键映射失效!微信设置中改为用操作系统自带的浏览器打开就没有问题。 |
It seems that, wechat also did something like PowerToys/src/modules/keyboardmanager/KeyboardManagerEditor/KeyboardManagerEditor.cpp Line 148 in 5e7d5d1
PowerToys/src/modules/keyboardmanager/KeyboardManagerEditor/KeyboardManagerEditor.cpp Line 223 in 5e7d5d1
If so, it's wechat's fault, it's dosen't make sense to try to fix this at powertoys' side. |
当打开微信的时候,F22按键被按下并没有释放,因此键盘管理器失效,通过软件释放F22之后键盘管理器映射就可以重新使用。请问有快捷释放按键的方法么? |
弟兄们,建议直接转战AutoHotkey:作为一款强大的自动化工具,AutoHotkey可以创建脚本以实现复杂的键盘映射和宏定义,并且它通常不会受到相同级别的冲突影响,因为它是通过独立运行的脚本来管理键盘输入的。 |
ahk 似乎优先度没有原本的 win 快捷键高,比如说按下 win+s 的时候必然会先触发搜索,然后再触发 ahk 中的宏。而keyboard manager可以让原本的功能失效。另外我不是很想去改注册表修改这些快捷键,一旦经过什么修复就总是被还原然后又要去搜半天怎么改,太痛苦了 |
Microsoft PowerToys version
0.64.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Keyboard Manager
Steps to reproduce
I use the Keyboard Manager to map Ctrl to Alt so that I can use Alt + c/v to copy/paste.
In summary, I try to use Alt for shortcuts in many applications.
But it sometimes fails to map Crtl to Alt. When I pressed Alt, it had no response.
I don't know how to reproduce this bug. It happened occassionaly in recent versions.
Even I restart powertoys as admin, it still doesn't work. I have to quit the app, then launch it again to make it work.
You can try the same setting in your powertoys. I believe you can find it easily.
✔️ Expected Behavior
For example, when I press Alt and T, it should open a new tab in Chrome.
Also, Alt + C can copy some texts.
❌ Actual Behavior
It doesn't open a new tab, but open the setting of chrome (i.e., the button next to avatar).
Alt + C cannot copy any text.
Other Software
Chrome 107.0.5304.88.
The text was updated successfully, but these errors were encountered: