Skip to content

Release 0.9.1 - #10

Merged
simoz merged 4 commits into
masterfrom
test/qml-load-guards
Nov 28, 2026
Merged

simoz merged 4 commits into
masterfrom
test/qml-load-guards

Conversation

@simoz

@simoz simoz commented Nov 28, 2026

Copy link
Copy Markdown
Owner

Patch release for Qt 6.12 (Omarchy 4.5). Fixes #8 and includes the two commits from #9.

  • qmldir declares every QML component, so Radar and its children resolve again under qs://.
  • Palette references read Commons.Color, which QtQuick 6.12's own Color type cannot shadow.
  • tests/qml.test.cjs guards both, since neither qmllint nor omarchy plugin validate catches them.
  • manifest.json and CHANGELOG.md bumped to 0.9.1.

Verification

  • ./tests/run with the managed runtime: 50 JavaScript and 75 Python tests pass; omarchy plugin validate . passes.
  • Live on Qt 6.12.0 after omarchy-restart-shell: no Vessel warnings (0.9.0 logged Type Radar unavailable); the panel opens and draws the radar in theme colors.

🤖 Generated with Claude Code

salmun-nister and others added 4 commits November 12, 2026 22:54
Qt 6.12 treats an existing qmldir as the definitive type namespace for the
directory. With only the VesselService singleton declared, Radar.qml could no
longer resolve OfflineMap, DetailMap, RadarLabels or ShipModel, so the whole
widget failed to load:

  Widget.qml:453: Type Radar unavailable
  Radar.qml:194: RadarLabels is not a type

List every component file, matching how qs.Commons declares its singletons and
types.
Qt 6.12 registers a C++ Color type (QQuickColor) from QtQuick, which shadows
the qs.Commons Color singleton for unqualified references. Every Color.accent,
Color.muted and Color.foreground binding therefore resolved to undefined:

  Widget.qml:239: Unable to assign [undefined] to QColor

Import qs.Commons as Commons and qualify the palette references, as the shell's
own surfaces already do. Also point the theme-change Connections at
Commons.Color so it keeps its accentChanged/backgroundChanged handlers.
The Qt 6.12 failures fixed in the previous two commits passed qmllint and
`omarchy plugin validate`. Check both in tests/run instead: every QML
component must be declared in qmldir, since the shell loads plugins
through qs:// URLs where undeclared siblings do not resolve, and no QML
file may use an unqualified Color, which QtQuick 6.12 now shadows.

Drop the redundant `import "."` from Radar.qml: the qmldir entries alone
resolve its children. Document both rules and add the changelog entry,
including the shell restart that the qmldir change needs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Patch release for Qt 6.12: the widget loads again and keeps its theme colors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@simoz
simoz merged commit 6801cda into master Nov 28, 2026
3 checks passed
@simoz
simoz deleted the test/qml-load-guards branch November 28, 2026 13:07
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.

Widget never loads on Qt 6.12: sibling components unresolvable and Color singleton shadowed

2 participants