Skip to content

Fix shell palette collision with Qt 6.12 - #14553

Merged
dhh merged 1 commit into
quattrofrom
qualify-shell-palette
Oct 8, 2026
Merged

dhh merged 1 commit into
quattrofrom
qualify-shell-palette

Conversation

@dhh

@dhh dhh commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Qt 6.12 introduces a QtQuick Color type that shadows Omarchy's unqualified palette singleton. After rebuilding Quickshell against Qt 6.12, this leaves shell colors undefined and breaks the desktop presentation.

Import qs.Commons as Commons and qualify palette references as Commons.Color throughout the shell and graphical test fixtures. Update the affected source assertions and document the same requirement for third-party plugins, whose QML import scopes also need the explicit namespace. Existing imports remain available for Style, Util, and Border.

Validation: Claude reviewed the change; the stale assertions and fixture/documentation references found during review and testing were corrected. Focused bar, palette, passwordless indicator, border geometry/stability, button stability, and elsewhen pointer tests pass. Verified the running bar and Defaults menu on Qt 6.12. The full shell suite was also attempted; it has remaining sandbox, missing companion-checkout, display, and unrelated failures, so it is not reported as passing.

@greptile-apps

greptile-apps Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Medium risk] Qualifies palette references across shell and plugin QML.

The PR appears safe to merge; no actionable defects were found.

What we checked:

  • Palette imports are present: Every shell QML file that reads Commons.Color imports qs.Commons as Commons. The changed fixtures also include that import.

Summary

Qualifies shell palette references as Commons.Color to avoid the QtQuick name collision described for Qt 6.12.

  • Updates shared controls, plugins, theme reload calls, and graphical fixtures.
  • Keeps existing imports for Style, Util, and Border.
  • Updates source assertions and explains the required change for third-party plugins.
  • No actionable issues found. Runtime tests were not run during this review.

Reviews (1) · Last reviewed commit: "Qualify shell palette references for Qt ..." · Reviewed by Greptile

@dhh
dhh merged commit b83d3df into quattro Oct 8, 2026
1 check passed
@dhh
dhh deleted the qualify-shell-palette branch October 8, 2026 08:27
omarchybot added a commit to tcballard/omarchy that referenced this pull request Oct 8, 2026
quattro qualified palette references as Commons.Color for Qt 6.12 (omacom#14553), on the same lines this branch moves to the popup text colour. Resolve them as Commons.Color.popups.text, qualify every reference this branch adds, and update the regression test to match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
omarchybot added a commit to sanjyay/omarchy that referenced this pull request Oct 8, 2026
Resolves the conflict with omacom#14553, which qualified palette references as Commons.Color for Qt 6.12: the popup foreground, hover and selected fills and the band pill border now read Commons.Color like the rest of the file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
omarchybot added a commit to ryantm/omarchy that referenced this pull request Oct 8, 2026
Resolve the conflict with omacom#14553 by keeping the new iconForeground property and qualifying its fallback as Commons.Color, as quattro now requires for Qt 6.12.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pillumz added a commit to Pillumz/omamail that referenced this pull request Oct 8, 2026
QtQuick 6.12 introduces a built-in Color type that shadows the unqualified
Color singleton from qs.Commons. Unqualified references such as
`Color.foreground` then resolve to the wrong type and read as undefined, so
the plugin and the standalone host lose their theme palette.

Import qs.Commons under the Commons alias and reference Commons.Color across
the ui/ plugin, the app/ standalone host, their vendored qs modules, and the
QML tests; keep Style/Border/Util unqualified. The one bare object reference
(`target: Color` in app/qml/Main.qml) is qualified too. Update the
source-pattern test to expect the qualified accent reference.

This mirrors the upstream Omarchy fix (omacom/omarchy#14553, b83d3df0) and
behaves identically on Qt 6.11.

Provenance: authored by DeepSeek V4.1 Flash (pi herd worker).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants