Skip to content

[BUG] Can't click menu bar after program start #2678

@gxalpha

Description

@gxalpha

Platform

Operating system and version: macOS Catalina 10.15.4
OBS Studio version: OBS 25.0.4-6-g2a318d91

Expected Behavior

After starting OBS, I should be able to click on the menu bar items, like "File", "Edit", "Tools" etc. to access those menus.

Current Behavior

After starting OBS, clicking on the menu bar items on left side (the buttons of the program plus the Apple-Logo) does nothing. They don't turn blue and they don't open up a menu. The buttons on the right side of the menu bar (like clock, wifi, time machine and the username) still work.
To get the buttons working, you need to first focus another program, either by clicking on it or by selecting it via cmd-tab. After this, when you focus OBS again, everything works as intended.
Log file: log.txt

Steps to Reproduce

  1. Install a fresh clone of OBS:
    git clone --recursive https://github.com/obsproject/obs-studio.git
  2. Build OBS
    brew install FFmpeg x264 Qt5 cmake mbedtls swig
    mkdir build
    cd build
    export QTDIR=/usr/local/opt/qt
    cmake .. && make -j
  3. Start OBS
    cd rundir/RelWithDebInfo/bin
    ./obs
  4. Try clicking the menu bar.

Additional information

I figured this out during development of a plugin, but it happens even after fresh-cloning and building OBS so I doubt that the plugin has something to do with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConfirmedThis bug report has been confirmed by project membersmacOSAffects macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions