From a383e3efcb275c5b14018db0e520ea4682bc6b6f Mon Sep 17 00:00:00 2001 From: Omarchybot <317366263+omarchybot@users.noreply.github.com> Date: Mon, 28 Sep 2026 15:48:23 +0200 Subject: [PATCH] Say what nodeFor resolves a row to after PipeWire recreates its node Co-Authored-By: Codex Medium Co-Authored-By: Claude Opus 5.5 --- shell/plugins/panels/audio/Panel.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/shell/plugins/panels/audio/Panel.qml b/shell/plugins/panels/audio/Panel.qml index 52311151..c082fd28 100644 --- a/shell/plugins/panels/audio/Panel.qml +++ b/shell/plugins/panels/audio/Panel.qml @@ -330,8 +330,9 @@ Panel { return Model.rowSnapshot(list) } - // A row that outlives its node resolves to null, and every binding below - // already guards for that; a row that never held the node cannot dangle. + // A row that outlives its node resolves to null, or to a node PipeWire recreated + // under the same id and name; every binding below guards for null, and a row + // that never held the node cannot dangle. function nodeFor(row) { if (!row) return null for (var i = 0; i < nodes.length; i++) {