Repository navigation
facade: isolate shared Qt platform workarounds - #1597
Merged
Merged
Conversation
zackees
marked this pull request as ready for review
October 21, 2026 02:51
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Oct 21, 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.
Summary
Fixes #884. Move nine shared host/compiler conditionals behind a shared Qt facade, preserving behavior. No Rust port or user-visible feature change.
RED → GREEN
RED 51ab5b3: original checkbox/dialog/modifier behavior passes Windows/macOS/Linux/BSD characterization; four boundary/build checks fail (missing facade and shared branches).
GREEN 47025f8: five operations in shared/qt/platform/qt-platform.hpp, implemented by per-host unity groups selected in the existing qt-wrappers interface target. Existing shared wrappers forward modifier mapping; properties-view invokes checkbox, color/font options and post-dialog raising at the same call sites. macOS retains Control/Meta swapping and QTBUG-42661 raising; only Linux avoids native color dialogs, BSD preserves its original defaults; all non-Windows hosts avoid native font dialogs.
The MSVC 4505 suppression moves from the moc header to the properties-view interface compiler option, replacing the header pragma that already affected its consuming translation units. No other warning suppression changes. The ratchet baseline drops by nine.
Validation
No public C header, existing C test, new workflow or WebSocket gitlink is changed. Tier 1/2/3 Rust port requirements do not apply to this C++ facade refactor; native app and existing test coverage run in full validation. No protocol change requiring Tier 4.
CI timing flake
PR Windows Tier 2 first failed the unchanged output-delay reconnect test's exact two-second lower bound; its immediate cdb replay passed all five cases. Tracked separately in #1598. The independent full run on the exact same GREEN passed all 166 Windows tests in both C and Rust modes (output-delay: 9.57 s OFF, 9.56 s ON; job 119005697387). The complete full run passed, including all native app builds, Qt, Tier 2 and Flatpak. The single failed Windows PR job was retried after the initial workflow completed and passed; complete PR CI is green; no whole-workflow rerun or source change was made to retry.
The full Qt job 119002031939 log confirms the real offscreen executable compiled and ran, and all 19 existing Qt-linked tests passed.
Queue infrastructure retry
Merge-group run 39535345032 fast gate failed before code checks because packages.microsoft.com/ubuntu/26.04/prod returned HTTP 403 to apt-get update (job 119010700574). The Qt lane passed. After that run completed, only the failed fast-gate job was retried; no source changes, whole-workflow retry or admin bypass.
The targeted fast-gate retry and all dependent native checks succeeded in 39535345032. GitHub had automatically ejected the original queue entry after the 403. Resubmitted through the normal merge queue; new merge-group run 39536797614 is active.