- 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>
Tests that open the Face unlock window or the face auth view turned the fill light on: they read
the real /sys/class/backlight, set 90 % and restored it on close, and since the sysfs file is
root-owned the write went to logind's SetBrightness over the real system bus. With tests in
parallel the screen flickered between levels, and an aborted test left it at 90 %.
- The backlight root comes from CHANDRA_BACKLIGHT_ROOT when set (default_backlight_root);
test-native.py gives every test its own fake intel_backlight (25 of 100).
- Under CHANDRA_TEST_CONFIG=1 the logind SetBrightness fallback is never spawned.
- test-native.py drops XDG_SESSION_ID and points DBUS_SYSTEM_BUS_ADDRESS nowhere; tests that
want a system bus give their own.
- Tests that set a fake root put the default back, not the real /sys/class/backlight.
Checked: the face, auth and backlight tests leave /sys/class/backlight/intel_backlight/brightness
untouched (value and mtime) while they run.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ARCHITECTURE.md's host strategy and open questions still recommended a Rust + wasmtime host;
they now record the decision (MoonBit on the wasmtime C API, no Rust in the tree). TOOLCHAIN.md
names wasmhost as the embedder.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Clicking it hides every window, as Super+D does; it stays lit while the desktop is shown.
- A second click brings the hidden windows back.
- New show-desktop capability (wit toggle and publish-desktop-shown) for the wasm module.
- Added to the default panel after session settings; existing panels are unchanged.
- Test covers hiding, the lit state, and restoring the windows.
- Add zwp_linux_dmabuf_v1 (v4 feedback names the render node). Only linear ARGB8888 and XRGB8888 are accepted, because the compositor reads a buffer by mapping its dma-buf.
- Bracket dma-buf reads with DMA_BUF_IOCTL_SYNC in the compositor and in the wasm host, so the CPU sees the GPU's finished writes.
- Keep every wl_surface.frame callback since the last commit instead of only the last one. Zed and Mesa's EGL queue several and wait on all of them.
- rs_capture maps a dma-buf afresh on each capture rather than using the pool cache, which could hand a later buffer an earlier buffer's pixels.
- Restart xdg-desktop-portal in the background once the compositor socket exists, so the restart no longer delays compositor startup by about 30 s.
Syncs the tree to a sprite at the same absolute path (host-wasm/build.rs bakes the
checkout's .pixi lib dir into the host's rpath), builds host, compositor.wasm and the
panel modules there, and pulls the artifacts back.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hk4tUnZsmzjbobxkwy
The login session starts chandra-host without the pixi environment, so the
dynamic loader could not find libseat.so.1 and the session died before DRM.
Record the pixi env's lib directory as an rpath on the host binary. Only the
host gets it, so apps the compositor starts don't inherit it.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Add a pixi `modules` task that runs scripts/build-modules.sh. The justfile
`modules` recipe calls it, and `run` now depends on `modules` so the panel
has its wasm modules when the compositor starts.
Drop pulse, clock-digital12, moon-disc and moon-text from components.txt.
They had no source in any branch, so the build skipped them every time.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Add seatd (libseat headers and library) to the pixi workspace, so the
host-wasm build no longer needs a system libseat. Set channel priority
to disabled so the solver can resolve seatd's libsystemd0 dependency.
Activation env points CPATH, LIBRARY_PATH and LD_LIBRARY_PATH at the
pixi prefix. The justfile runs every recipe through `pixi run`, so a
plain `just run` builds and launches against the pixi environment.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>