From 2b0d171f812311605dcd059e24b3264eef6b9531 Mon Sep 17 00:00:00 2001 From: W4HO <87742609+W4HO-ham@users.noreply.github.com> Date: Wed, 4 Nov 2026 08:57:35 -0647 Subject: [PATCH 1/3] omamobile-shell 0.2.101: the fingerprint glyph appears when the fingerprint stack starts after the shell The fingerprint plugin reads the bridge's state file once at start and then follows it with a file watch, re-reading on a timer only while the glyph shows. When the fingerprint stack starts after the shell, the file and its directory don't exist yet, so the watch has nothing to follow and the glyph never appears, although fingerprint unlock works. On the palmtop on 2026-11-04 the stack started a few minutes after login and the lock screen showed no glyph until the shell was restarted. The re-read timer now also runs while there is no state, every 2 s, until the file appears. --- .../plugins/omamobile.fingerprint/Fingerprint.qml | 5 ++++- packages/omamobile-shell/version | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/omamobile-shell/plugins/omamobile.fingerprint/Fingerprint.qml b/packages/omamobile-shell/plugins/omamobile.fingerprint/Fingerprint.qml index fd2dc3b53..7618b1e46 100644 --- a/packages/omamobile-shell/plugins/omamobile.fingerprint/Fingerprint.qml +++ b/packages/omamobile-shell/plugins/omamobile.fingerprint/Fingerprint.qml @@ -218,10 +218,13 @@ Item { // The file is replaced with rename(2) on every change; a quick re-read // while anything shows makes sure a missed change cannot leave it stale. + // Without the file (the fingerprint stack starts after the shell, or + // stopped) the watch has nothing to follow, and the directory may not + // exist yet either, so look for it again until it appears. Timer { interval: root.screenOpen ? 500 : 2000 repeat: true - running: root.shown || root.screenOpen + running: root.shown || root.screenOpen || root.sensor === null onTriggered: stateFile.reload() } diff --git a/packages/omamobile-shell/version b/packages/omamobile-shell/version index 0b466845b..d8a838a1f 100644 --- a/packages/omamobile-shell/version +++ b/packages/omamobile-shell/version @@ -1 +1 @@ -0.2.100 +0.2.101 From da713176e97740d90c326a3eef25bd5842c813d6 Mon Sep 17 00:00:00 2001 From: W4HO <87742609+W4HO-ham@users.noreply.github.com> Date: Fri, 6 Nov 2026 08:52:21 -0643 Subject: [PATCH 2/3] omamobile-shell: the fingerprint plugin looks for a missing state file only where the stack is installed The plugin is on for every phone, and on one without the fingerprint stack the state file never appears, so the re-read every 2 s ran for the life of the shell. It now runs with no state only where omamobile-fp-chroot is installed, the same test the Setup menu's Fingerprint entry uses. --- .../omamobile.fingerprint/Fingerprint.qml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/packages/omamobile-shell/plugins/omamobile.fingerprint/Fingerprint.qml b/packages/omamobile-shell/plugins/omamobile.fingerprint/Fingerprint.qml index 7618b1e46..52c3ba0e6 100644 --- a/packages/omamobile-shell/plugins/omamobile.fingerprint/Fingerprint.qml +++ b/packages/omamobile-shell/plugins/omamobile.fingerprint/Fingerprint.qml @@ -219,15 +219,27 @@ Item { // The file is replaced with rename(2) on every change; a quick re-read // while anything shows makes sure a missed change cannot leave it stale. // Without the file (the fingerprint stack starts after the shell, or - // stopped) the watch has nothing to follow, and the directory may not - // exist yet either, so look for it again until it appears. + // stopped) there is nothing to watch, so look for it again until it + // appears; each reload() sets the watch up again (FileView::reload runs + // updatePath, and so updateWatchedFiles), so it follows the file from + // then on. Only where the stack is installed: elsewhere the file never + // appears. Timer { interval: root.screenOpen ? 500 : 2000 repeat: true - running: root.shown || root.screenOpen || root.sensor === null + running: root.shown || root.screenOpen || (root.sensor === null && root.stackInstalled) onTriggered: stateFile.reload() } + // The fingerprint stack's runner, as the Setup menu's Fingerprint entry + // tests for it. + property bool stackInstalled: false + Process { + command: ["test", "-x", Quickshell.env("OMAMOBILE_FP_RUNNER") || "/usr/lib/omamobile-fp/omamobile-fp-chroot"] + running: true + onExited: function(exitCode) { root.stackInstalled = exitCode === 0 } + } + // ---------------------------------------------------------------- geometry // The phone's own panel (DSI), else the first screen of the panel's shape From 8bc591027dcc370ed0263a826db59d8b809e77d5 Mon Sep 17 00:00:00 2001 From: W4HO <87742609+W4HO-ham@users.noreply.github.com> Date: Wed, 11 Nov 2026 22:54:31 -0644 Subject: [PATCH 3/3] omamobile-shell: one above main's 0.2.126 again Main took 0.2.126 for another change; the number is the maintainer's to set at merge. --- packages/omamobile-shell/version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/omamobile-shell/version b/packages/omamobile-shell/version index 6cf0bd9e1..4f079a5e5 100644 --- a/packages/omamobile-shell/version +++ b/packages/omamobile-shell/version @@ -1 +1 @@ -0.2.126 +0.2.127