docs(ui): say that persistence stops at logout #23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "t3code/session-persistence-clarity"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #21.
The persistence switch promised more than it delivered. A session marked
persistent survives its window closing, but the agent lives in the login
session scope, so logging out takes every session with it. That limit was
written in
docs/spec/session-agent.mdand the README — nowhere the usercan see while using the program.
What changed
ui/session_editor.blp— the Keep Running Without A Window row gains asubtitle: "Survives closing its window, but not logging out".
ui/preferences.blp— the Session Agent group description now sayslogging out stops the agent, and a new Surviving Logout row explains
lingering with a button that copies
loginctl enable-linger.crates/terminalko/src/preferences.rs— the copy handler, and a "Copied"toast on the dialog itself.
docs/spec/preferences.md,docs/spec/session-agent.md— kept consistentwith the new strings; the Known limit paragraph now names both UI strings
so they change together with #18.
docs/spec/README.md— #21 drops off the open-work table.Decisions
terminal that made it silently would be doing something nobody asked for.
activation) is still open, and by its own account lingering today only half
works because nothing restarts the agent after the session scope is torn
down. When #18 lands, the two strings and the spec paragraph change together.
Checks
cargo build,cargo fmt --check,cargo clippy --all-targets -- -D warningsclean;
cargo testpasses (203 tests). The app runs and the preferences dialogconstructs the new row with no GTK warnings.