Skip to content

MacBook M1 hotkey issues - not working when not in focus and erratically when in focus. #4126

@verstaerker-583

Description

@verstaerker-583

Platform

Operating system and version: macOS Big Sur 11 - MacBook Pro (13", M1, 2020)
OBS Studio version: 26.1.2

Expected Behavior

Hotkeys should work as expected/ defined, both with OBS in and out focus.

Current Behavior

Hotkeys do not work when OBS is not in focus. And when in focus, after about 5-10 keypresses, my scene collection reacts as OBS would receive multiple additional keypresses - Resetting security & privacy settings and also adding OBS manually did not help.

Restarting OBS "fixes" the erratic behavior for about 5-10 keypresses, it does not help with keypresses while OBS in not in focus.

I am not using modifier keys in my configurations.

Hammerspoon running in parallel is reacting to hotkeys as expected.

Exactly the same configuration (scene collection, profile, global.ini and Hammerspoon running in parallel) ist just working fine on Intel Macs I have access to: MacBook Air (2017), MacBook Pro (2019) and MacPro (2019).

On the same M1 MacBook hotkeys still worked as expected with OBS Studio 26.0.2 moved to it from an Intel MacBook by the Apple Migration Assistant - even without touching security & privacy settings. For Hammerspoon to work on the new MacBook, it was necessary to remove its keyboard access from the security & privacy settings first.

Please find the scene collection here: https://github.com/verstaerker-583/obs/blob/master/var/ss.json

Deleting TCC databases did not help:
rm "~/Library/Application Support/com.apple.TCC/TCC.db"; sudo rm "/Library/Application Support/com.apple.TCC/TCC.db"

This did not help either:
HotkeyFocusType=DisableHotkeysOutOfFocus

Steps to Reproduce

Start OBS, check hotkeys with obs in and out focus.

Additional information

hotkeys not working when not in focus on M1 macs seems to be reported often, additional erratic function is seen less often
https://obsproject.com/forum/threads/big-sur-hotkey-issues.136859
https://obsproject.com/forum/threads/hot-key-issues.134837
https://obsproject.com/forum/threads/hotkeys-not-working-big-sur-m1-mini.135118
https://obsproject.com/forum/threads/hotkeys-only-work-if-obs-is-the-focused-app.134913
https://obsproject.com/forum/threads/hotkeys-stopped-working-with-an-update-of-obs.115164

Metadata

Metadata

Assignees

No one assigned

    Labels

    macOSAffects macOS

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions