Launcher: Reload session, and Log out moves in from its own module
CI / test (push) Failing after 17s
CI / test (push) Failing after 17s
The Application Launcher's menu now ends in a session row: Reload, Log out, Suspend, Restart,
Power off. Log out, Restart and Power off take a second click on the same button (a status line
says "Click Log out again to confirm"); Reload and Suspend act at once.
- Reload calls the new session.reload, which reaches the shell as the ReloadSession request
(native stub: request 8 with n 1; host plasmoids.wit: reload-session; host-wasm: Req::ReloadSession)
and runs DesktopShell::reload_modules(""): every panel module again from disk, in place, with
its settings. Windows and apps keep running. The compositor redraws the whole frame after it.
- Suspend / Restart / Power off use the power capability, the same calls as Settings > Power.
- The standalone logout module is gone (component, world, components.txt). Saved panels drop
"logout", or get the launcher in its place when they had none; panel.edn is rewritten without
it. A stale logout.wasm is hidden from Settings > Panel (retired_modules).
- Tests: lib/launcher session row, shell migrate_panel, host input tests for Log out and Reload,
host-wasm launcher session row; control_test uses inspector.wasm instead of logout.wasm.
- README and docs/reloading.md describe the session row.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hjKUnSS3D92ThigvJf
This commit is contained in:
37 files changed
+420
-827
No files matched your search
@@ -131,7 +131,10 @@ a recording shortcut again to stop.
|
||||
|
||||
**Panel modules** (each one a separate `.wasm` component in `components/`)
|
||||
|
||||
* **Launcher** (application menu with search) and **Dock**.
|
||||
* **Launcher** (application menu with search) and **Dock**. The launcher's menu ends in a
|
||||
session row: **Reload** (reload every panel module from disk, keeping the panel and module
|
||||
settings; windows and apps keep running), **Log out**, **Suspend**, **Restart** and **Power
|
||||
off**. Log out, Restart and Power off ask for a second click.
|
||||
* **Task manager**: a pill per window with the app's real icon from its `.desktop` file;
|
||||
right-click a pill for Minimize, Maximize and Quit.
|
||||
* **Network**: Wi-Fi and wired status, connect to Wi-Fi networks (with passwords), Wi-Fi and
|
||||
@@ -140,7 +143,7 @@ a recording shortcut again to stop.
|
||||
with a battery).
|
||||
* **Clocks**: the Digital Clock (12-hour with AM/PM by default, 24-hour in its Module settings)
|
||||
and a binary clock.
|
||||
* **Screenshot**, **Layout** (Tile | Float), **Inspector** (interface explorer), **Log out**.
|
||||
* **Screenshot**, **Layout** (Tile | Float), **Inspector** (interface explorer).
|
||||
* **Settings**: tabs for Session (reopen windows at login, remember window positions, dark
|
||||
mode), Desktop (wallpapers), Panel (add, remove and replace modules) and Power (screen off and
|
||||
suspend when idle, battery, suspend / restart / power off). Dark mode also sets the system
|
||||
|
||||
Reference in new issue
Block a user