Skip to content

frontend: macOS dialog raise and native combo popup through the platform facade (#883) - #1980

Merged
zackees merged 2 commits into
masterfrom
infra/883-macos-dialogs
Oct 23, 2026
Merged

zackees merged 2 commits into
masterfrom
infra/883-macos-dialogs

Conversation

@zackees

@zackees zackees commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Refs #883 (step 4 of 5: 3 conditionals).

  • MissingFilesPathItemDelegate and RemuxEntryPathItemDelegate: the __APPLE__ container->window()->raise() after a file dialog (QTBUG-42661) becomes RaiseAfterFileDialog(container->window()).

  • OBSProxyStyle::styleHint: SH_ComboBox_UseNativePopup returns 1 only when UseNativeComboBoxPopup() is true.

  • platform-osx.mm.hpp raises and returns true. platform-windows and platform-x11 do nothing and return false. Behavior is unchanged on every host.

  • RED 93aa694: test_macos_dialog_and_style_quirks_go_through_the_facade. Locally: FAILED (failures=1).

  • GREEN e0d3b4b: test OK. Ratchet: the three files leave the baseline. ./lint: ok.

Tiers 1-4 don't apply. Not user-visible.

@zackees

zackees commented Oct 23, 2026

Copy link
Copy Markdown
Member Author

Coordinator: this conflicts with master after #1976/#1977 landed. The conflicts are in code (frontend/utility/platform*.hpp, platform-osx.mm.hpp, platform-windows.cpp.hpp, platform-x11.cpp.hpp, ci/platform-ifdef-baseline.json, ci/test_frontend_cmake_facade.py), so I'm leaving the rebase to you. Auto-merge is on, so it queues once it's rebased and green.

…cade (#883)

RED: the two path delegates and OBSProxyStyle still branch on __APPLE__.
…orm facade (#883)

RaiseAfterFileDialog() and UseNativeComboBoxPopup() (platform.hpp) replace
the __APPLE__ branches in the missing-files and remux path delegates and in
OBSProxyStyle. platform-osx raises the window and asks for the native popup
as before; Windows and X11 do neither. Three files leave the ratchet baseline.
@zackees
zackees force-pushed the infra/883-macos-dialogs branch from dbfb732 to e0d3b4b Compare October 23, 2026 21:43
@zackees
zackees added this pull request to the merge queue Oct 23, 2026
Merged via the queue into master with commit 8ae1a9a Oct 23, 2026
30 checks passed
@zackees
zackees deleted the infra/883-macos-dialogs branch October 26, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant