omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

try-omarchy image: `try-omarchy-runtime` is in no configured repo, so the Qt 6.12 shell fix from #14553 can never be delivered

Open SammieLJ opened this issue 1 month ago • 2 comments

Title

try-omarchy image: try-omarchy-runtime is in no configured repo, so the Qt 6.12 shell fix from #14553 can never be delivered

Summary

The Qt 6.12 QtQuick/Color singleton collision is already fixed upstream by #14553 (shipped in Omarchy 4.0.5), but the try-omarchy ISO image ships the shell as try-omarchy-runtime 4.0.3-7, and that package does not exist in any repository configured on the image. omarchy update therefore cannot deliver the fix, so users of the image are left with a completely non-functional shell — blank bar, menus that never appear, black lock screen — and the only remedy is hand-patching root-owned files under /usr/share/omarchy/shell.

This report is about the packaging gap, not about the Color collision itself.

Environment

  • Install/channel: try-omarchy ISO image (the ephemeral evaluation VM)
  • omarchy package: try-omarchy-runtime 4.0.3-7 (the only package providing /usr/share/omarchy/shell/Commons/Color.qml)
  • qt6-base 6.12.0-3, qt6-wayland 6.12.0-1, quickshell 0.3.2-1
  • hyprland 0.56.2-4
  • OS: Arch Linux, x86_64, running as a Hyper-V guest
  • Configured repositories: [core] [extra] [multilib] [omarchy] — note there is no [try-omarchy] section, though a stale /var/lib/pacman/sync/try-omarchy.db remains on disk from image build time
  • Third-party shell plugins in use: omadock, io.github.sirjul1337.lock-explorer, io.github.twiking.omasettings, stappmus.activity-monitor, mateus.omaplug

Reproduction

  1. Boot the try-omarchy image (or any install whose shell comes from try-omarchy-runtime 4.0.3-7), with Qt 6.12 installed.
  2. Log in — the shell starts, omarchy-shell shell ping returns ok.
  3. Observe the bar, the SUPER+SPACE menu, tooltips, the lock screen and the polkit agent.

Expected Behavior

The shell renders with theme colors, and omarchy update is able to bring the image up to a release containing the #14553 fix.

Actual Behavior

Every Color.<surface>.<role> expression resolves to undefined because Qt 6.12's built-in QtQuick/Color singleton shadows qs.Commons.Color. The shell log fills with, per surface:

@Ui/Button.qml[37:3]: Unable to assign [undefined] to QColor
@Ui/Button.qml[57:-1]: TypeError: Cannot read property 'background' of undefined
@Ui/Button.qml[58:-1]: TypeError: Cannot read property 'text' of undefined
@Ui/Button.qml[80:-1]: TypeError: Cannot read property 'border' of undefined
@Ui/PanelToolTip.qml[22:-1]: TypeError: Cannot read property 'background' of undefined
@Ui/PanelToolTip.qml[27:-1]: TypeError: Cannot read property 'border' of undefined

(Reproduced verbatim on this machine from the shell's own log.)

Affected in the packaged tree: 54 of 102 .qml files under /usr/share/omarchy/shell, including Ui/Button.qml and Commons/{Style,Border}.qml.

Critically, there is no upgrade path:

  • omarchy update only updates try-omarchy-runtime, which resolves against no configured repo.
  • The [omarchy] repo (https://pkgs.omarchy.org/stable/x86_64) contains omarchy 4.0.5-1 but zero try-omarchy-* packages.

Additional Context

Verified reproduction, independent of Omarchy

A standalone Quickshell config containing only import QtQuick / import Quickshell / import qs.Commons:

Reference Result
Color.bar (unqualified) QQuickColor(0x…) → undefined
Commons.Color.bar (import qs.Commons as Commons) resolves correctly

On the unpatched packaged tree the same harness produced 7 TypeError / Unable to assign [undefined] to QColor errors; on the patched copy, 0. The affected lines of Ui/Button.qml, Commons/Border.qml and Commons/Style.qml were spot-checked against current master and match.

Workaround applied

Mirroring #14553 — add import qs.Commons as Commons and rewrite unqualified Color. to Commons.Color. — applied to 54 files under /usr/share/omarchy/shell plus 69 .qml files under ~/.config/omarchy/plugins. Verified: 0 errors in the shell log afterwards.

Note that Commons/Style.qml and Commons/Border.qml live inside the qs.Commons module itself and need import qs.Commons as Commons (a self-import). That works, and matches what master does, but it is worth knowing it is load-bearing — those two files silently lose the palette too if missed.

Ask

Two things that would make the image self-repairing rather than requiring a root-owned hand patch:

  1. Publish try-omarchy-runtime (or an equivalent shell package) from the stable repo, so omarchy update can move the image forward.
  2. Consider that this silently breaks the plugin API for third-party plugins: any plugin that references Color. unqualified gets no error until runtime and simply renders unstyled. A compatibility note in the plugin authoring docs would help here.

Open question (not verified)

omarchy 4.0.5-1 in [omarchy] declares %CONFLICTS% omarchy-dev only, so it may not formally conflict with try-omarchy-runtime. Whether installing it would cleanly supersede the image's shell files was not verified — the file lists were not compared, as that needs a full package download.

SammieLJ avatar Oct 18 '26 14:10 SammieLJ

Confirming on another try-omarchy install, with one difference from the report that makes the gap a bit worse.

On this machine [try-omarchy] is configured, as a local repo:

[try-omarchy]
SigLevel = Optional TrustAll
Server = file:///usr/share/try-omarchy/repo

and today's update did move the runtime forward, try-omarchy-runtime 4.0.3-5 -> 4.0.4-8. But that build is dated 2026-08-25, before #14553, so it still has the unqualified Color. references. That update ran alongside qt6-base 6.11.2-3 -> 6.12.0-5, qt6-declarative 6.11.2-2 -> 6.12.0-4 and quickshell 0.3.1-1 -> 0.3.2-1, so the image's local repo delivers a shell that can't work with the Qt it pulls in at the same time.

Symptoms are the same as reported: SUPER+SPACE gives a fullscreen black scrim with no card (the scrim is the only thing left once Color.menu is undefined), and plugins/background/Background.qml[78]: Property 'loadColors' of object QQuickColor(...) is not a function shows up in the log.

Two more data points:

  • [omarchy] stable now carries omarchy 4.5.0-3, which has the fix, but still no try-omarchy-* package.
  • Downgrading Qt to 6.11.2 isn't a clean workaround anymore. The current omacalc 0.3.1, omacut 0.7.2 and omawrite 0.7.2 builds reference Qt_6.12 symbol versions, and fcitx5-qt 5.1.16-2 uses Qt_6_PRIVATE_API plus Qt_6.12. Their previous versions aren't in the Arch Archive (they come from [omarchy]), so rolling Qt back breaks those apps.

Environment: try-omarchy-runtime 4.0.4-8, qt6-base 6.12.0-5, qt6-declarative 6.12.0-4, quickshell 0.3.2-1, Arch x86_64.

Buravchik avatar Nov 13 '26 17:11 Buravchik

Confirming on a third try-omarchy install, this one aarch64 (QEMU guest), and on an older runtime than the two above.

  • try-omarchy-runtime 4.0.1-1, built 2026-08-25 (pinned runtime 13f18b2c), from the local [try-omarchy] repo (file:///usr/share/try-omarchy/repo); pacman -Si offers nothing newer
  • Today's omarchy update (2026-11-17) moved qt6-base 6.11.2-3 -> 6.12.0-5, qt6-declarative 6.11.2-2 -> 6.12.0-4, quickshell 0.3.1-1 -> 0.3.2-1, hyprland 0.56.2-4 -> 0.57.2-1, but not the runtime
  • Result: same as reported. The bar and every widget render near-black on the bar background, and the log shows Cannot read property 'background'/'text'/'border' of undefined from Bar.qml, Button.qml, PanelToolTip.qml, PopupCard.qml, PolkitAgent.qml, ReminderFlow.qml and others. omarchy theme refresh doesn't help (the theme files are fine).

Minimal confirmation that it's the name and not the singleton: in a 10-line Quickshell config, a qs.Commons singleton registered as Color resolves to QQuickColor(...) with every property undefined; the identical file registered under another name (singleton Zpal 1.0 Color.qml) resolves to the QML type with all properties intact.

Local workaround, verified on this machine: register the singleton under another name in shell/Commons/qmldir and rewrite the Color.<x> references (54 files, 230 lines). This is equivalent to #14553's Commons.Color qualification. Until the try-omarchy runtime is rebuilt past #14553, aarch64 try-omarchy users are in the same position: hand-patch /usr/share/omarchy/shell, or run a patched copy.

Harlock123 avatar Nov 17 '26 19:11 Harlock123