From c2ba6b5725adddf000c2ff08d9b0aef04e9e4f77 Mon Sep 17 00:00:00 2001 From: astar76 Date: Thu, 26 Nov 2026 13:18:32 -0600 Subject: [PATCH] S046: tick plan boxes; handoff for the next session Co-Authored-By: Claude Opus 5.5 --- Plans/10 Distribution/S046-fixes-0.1.1.md | 12 ++++++------ docs/HANDOFF.md | 2 ++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Plans/10 Distribution/S046-fixes-0.1.1.md b/Plans/10 Distribution/S046-fixes-0.1.1.md index 402e326..7473c4c 100644 --- a/Plans/10 Distribution/S046-fixes-0.1.1.md +++ b/Plans/10 Distribution/S046-fixes-0.1.1.md @@ -15,12 +15,12 @@ Three bugs the user found with 0.1.0 (Nacre on a real site): - docs/CONNECTOR.md (`filename` field) ## Steps -- [ ] Name: a name from a sender (connector `filename`, or the Add dialog when the user did not type it) is a hint. On the first reply, when the hint is generic (no extension, or an extension like bin, php, asp, aspx, cgi, html, htm, download, or a known placeholder such as `output.bin`, `download`, `file`) and the reply gives a name (Content-Disposition, else the final link with a file extension), use the reply's name, made safe as today, before any file is created; a name the user typed always wins; collisions handled as today (never overwrite). The Add dialog's probe updates the shown name the same way while the user has not edited it. Unit tests in name.rs and an engine test against testserver (provisional name + Content-Disposition, and a redirect to a named link) -- [ ] Raise: on an arrival that shows the Add window or adds a download, if the main window is hidden show it (`Visible(true)`, `Minimized(false)`), then `Focus` and `RequestUserAttention(Critical)` (urgency where focus is refused); same for second-instance hand-over; clear the attention when the window gets focus. A kittest that records the viewport commands -- [ ] Copy: while a text field has focus, Ctrl+C, Ctrl+A (and Ctrl+X, Ctrl+V, Ctrl+Z as now) go to the field, not to list shortcuts; settings values that are read-only text (paths, versions, the port, the token) are selectable or have a copy button where egui allows. Unit test for `pressed` with a focused field -- [ ] Full workspace suite once (absolute TMPDIR), then release build; hidden smoke test: POST a link with `filename: output.bin` to a testserver URL that answers with Content-Disposition `game.zip`: Add window shows and the file is `game.zip`; window raised in the grab -- [ ] Version 0.1.1 everywhere (Cargo, metainfo, PKGBUILD, .SRCINFO); `tools/package.sh` builds tar.gz, AppImage, Arch package and `SHA256SUMS-0.1.1` in dist/; `docs/releases/0.1.1.md`; nothing into releases/ -- [ ] Test file `docs/tests/S046-fixes-0.1.1.md` with Results, PROGRESS entry, tick INDEX, commit `S046: …`, `git push origin HEAD` +- [x] Name: a name from a sender (connector `filename`, or the Add dialog when the user did not type it) is a hint. On the first reply, when the hint is generic (no extension, or an extension like bin, php, asp, aspx, cgi, html, htm, download, or a known placeholder such as `output.bin`, `download`, `file`) and the reply gives a name (Content-Disposition, else the final link with a file extension), use the reply's name, made safe as today, before any file is created; a name the user typed always wins; collisions handled as today (never overwrite). The Add dialog's probe updates the shown name the same way while the user has not edited it. Unit tests in name.rs and an engine test against testserver (provisional name + Content-Disposition, and a redirect to a named link) +- [x] Raise: on an arrival that shows the Add window or adds a download, if the main window is hidden show it (`Visible(true)`, `Minimized(false)`), then `Focus` and `RequestUserAttention(Critical)` (urgency where focus is refused); same for second-instance hand-over; clear the attention when the window gets focus. A kittest that records the viewport commands +- [x] Copy: while a text field has focus, Ctrl+C, Ctrl+A (and Ctrl+X, Ctrl+V, Ctrl+Z as now) go to the field, not to list shortcuts; settings values that are read-only text (paths, versions, the port, the token) are selectable or have a copy button where egui allows. Unit test for `pressed` with a focused field +- [x] Full workspace suite once (absolute TMPDIR), then release build; hidden smoke test: POST a link with `filename: output.bin` to a testserver URL that answers with Content-Disposition `game.zip`: Add window shows and the file is `game.zip`; window raised in the grab +- [x] Version 0.1.1 everywhere (Cargo, metainfo, PKGBUILD, .SRCINFO); `tools/package.sh` builds tar.gz, AppImage, Arch package and `SHA256SUMS-0.1.1` in dist/; `docs/releases/0.1.1.md`; nothing into releases/ +- [x] Test file `docs/tests/S046-fixes-0.1.1.md` with Results, PROGRESS entry, tick INDEX, commit `S046: …`, `git push origin HEAD` ## End criteria - the three bugs have passing regression tests; suite green; builds smoke-tested diff --git a/docs/HANDOFF.md b/docs/HANDOFF.md index d400d31..281fc88 100644 --- a/docs/HANDOFF.md +++ b/docs/HANDOFF.md @@ -14,6 +14,8 @@ 3. Bug hunt: write a plan (S048) that walks every screen and flow the user uses (Nacre hand-off, settings, modes, snail, tray) and fixes what it finds. **Known bugs and gaps** +- From S046: snail button covers the last row's pause icon at 480x360; idle CPU 11 % with the Add dialog open (check what animates); tray tooltip speed not smoothed; a mirror timing test flaky under load; server names like `data-1.bin` count as placeholders. Put these in S048 (bug hunt). +- `dist/` now holds only 0.1.1 builds (package.sh wipes it); the 0.1.0 files are in `releases/v0.1.0/`. - Binary needs glibc 2.44; no .deb/.rpm (user chose Arch + installer only). - Not run: many MED screen and motion checks, real yt-dlp through the manager, `pacman -U`, real sudo `--system` install. - yt-dlp gets no cookies or global limit; playlist task named after its last file; soak memory 50 → 63 MB over 52 restarts.