Skip to content

Stop OBS Helper from appearing in the Dock on macOS - #560

Merged
Warchamp7 merged 1 commit into
obsproject:masterfrom
WizardCM:fix-macos-helper-dock
Nov 17, 2026
Merged

Warchamp7 merged 1 commit into
obsproject:masterfrom
WizardCM:fix-macos-helper-dock

Conversation

@WizardCM

@WizardCM WizardCM commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Description

This restores a number of fields in the generated Info.plist file on macOS that were removed in a recent code cleanup.

After extensive digging, LSUIElement can be applied without issue via the preferred CMake method. This field is required to stop "OBS Helper" from appearing in the macOS Dock alongside OBS itself.

However, it is unclear how LSEnvironment is supposed to be translated (if it can be at all), and neither LSFileQuarantineEnabled nor NSSupportsAutomaticGraphicsSwitching work correctly. I believe this is because they're considered "Custom macOS Application Target Properties" rather than "Info.plist Values" in Xcode's UI. If they are supplied via CMake, they instead appear under "User-Defined" and don't seem to function. For this reason, an Info.plist.in file is used instead.

image

All the above fields were in the previous Info.plist, and reflect the example/recommended fields specified in both the sample cef-project and cef-simple.

This change applies these values to all helpers.

Motivation and Context

How Has This Been Tested?

Launch OBS on macOS 26.6.

Open a YouTube Custom Browser Dock, which would previously open an OBS Helper item in the macOS Dock.

Additionally, checked manually that the fields are all correctly set in Xcode.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have read the contributing document.
  • My code has been run through clang-format.
  • My code follows the project's style guidelines
  • My code is not on the master branch.
  • My code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@WizardCM
WizardCM requested a review from PatTheMav November 2, 2026 09:33
@WizardCM WizardCM added kind/bug Categorizes issue or PR as related to a bug. platform/macos labels Nov 2, 2026
Comment thread cmake/os-macos.cmake Resolved
A follow-up to obsproject#532

Restores various missing Plist values.
@WizardCM
WizardCM force-pushed the fix-macos-helper-dock branch from 81a432e to c34300b Compare November 2, 2026 22:38
@Warchamp7 Warchamp7 moved this from Ready For Review to Ready For Merge in Current Release Tracker (33.0) Nov 17, 2026
@Warchamp7 Warchamp7 added this to the OBS Studio 33.0 milestone Nov 17, 2026
@Warchamp7
Warchamp7 merged commit a1667d4 into obsproject:master Nov 17, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from Ready For Merge to Merged in Current Release Tracker (33.0) Nov 17, 2026
@WizardCM
WizardCM deleted the fix-macos-helper-dock branch November 18, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Categorizes issue or PR as related to a bug. platform/macos

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

macOS 33.0.x: CEF helper processes appear in the Dock with blank icons (helper Info.plist lost LSUIElement)

3 participants