Mouse 4 and Mouse 5 hotkeys not working on Linux
Operating System Info
Other
Other OS
EndeavourOS
OBS Studio Version
31.0.3
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/5eyC5DTOwZgn9xNv
OBS Studio Crash Log URL
No response
Expected Behavior
Add mouse 4 or mouse 5 as a hotkey for an action, such as push to talk. When I press mouse 4 or mouse 5, that action is activated.
Current Behavior
When using mouse 4 or mouse 5 as a hotkey, they don't work. Notably, I tried to use them as a hotkey for push to talk, and the push to talk doesn't activate every time I press it, and when it does activate, it only activates for a fraction of a second. When using as other hotkey actions it doesn't appear to work at all. Mouse 3 or other mouse buttons work fine, as well as all keyboard buttons.
https://github.com/user-attachments/assets/cee9df2b-1aae-4371-9d41-b08ab6ff5695
In the video I've set my middle mouse (mouse 3) and one side mouse button (mouse 4) to be able to toggle one of the window inputs. When the OBS window pops up in the top left, I'm using mouse 3, but as you see my mouse jiggle a little, I'm hitting mouse 4 and nothing is happening.
Steps to Reproduce
- Add mouse 4 or mouse 5 as a hotkey to any action.
- Attempt to use.
- Watch as it doesn't work.
Anything else we should know?
Issue #8517 is basically the same issue, but it's marked as closed and the real issue is with using those mouse buttons as hotkeys in general, not just with push-to-talk. There seems to be no response to my request to re-open, so I'm making a new issue. Also related is issue #4843.
This bug becomes an issue on obs-studio 27.0.0, but works perfectly on obs-studio 26.1.2. Flatpack build has the issue as well.
Sounds like #11130.
Works on my machine, and you are using your mouse over exactly the ui element that doesnt work as mentioned in the issue you link where this was fixed. I dont know anyone interested in investigating mouse issues with Qt on linux, but sure we could rename this to "mouse events on certain ui elements dont work" if you want.
Sounds like #11130.
No it doesn't. It's an issue regardless of window focus. And that issue is talking about not working when out of focus, but this is clearly not working even when in focus... Also, that's a one heck of a response they had to that issue...
Works on my machine, and you are using your mouse over exactly the ui element that doesnt work as mentioned in the issue you link where this was fixed. I dont know anyone interested in investigating mouse issues with Qt on linux, but sure we could rename this to "mouse events on certain ui elements dont work" if you want.
I'm not sure what UI element you are talking about. This is an issue regardless of window focus or UI element hover and it has nothing to do with UI or window focus. What is "your machine" btw? And what version of OBS? It works fine on my machine if I use obs 26.1.2 as I stated in the issue, but breaks on version 27.0.0.
See this video for demonstration of not being related to window focus: https://github.com/user-attachments/assets/58487262-4fb2-4650-8bef-e16adaf10f26
Also, make sure to check out #4843 as this has some interesting info in there. Notably egrain said:
Updated to 29.0.2-2 on arch, and now push to talk on mouse4 and 5 buttons stopped working. Worked fine for me in 28... though.