Repository navigation
frontend: the tray icon through the platform facade (#873) - #2025
Merged
Merged
Conversation
Member
Author
|
Full run 40053223533: Windows x64/arm64, macOS arm64/x86_64, Ubuntu (OBS-Studio-Rust) and Flatpak all built successfully. |
zackees
marked this pull request as ready for review
October 24, 2026 02:32
This was referenced Oct 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #873 (OBSBasic_SysTray, OBSBasic_Recording)
Moves the five
__APPLE__tray conditionals behindfrontend/utility/platform.hpp:GetPlatformTrayIcon(TrayIconState)(Idle/Active/Paused)obs_macos.svg,tray_active_macos.svg,obs_paused_macos.svg, as masksobs.png,tray_active.png,obs_paused.pngPlatformTrayActivationTogglesWindow()SetPlatformDockIconVisible(bool)EnableOSXDockIconobs-tray,obs-tray-active,obs-tray-paused) stay in the widgets; the facade supplies only the fallback image.frontend-macos-arc-mm.pch.hppgains<QIcon>, so BUILD.md's full Windows/macOS run is required: dispatchedci.ymlrun https://github.com/obs-rust/obs-studio/actions/runs/40053223533.RED
test_tray_icon_goes_through_the_facadefails on master. GREEN it passes, and./lintis clean.EnableOSXDockIconis still called directly inOBSBasic_MainControls; that file is the next slice.