obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
59.07k stars 7.86k forks source link

[macOS]: When OBS is running, Caps Lock switches to last app, despite no hotkeys set in OBS #11312

Open jshier opened 4 days ago

jshier commented 4 days ago

Operating System Info

Other

Other OS

macOS 15

OBS Studio Version

30.2.3

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/tools/analyzer?log_url=https%3A%2F%2Fobsproject.com%2Flogs%2FU8Z7GOQepGqKcJdo

OBS Studio Crash Log URL

No response

Expected Behavior

With no hotkeys set, OBS has no effect on global shortcuts.

Current Behavior

When OBS is running, hitting Caps Lock triggers the OS' "switch to last app" action, and repeats the action ever couple seconds that the button is active. This means that, while playing a game, hitting Caps Lock will switch to the previous app, away from the game.

Disabling OBS's Accessibility permission fixes the issue.

Steps to Reproduce

No particular steps, simply running the app triggers the behavior for me.

Anything else we should know?

Occurred on macOS 14 as well. I've simply removed OBS' accessibility permission to fix it, though that's not a solution if I wanted to use any hotkeys.

jcm93 commented 4 days ago

On your system, have you set caps lock to trigger any action besides the system default?

In any case, this is likely solved by #11100 et. al. There is not currently an OBS beta, but you may wish to see if you can reproduce this behavior on a recent nightly, or a beta version when it exists.

jshier commented 1 day ago

Looks like I spoke too soon, even with accessibility access turned off, Caps Lock still switch to the previous app, but only when I'm streaming. I don't have any other Caps Lock shortcuts set up, and if I disable it altogether for this keyboard, the issue stops. If I could I'd disable it just for OBS, but it's all or nothing.

I'm happy to try a nightly, where can I download them? I don't see releases and a search for "obs nightly" didn't seem to turn up anything.