aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-26 12:36:49 +0200
committerDanilo M. <danix@danix.xyz>2026-09-26 12:36:49 +0200
commitf280c8171cfe9c40fabe5aa6ed3fd4f13e5f9b21 (patch)
tree1cc445c1bee41b8f2dd08ba75d961e83793ded4f /AGENTS.md
parent161f4ee8fd956b192ec8e028052c2ec98b098852 (diff)
downloadquickshell-f280c8171cfe9c40fabe5aa6ed3fd4f13e5f9b21.tar.gz
quickshell-f280c8171cfe9c40fabe5aa6ed3fd4f13e5f9b21.zip
fix(assistant): retry the event socket with a fresh Socket
Quickshell 0.3.1 keeps the QLocalSocket of a failed connect, so setting connected = true again never retries: an overlay started before the assistant (at login, or by a restart) stayed dark for good. The Socket now lives in a LazyLoader that the retry timer turns off and on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index b4e6136..1b15ec8 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -246,6 +246,13 @@ changing that component. The ones that generalise:
- **The old waybar notification module shelled out to `dunstctl`.** It and its
`notifications.py` are archived under `~/bin/archive/`, with the rest of the
stock waybar theme; do not resurrect them.
+- **A `Socket` whose connect failed never retries.** Quickshell 0.3.1 keeps
+ the failed `QLocalSocket`, so setting `connected = true` again (or toggling
+ it, or changing `path`) is a no-op: `setConnected` only connects when no
+ socket object exists. Retry with a fresh `Socket`, e.g. inside a
+ `LazyLoader` toggled off and on (`assistant/Assistant.qml`). A dropped
+ connection is different: `disconnected` clears the socket, so a later
+ `connected = true` works, until one of those attempts fails.
## Theme