From a210a5111c1971637ee5418f51bc217884675022 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 11 Jun 2026 15:26:53 +0000 Subject: [PATCH] fix(stoa-vitals): repair boot-time plugin install failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three fixes for the "plugin install error at startup" report: 1. install.sh never symlinked stoa-vitals into ~/.config/noctalia/plugins/ (the other three Stoa plugins were linked, this one was missed). With the plugin enabled in plugins.json but absent on disk, Noctalia's plugin manager tried to download it at boot and failed. 2. plugins.json pointed every stoa-* plugin at the noctalia-dev community repo, where none of them exist — any update check against that source errors. They now point at the Stoa Linux source already declared in "sources". 3. Panel.qml sized itself via stack.currentItem, which is StackView API — StackLayout has no such property, so the panel height silently broke. Index children[] by the active tab instead. --- config/noctalia/plugins.json | 8 ++++---- install.sh | 2 ++ theme/noctalia-plugins/stoa-vitals/Panel.qml | 5 ++++- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/config/noctalia/plugins.json b/config/noctalia/plugins.json index 621c0e4..e3a0388 100644 --- a/config/noctalia/plugins.json +++ b/config/noctalia/plugins.json @@ -66,19 +66,19 @@ }, "stoa-doctor-pill": { "enabled": true, - "sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins" + "sourceUrl": "https://github.com/VictorGSchneider/StoaLinux" }, "stoa-drive-pill": { "enabled": true, - "sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins" + "sourceUrl": "https://github.com/VictorGSchneider/StoaLinux" }, "stoa-memento": { "enabled": true, - "sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins" + "sourceUrl": "https://github.com/VictorGSchneider/StoaLinux" }, "stoa-vitals": { "enabled": true, - "sourceUrl": "https://github.com/noctalia-dev/noctalia-plugins" + "sourceUrl": "https://github.com/VictorGSchneider/StoaLinux" }, "sys-info-widget": { "enabled": true, diff --git a/install.sh b/install.sh index a26af67..2727cd6 100755 --- a/install.sh +++ b/install.sh @@ -85,6 +85,8 @@ _link "${STOA_DIR}/theme/noctalia-plugins/stoa-doctor-pill" \ "${CONFIG_DIR}/noctalia/plugins/stoa-doctor-pill" _link "${STOA_DIR}/theme/noctalia-plugins/stoa-drive-pill" \ "${CONFIG_DIR}/noctalia/plugins/stoa-drive-pill" +_link "${STOA_DIR}/theme/noctalia-plugins/stoa-vitals" \ + "${CONFIG_DIR}/noctalia/plugins/stoa-vitals" # Noctalia settings.json — opinionated Stoa seed (floating bar, Stoa # color scheme, EB Garamond, layout incl. screen-toolkit/clipper/ diff --git a/theme/noctalia-plugins/stoa-vitals/Panel.qml b/theme/noctalia-plugins/stoa-vitals/Panel.qml index 8b296c8..0e756a8 100644 --- a/theme/noctalia-plugins/stoa-vitals/Panel.qml +++ b/theme/noctalia-plugins/stoa-vitals/Panel.qml @@ -20,9 +20,12 @@ Item { property ShellScreen screen readonly property real contentPreferredWidth: 380 + // StackLayout has no currentItem (that's StackView) — index children[] + // by the active tab to size the panel to the visible page only. readonly property real contentPreferredHeight: header.implicitHeight + tabs.implicitHeight - + stack.currentItem.implicitHeight + + (stack.children[root.currentTab] + ? stack.children[root.currentTab].implicitHeight : 0) + Style.marginM * 3 // ── Aggregated status (from stoa-vitals-status) ──