pyqtkeybind icon indicating copy to clipboard operation
pyqtkeybind copied to clipboard

Win key as modifier

Open delameter opened this issue 4 years ago • 4 comments

Can you possibly add a support for registering listeners for Win+Smth combos?

delameter avatar Apr 25 '20 19:04 delameter

@el-nprotect thanks for reporting this issue.

Which operating system are you on? Did you try registering the hotkey combination with Meta+Smth?

codito avatar May 03 '20 12:05 codito

Just tried it: keybinder.register_hotkey(window.winId(), "Meta+X", window.hotkeyEvent)

Nothing happens when pressing Win+X. OS is Win 7 x64.

delameter avatar May 03 '20 22:05 delameter

I'm on Ubuntu 20.04 and I noticed that some Meta+Something work, while others do not. I think it might be related to how OS intercepts those keystrokes.

For example, even if I setup a custom keyPressEvent in Qt to basically detect all keystrokes, and press Meta+D (not even talking about global hotkeys -- I'm talking about pressing that when the app is in focus so it should go directly to it), it doesn't get detected. But Meta+F, Meta+G, Meta+W and many others work.

mbdevpl avatar May 30 '21 11:05 mbdevpl

Is it possible to bind Meta+Ctrl?

dmtrrk avatar Aug 08 '23 02:08 dmtrrk