You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
facade: shared/properties-view and shared/qt: move 9 platform conditionals into platform-named files #884
Qt UI workarounds: macOS window raise (QTBUG-42661), native dialog avoidance on Linux/non-Windows, macOS checkbox layout and modifier mapping. Frontend equivalents go through frontend/utility/platform.hpp; shared/ cannot depend on frontend, so add a small shared/qt/platform/qt-platform.hpp with qt-platform-{osx.mm,windows.cpp,x11.cpp}.
Class totals: (a) movable 9, (b) stays - public header 0, (c) Rust-ported 0. Total: 9. Line numbers on origin/master.
file:line
macro
branch
class
proposed function / target
shared/properties-view/properties-view.cpp:290
__APPLE__
checkbox WA_LayoutUsesWidgetRect
a
qt_platform::tweak_checkbox(QCheckBox*)
shared/properties-view/properties-view.cpp:1814
__APPLE__
raise window after dialog (QTBUG-42661)
a
qt_platform::raise_after_dialog(QWidget*)
shared/properties-view/properties-view.cpp:1881
__linux__
color dialog DontUseNativeDialog
a
qt_platform::color_dialog_options()
shared/properties-view/properties-view.cpp:1888
__APPLE__
raise window after dialog
a
raise_after_dialog
shared/properties-view/properties-view.cpp:1936
!_WIN32
font dialog DontUseNativeDialog
a
qt_platform::font_dialog_options()
shared/properties-view/properties-view.cpp:2292
__APPLE__
raise window after dialog
a
raise_after_dialog
shared/properties-view/properties-view.cpp:2319
__APPLE__
raise window after dialog
a
raise_after_dialog
shared/properties-view/properties-view.moc.hpp:14
_MSC_VER
pragma warning 4505
a
CMake /wd option
shared/qt/wrappers/qt-wrappers.cpp:116
__APPLE__
swap Control/Meta mapping for interact modifiers
a
qt_platform::translate_modifiers(...)
Classes: (a) movable behind per-platform files; (b) public-header ABI/export/type selection, stays; (c) already replaced by the Rust port (platform code isolated in src/platform/). Macro column abbreviates the #if expression; ! means negated, elif means an #elif line.
Test approach: Qt offscreen test for the facade (Linux Tier 2); macOS/Windows by native builds (ci-full). Behaviour unchanged.
Each move is one function per facade entry, mechanical, so upstream merges stay manageable; the ratchet baseline (step 1) drops by the moved count.
Characterize the existing shared Qt dialog/checkbox/modifier behavior, then commit RED boundary checks.
Move the nine host/compiler branches behind a shared Qt platform facade and a scoped compiler option, retaining behavior and reducing the ratchet baseline.
Run focused/offscreen checks plus native Windows/macOS/Linux builds, then use the normal merge queue. First draft PR expected within 30 minutes. One issue at a time in the existing checkout; no worktree.
The shared Qt facade now owns checkbox layout, post-dialog raising, color/font dialog options and modifier mapping, selected through Windows/macOS/POSIX unity groups. Existing behavior is retained, including Linux versus BSD color dialogs and macOS Control/Meta mapping. The MSVC 4505 option moved into the properties-view interface compiler options; the shared ratchet baseline drops by nine.
Evidence: RED 51ab5b3 characterized original behavior and exposed four boundary/build failures; GREEN 47025f8 passes all 93 focused checks (local real-Qt skip). Full native run 39532227178 passed all Windows/macOS/Linux app builds, native Rust/Tier 2 and Flatpak. Qt job 119002031939 compiled and ran the real offscreen test and passed all 19 existing Qt tests. Windows passed all 166 tests per backend. PR CI 39532233525 passed after one targeted retry of the separately tracked exact-two-second timing flake (#1598). First queue run's package-repository HTTP 403 cleared with a targeted fast-gate retry; after normal queue resubmission, final merge-group run 39536797614 passed completely.
No remaining work for #884. The independent pre-existing timing flake remains tracked in #1598. No public C headers, existing C tests or WebSocket sources/gitlink were changed.
Activity
zackees commentedon Oct 21, 2026
Claiming: #884.
zackees commentedon Oct 21, 2026
Completed in #1597 (merge db2534b).
The shared Qt facade now owns checkbox layout, post-dialog raising, color/font dialog options and modifier mapping, selected through Windows/macOS/POSIX unity groups. Existing behavior is retained, including Linux versus BSD color dialogs and macOS Control/Meta mapping. The MSVC 4505 option moved into the properties-view interface compiler options; the shared ratchet baseline drops by nine.
Evidence: RED 51ab5b3 characterized original behavior and exposed four boundary/build failures; GREEN 47025f8 passes all 93 focused checks (local real-Qt skip). Full native run 39532227178 passed all Windows/macOS/Linux app builds, native Rust/Tier 2 and Flatpak. Qt job 119002031939 compiled and ran the real offscreen test and passed all 19 existing Qt tests. Windows passed all 166 tests per backend. PR CI 39532233525 passed after one targeted retry of the separately tracked exact-two-second timing flake (#1598). First queue run's package-repository HTTP 403 cleared with a targeted fast-gate retry; after normal queue resubmission, final merge-group run 39536797614 passed completely.
No remaining work for #884. The independent pre-existing timing flake remains tracked in #1598. No public C headers, existing C tests or WebSocket sources/gitlink were changed.