S047: close to tray on Wayland: window reopens, hidden runs tested, tools/tray-check

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
astar76 2026-11-27 07:33:47 -06:00
commit a601765855

View file

@ -280,3 +280,9 @@ Seen: boxes were ticked together after the tests, against rule 3.
- Same-size replies with other dates/tags (nginx `W/"size-mtime"`) are checked by 64 KiB of bytes before writing; proven versions per link, no If-Range on a farm, `tasks.farm` stored (migration 007). HTTP only; FTP keeps mtime strict.
- testserver `farm=N`, `liar=1`; `crates/core/tests/farm.rs`. Hidden smoke on a farm passed; dist/ rebuilt (0.1.1), copied to `~/Projects/Medlar/dist/`.
- Not done: `connector_flood_15` fails (connector untouched), CPU right after done 160 %, packaged builds not launched, no real farm.
## S047 — Close to tray on Wayland
- One `egui::Context` and the `App` live in `open()`; windows come and go via `run_native_ext` + `run_and_return`; while closed `App::hidden` ticks tray, port and second starts, waking on repaint requests. Stopgap removed.
- Hidden nested niri with a fake tray host (`tools/tray-check/`): close stays, 0 % CPU, port answers, tray Show / POST / second start reopen, download finishes hidden, tray Quit ends; no host: close quits. Suite 576 passed.
- Not tested: Ctrl+Q key, tray Pause/Resume all and notification actions while hidden, X11, real tray hosts, packages (not rebuilt).
- Later: clipboard monitoring while hidden; reopen if the tray host vanishes while hidden.