PTT gets stuck when combined with modifiers #522

Open
opened 2026-02-20 19:28:13 -05:00 by deekerman · 4 comments
Owner

Originally created by @9001 on GitHub (May 17, 2015).

I use CapsLock as my PTT key. As long as CTRL is held down when CapsLock is released, the PTT will not deactivate. For instance, hold CTRL while tapping CapsLock. PTT is enabled and stays active. When fullscreen games are focused, the bug only appears occasionally.

Windows 7 x64, Mumble 1.2.8 stable.

Originally created by @9001 on GitHub (May 17, 2015). I use CapsLock as my PTT key. As long as CTRL is held down when CapsLock is released, the PTT will not deactivate. For instance, hold CTRL while tapping CapsLock. PTT is enabled and stays active. When fullscreen games are focused, the bug only appears occasionally. Windows 7 x64, Mumble 1.2.8 stable.
Author
Owner

@mkrautz commented on GitHub (May 20, 2015):

This is probably either because of the nature of the capslock key being a toggle.

Or because of a bad interaction with the toggle when using DirectInput + hooks.

One thing to try before digging into the code would be to disable winhooks in GlobalShortcut_win by adding the following to your registry:

To HKEY_CURRENT_USER\Software\Mumble\Mumble
Add a string value "winhooks", and set its value to "false".

If running with that does work, then it is a bad interaction between the two code paths. If not, it is probably simply because of the nature of the toggle button...

@mkrautz commented on GitHub (May 20, 2015): This is probably either because of the nature of the capslock key being a toggle. Or because of a bad interaction with the toggle when using DirectInput + hooks. One thing to try before digging into the code would be to disable winhooks in GlobalShortcut_win by adding the following to your registry: To HKEY_CURRENT_USER\Software\Mumble\Mumble Add a string value "winhooks", and set its value to "false". If running with that does work, then it is a bad interaction between the two code paths. If not, it is probably simply because of the nature of the toggle button...
Author
Owner

@mkrautz commented on GitHub (May 20, 2015):

I also think the title of this issue is wrong. I'm pretty sure the issue is just capslock, and not a combination of capslock + modifier. Can you confirm?

@mkrautz commented on GitHub (May 20, 2015): I also think the title of this issue is wrong. I'm pretty sure the issue is just capslock, and not a combination of capslock + modifier. Can you confirm?
Author
Owner

@9001 commented on GitHub (May 20, 2015):

No, the title is correct - as long as no modifiers are pressed at the same time, then CapsLock acts like any other PTT key. It only happens when it is combined with CTRL, and maybe other modifiers (haven't tested extensively yet). Everything works as expected when the WASD and Space key is used in combination with CapsLock, for instance.

@9001 commented on GitHub (May 20, 2015): No, the title is correct - as long as no modifiers are pressed at the same time, then CapsLock acts like any other PTT key. It only happens when it is combined with CTRL, and maybe other modifiers (haven't tested extensively yet). Everything works as expected when the WASD and Space key is used in combination with CapsLock, for instance.
Author
Owner

@mkrautz commented on GitHub (May 20, 2015):

Interesting! We've had reports about caps lock before, but never made the connection to modifiers. Maybe that's the key to the solution. 👍

@mkrautz commented on GitHub (May 20, 2015): Interesting! We've had reports about caps lock before, but never made the connection to modifiers. Maybe that's the key to the solution. :+1:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mumble-mumble-voip#522
No description provided.