Commit Graph
2 Commits
Author SHA1 Message Date
nandiandClaude Opus 5.5 7ce5b79af2 Drop the screenshot tests and the moon-disc module; just test runs every lib package
CI / test (push) Successful in 1m12s
Deploy to the handset / build-and-deploy (push) Failing after 1m31s
- Tests that only wrote PNGs to look at are gone: desktop, overview (and its overview_shot
  helper), editor, emoji picker, launcher/Icon Desktop and dock screenshots. They were among
  the slowest in the suite; the behaviour they touched has its own tests.
- moon-disc never had source in the tree, so every fresh panel said "Module 'moon-disc' not
  found". It is out of the default panel, and a saved panel drops it (migrate_panel). The
  settings module's sample rows and labels no longer mention it.
- The settings module lists Show Desktop under "Apps and windows", with a description.
- just test ran lib/taskbar, lib/layoutpick and lib/modmgr, which no longer exist, so the wasm
  lib tests failed to start; it now runs every package in lib/ (83 tests).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 13:05:40 -08:00
Claude 77fcc4db1c Screenshot editor: annotate, blur, pixelate, redact and crop before saving
CI / test (push) Canceled after 12m58s
Every screenshot now opens in an editor after KDE Spectacle's annotation mode:
Arrow, Line, Rectangle, Ellipse, Pen, Highlighter, Text, Number markers, Blur,
Pixelate, Redact and Crop, 8 colours, 3 sizes, undo/redo. Enter saves and
copies, Ctrl+C copies only, Esc discards.

- Drawn by the compositor (shot_editor.mbt), keyboard owned by it while up.
- Annotations are drawn into the picture's pixels at full size (annotate.mbt),
  so what is shown is what is saved. Blur = 6x6 block average + 3 box-blur
  passes; redact is opaque; both touch only their box (pixel tests).
- The picture goes to the renderer as <=2 MB strips: one 8 MB image-pixels
  call exhausts wasmtime's hostcall fuel and killed the wasm host.
- Frame callbacks are held while the overlay/editor freeze the screen, so apps
  behind stop drawing (0% CPU vs 52% with a full-screen animating app).
- wasmhost: error buffer 16 KB so trap causes aren't cut off; image-pixels
  limit 1024 -> 16384 a side (both hosts).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hh3TaFJh7nhCxAjV4Q
2026-11-26 05:37:03 +00:00