Apps menu empty ("Nothing here yet") after upgrading to 4.0.3
What happened
After omarchy update (4.0.2 → 4.0.3) the Omarchy menu's Apps submenu is empty — it shows "Nothing here yet" instead of the installed applications. It was working on 4.0.2.
Expected
The Apps submenu lists the installed applications (as it did on 4.0.2).
Steps to reproduce
- Upgrade to Omarchy 4.0.3 (
omarchy update). - Open the menu (SUPER + SPACE) → Apps.
- Observe "Nothing here yet" (empty list).
System
- Omarchy 4.0.3-1
- quickshell-git 0.3.0.r20.g28771c7-3
- CPU: Intel Core Ultra 7 155U (14 threads)
- GPU: Intel Meteor Lake-P integrated graphics
- Arch Linux / Hyprland
What I ruled out
- Not Quickshell. Downgraded
quickshell-gitfrom pkgrel −3 to −2 (same git commit28771c7) → apps still empty. - Not user plugins / menu extension. Moved
~/.config/omarchy/pluginsand the userextensions/omarchy-menu.jsoncaside → still empty. - Not missing desktop entries. A standalone Quickshell probe (same binary) reports
DesktopEntries.applications.values→ 68 entries (50 after the hidden-entry filters). The.desktopfiles are present. - The menu app code is unchanged.
AppLibrary.qml,AppSearch.js,MenuModel.jsandplugins/menu/Menu.qmlare byte-identical between 4.0.2 and 4.0.3. Onlyshell.qmlchanged (the large plugin-API refactor:pluginShellApis,pluginAppLibraryApis,createScopedPluginShell,pluginAppLibraryFor, …).
Recovery / verification
Downgrading to 4.0.2 restores the Apps list (confirmed). On 4.0.2 the menu shows the apps; on 4.0.3 it stays empty across shell restarts.
Likely cause
In the 4.0.3 shell.qml refactor the first-party menu plugin (omarchy.menu) is now given its shell / app-library through the scoped plugin API:
- Loader
onLoaded:item.shell = shell.pluginShellFor(manifest)anditem.manifest = shell.publicPluginManifest(manifest) pluginShellFor/createScopedPluginShell→appLibrary: shell.manifestHasKind(manifest, "menu") ? shell.pluginAppLibraryFor(cacheKey, key) : null- Menu:
appLibrary.sortedEntries("")→DesktopEntries.applications.values
In the 4.0.3 shell this chain ends up returning an empty list even though DesktopEntries.applications is fully populated. My suspicion is the app-library wiring through the new scoped plugin shell (PluginAppLibraryApi._sortedEntries / createScopedPluginShell), i.e. the menu plugin loses access to the live app library (either shell.appLibrary is null/not wired, or sortedEntries resolves to an empty list) as a result of the refactor.
I can provide the 4.0.3 ("Nothing here yet") and 4.0.2 (working) screenshots on request.
Same symptom here on 4.0.3-1. Root cause traced and fixed locally — it's manifestHasKind().
Cause
shell/shell.qml:349
function manifestHasKind(manifest, kind) {
return !!manifest && Array.isArray(manifest.kinds)
&& manifest.kinds.indexOf(kind) !== -1
}
The panel Instantiator (shell.qml:1322) hands the manifest to pluginShellFor() as modelData. That round-trips the manifest through QVariant, so kinds comes back as a QVariantList — array-like and indexOf-able, but Array.isArray() returns false for it.
So createScopedPluginShell() computes:
appLibrary: shell.manifestHasKind(manifest, "menu")
? shell.pluginAppLibraryFor(cacheKey, key) : null
…as null, and pluginShellCapabilityProfile() yields no-menu instead of menu. Because the profile no longer matches the cached descriptor, revokePluginShellApi() runs and destroys the already-working PluginAppLibraryApi, replacing it with one whose appLibrary is null. Menu.qml then bails at if (!root.appLibrary) return in mergeAppRows() → "Nothing here yet".
Evidence
Instrumented copy of the 4.0.3 shell, logging every createScopedPluginShell() call. Same plugin, two call sites, same manifest:
key=my.menu cacheKey=my.menu kinds=["menu","bar-widget"] isArray=true hasMenu=true appLib=PluginAppLibraryApi(0x…) <- bar widget path
key=my.menu cacheKey=my.menu kinds=["menu","bar-widget"] isArray=false hasMenu=false appLib=null <- panel Instantiator path
The panel path is the one that wins, and it nulls the app library. Also visible on other panel/overlay plugins (isArray=false for every manifest arriving via modelData).
Why only some people see it
Only third-party / cloned menus are affected. First-party omarchy.menu never hits this: pluginShellFor() returns ShellRoot directly for __isFirstParty manifests, so it gets the real appLibrary. 4.0.3 is the first release that routes third-party plugins through the scoped PluginShellApi, which is why 4.0.2 was fine.
@michalmielczynski — do you have a cloned menu plugin enabled (omarchy-shell shell listPlugins | grep -A2 menu)? If omarchy.menu shows "enabled": false and a clone shows "enabled": true, that's this bug.
Fix
Duck-type instead of Array.isArray, so it holds for both plain JS arrays and QVariantList:
function manifestHasKind(manifest, kind) {
// A manifest that reached us through a model — the panel Instantiator hands
// out modelData — carries kinds as a QVariantList, and Array.isArray() is
// false for those even though they index like an array.
var kinds = manifest ? manifest.kinds : null
return !!kinds && typeof kinds.indexOf === "function"
&& kinds.indexOf(kind) !== -1
}
Verified: with the patch the same shell logs rows=71 in mergeAppRows() and the Apps submenu renders normally.
The other three Array.isArray(m.kinds) sites (isBarOptionManifest, computePanelEntries, _syncServices) only ever see raw registry manifests, never modelData, so they are not affected — though they'd be worth aligning for consistency.
Confirmed: I have melon.menu enabled (clonedFrom: omarchy.menu, kinds ["menu","bar-widget"]) and the first-party omarchy.menu disabled (enabled: false). So this is exactly the manifestHasKind() / QVariantList bug you described — the panel Instantiator path nulls the app library for cloned menus.
Thanks for the precise root-cause; your duck-typed fix is verified on my side conceptually (I froze on 4.0.2 in the meantime). Happy to test a fixed 4.0.4 as soon as it's out.
Independent confirmation on 4.0.3-1, and @parnoldx's diagnosis is correct — the patch fixes it here.
My configuration matches the signature exactly. Answering the question put to @michalmielczynski, omarchy-shell shell listPlugins:
{"id":"quantumfire.omalaunch","name":"Omalaunch","kinds":["menu","bar-widget"],"enabled":true, ...,"clonedFrom":"omarchy.menu"}
{"id":"omarchy.menu","name":"Omarchy menu","kinds":["menu","bar-widget"],"enabled":false, ...,"clonedFrom":""}
Cloned menu enabled, first-party menu disabled.
Direct evidence of the null app library. I instrumented mergeAppRows() in the cloned menu:
WARN qml: OMADBG mergeAppRows appLibrary=null
It bails at if (!root.appLibrary) return, exactly as described. Ruling out the obvious alternative first: a standalone Quickshell probe on the same binary sees DesktopEntries.applications.values → 67 entries and DesktopEntries.byId("chromium") resolves, and hidden-entries.sh filters only 20 of 102 files. The entries were always there.
(Worth flagging for anyone else probing this: DesktopEntries populates asynchronously after first access, so a probe that reads .values in Component.onCompleted reports 0 and looks like a scanner failure. It isn't — read it after a delay.)
The patch works. With the duck-typed manifestHasKind() applied to 4.0.3's shell.qml, the Apps submenu renders the full list again after omarchy restart shell. No other change.
One note on blast radius, since this may not be the only casualty of the refactor.
omaplug (third-party plugin manager) also shows an empty list on 4.0.3 — but from a different cause, and I don't think it's a bug on your side. It reaches the registry via root.bar.shell.pluginRegistry, and a widget's bar is now PluginBarStateApi, which is scalar-only by design (no shell, no pluginRegistry). Even if it got there, pluginRegistryFor() at shell.qml:752 hands third parties a self-scoped PluginRegistryApi whose installedPlugins holds only the asking plugin. That reads as the intended boundary from e78d89e and the surrounding scoped-API work, not an accident — so it needs a migration to omarchy plugin list --json / omarchy-shell shell listPlugins, not a patch. Filed as fross100/omaplug#19.
Mentioning it only to draw the line clearly: this issue is an accident with a one-line fix and should land; that one is the sandbox working as designed. If the 4.0.3 notes are worth an addendum, "third-party plugins that enumerated the registry need to move to the CLI/IPC" would save others the same bisect.
Happy to test a fix branch.
Same root cause here, with independent instrumentation that corroborates the QVariantList mechanism described in PR #10903. This affects any third-party/menu plugin in 4.0.3, not just cloned built-ins.
Environment: omarchy 4.0.3-1, quickshell 0.3.1-1, Arch/Hyprland.
Setup detail: my Super+Space menu is the third-party clone devgtv.menu-esc-back (omarchy.menu is disabled; resolveEnabledId("omarchy.menu") routes to the clone), so it goes through createScopedPluginShell → PluginShellApi.appLibrary.
Instrumented evidence (added a debug log to the clone's mergeAppRows()):
DBGMENU enter: shell=set shellPluginId=devgtv.menu-esc-back shellHasAppLib=yes appLibrary=NULL
DBGMENU appLibrary is NULL
root.shell is the scoped PluginShellApi (its pluginId is set and the appLibrary property exists), but appLibrary is null → mergeAppRows() early-returns → "Nothing here yet".
Not clone-specific: I also reproduced with a minimal, menu-only, third-party plugin (gtv.testmenu, kinds:["menu"]):
DBGTEST entered shell=set pluginId=gtv.testmenu hasAppLibrary=yes appLibrary=NULL
Not a data problem: the same process sees DesktopEntries.applications.values = 321 entries (~57 visible after the hidden-entry filter), and the PluginAppLibraryApi proxy component instantiates successfully when created directly from a plugin (createObject → set, sortedEntries() works). So the app data and the proxy type are fine; the scoped-shell grant itself yields null — consistent with manifestHasKind() reading kinds (delivered as a QVariantList by the panel Instantiator modelData) as "no menu kind" and revoking appLibrary at shell.qml:603.
Downgrading to 4.0.2 also restores the app list for me as reported above.
Automated duplication check: this issue looks similar to #10661, which covers the same cloned menu Apps submenu empty. I keep that one open and close this one to keep the discussion in one place.
If you feel this is the wrong decision, please open the issue again with a note on the difference.