Arrows, Home, End, Shift ranges, type-ahead and the focus ring; a live drop preview, drops into folders and onto the other monitor; Pin to dock; the monochrome icon set's lookup. Widget edit mode selects, copies, pastes and deletes cards, and Escape leaves it. Tests no longer write the user's desktop_layout.json. Co-Authored-By: Claude Opus 5.5 <[email protected]>
20 KiB
20 KiB
Progress
One entry per session, newest last, ≤ 15 lines: done, verified how, not done, later.
S001 — Visualiser follows the sound (2026-11-13)
- Cause:
pw-record -writes an AU file (big-endian) to a pipe; we read little-endian, so cava saw noise. Fix:--raw, plusnode.passivelike the original. Beat (§1.3) was fed the same noise; fixed with it, and toggling the beat no longer restarts the tap. - Covered screens now let the visualiser fade (autoHide) before their background stops painting; before, the last bars froze in the gaps.
- Zombies: Restart Shell's
execorphaned the old image's children (proved in nested niri:pw-record,pactl,swayidleZ);services::reap_inheritedreaps them.pw-playsounds reaped (live shell had 470 Z). Tap child reaped on any exit (Rec). - Pause (user: bars stick where they were when Mulberry pauses): on pause
playingflips the beat, which restarted the tap, and a new tap never sent zeros, so the old heights stayed. Now the beat is a flag and a new tap sends zeros first; pause test in nested (fake MPRIS + null sink) falls to rest. - Test:
audio::tests::sine_lifts_its_own_bar(peak at the tone's bar, bars change),records_raw_samples. - Verified in nested niri: grim crops differ with a tone, match in silence; 6 forced tap restarts + Restart Shell leave no Z; dashboard toggles keep one tap. Only snapshot/nested-tested, not live.
- Live checks for the batched restart: bars follow a browser video and system sounds on both monitors; dashboard Media ring moves; after Restart Shell,
ps -o stat=,comm= --ppid $(pgrep -x caelestia-shell)shows no Z. - Not done: the live shell still holds 470
pw-playand 166caelestiazombies until restart. - Later:
caelestia(166) andwpctlzombies come fromspawn(...)calls in wl.rs that never wait; old-imagepactl subscribeetc. still run after an exec restart until they exit (S002 area).
S002 — Restart side effects: tray and the music player (2026-11-13)
- Cause of both: the tray watcher took its name before serving its object; zbus drops calls in that gap unanswered. ksni items (Mulberry) call RegisterStatusNotifierItem holding their tray lock, so they went missing and Mulberry's UI froze on its next tray update until the shell exited (stand-in: 5.2 s blocks, live: for ever). Fix: serve first, queued name, re-scan item names, dedupe by owner+path, host re-registers with a new watcher; 2 s item / 1 s player call timeouts.
- Chevron: it vanished with the items; hovering an empty tray no longer collapses it, so a list refilled under the pointer comes back expanded.
- Zombies: fire-and-forget commands go through
services::detach(wpctl, caelestia, udisksctl, autostart, notify-send); Restart Shell stops the last image's helpers (CAELESTIA_HELPERmark) and reaps each inherited child on its own thread (a longddcutilheld up the rest). - Verified on a private bus in nested niri, 2 ksni stand-ins (Mulberry-like) + 2 Gio items (one never re-registers) + Position probe: old build lost 1–3 items and froze both ksni stand-ins; new build 5 kill+start and 5 Restart Shell rounds, 4/4 items each, 0 freezes, Position ≤ 35 ms, no zombies. Tests
tray::tests(4),cargo test --releasegreen, fuzz 854 tried, 0 crashed. Not tested live. - Live checks for the batched restart: after the restart and after a Restart Shell, every tray icon is back (
busctl --user list | grep StatusNotifierItem: Mulberry, equibop, Claude, ABDownloadManager) and each one's menu opens; Mulberry keeps playing and its window still responds to play/pause;ps -o stat=,comm= --ppid $(pgrep -x caelestia-shell)shows no Z and onepactl. - Note: the user has two Mulberry processes running (711560, 712208, started 11 s apart this morning), maybe a second start after a freeze.
- Later:
notifs.rsserves then requests its name on a plain connection (same race, smaller window: use the builder);current_exe()reads " (deleted)" afterinstallreplaces the binary, so Restart Shell'sexeclikely fails until a real restart;sync_idle's own swayidle kill is now redundant.
S026 — One motion pace, never under 30 fps; motion mode (2026-11-13)
- Cause of the uneven pace: the bar bars had a 50 ms throttle (13.5 fps), the background waited for the next audio burst after its 25 ms gap (19 fps, so the desktop lyrics' 200 ms slide looked slow), and the lock drew on a 33 ms timer (24 fps). Lyric speeds already match the original.
pace.rs+appearance.motionMode(Nexus Appearance, "Motion"): Normal keeps each part's pace with a 25 ms floor, Smooth every frame callback, Performance 15 a second. A held-back part gets one loop wake (App::paced, D-021). The lock now draws on frame callbacks; Nexus flick steps by real time; shapes' dt cap 0.1 s; dashboard lyrics carry the position forward.- Nested niri (AUDIT, "Motion pace"): bars 35, background 33, dashboard 40, lock typing 38 in Normal; Smooth 33/42/65/46; Performance ≤ 14.8. Idle desktop and lock 0 frames; the dashboard Media tab spins its shape by design. CPU desktop with music 13% → 17% Normal (21% Smooth, 9% Performance). Mode reload is live.
- Tests:
pace::tests::modes_bound_each_pace,background::tests::bars_ease_alike_at_any_frame_rate;cargo test --release98 passed; fuzz 857 tried, 0 crashed. Only nested-tested, not live. - Not proved: Performance-mode lock fps and game mode fps on a visible screen (the nested window kept scrolling out of view; hidden niri sends 1 callback a second). Game mode logic is proved nested: the tap stops and the background paints once in 5 s; one visible run read 38 background fps at 0.3 ms in game mode, not reproduced.
- Live checks for the batched restart (or run
live.shin the S026 session scratchpad: it measures on the real screens with config copies and puts validated17a7774back): bar bars and the desktop visualiser look even with music on both monitors; desktop lyrics slide smoothly; typing on the lock is smooth; Nexus "Motion" Performance makes motion visibly choppier and Smooth smoother without a restart; game mode on: no visualiser frames (CAELESTIA_PROF=1shows nobgrows) in all three modes. - Later: Media.qml's bar bars ease height over 50 ms (OutQuad) and park flat when paused or with animations off; ours draw the raw level, so Smooth gains nothing there. Slider drags apply at most every 40 ms (
slide), so the knob moves at 25 fps.
S003 — Sweep: bar items and bar popouts (2026-11-13)
- Compared every bar item and popout with a0bc311 (
modules/bar/**); logged §3.1–§3.15 in ISSUES, 12 fixed, 3 open. - Fixed: media bars ease 50 ms OutQuad and park flat with animations off (S026's note); keep awake button pill, colours,
autoHideread; power/show desktop right-click opens Nexus Session/Desktop; show desktop arrow turns; kb layout right-click menu; shortcuts and clock clicks toggle their popouts, shortcuts icon colour while open; status icons spread on hover; workspaces occupied strip and gap markers; popout insetpadding.large; menu row hover radius 12. - Open (Later): §3.9 per-device Bluetooth icons (needs a live device feed), §3.13 cross-fade between popouts (needs an opacity layer), §3.14
bar.previewScalerows have no reader. - Verified:
cargo test --release99 passed (newui::tests::media_bars_park_flat_without_animations), fuzz 857 tried, 0 crashed; snapshots of the bar on all four edges (full and user config) and every popout, looked at. Only snapshot-tested: no pointer was used. - Live checks for the batched restart: bar bars glide with music and lie flat with animations off; hover status icons (they spread), right-click power and show desktop (Nexus opens), right-click the kb layout pill if enabled; click the clock twice (closes, reopens); click shortcuts (toggles); keep awake on/off look.
- Later: the clock's 150 ms hover delay; keep awake chip fade/scale; workspace strip and marker fades; vertical bar with every item on overlaps (too long for 900 px, no clipping).
S004 — Sweep: dashboard tabs (2026-11-13)
- Compared every tab with a0bc311 (
modules/dashboard/**,gpu.cpp); logged §3.16–§3.27, 8 fixed, 4 open, Wallhaven left out (no tab entry in the original). - Fixed: tab slide hit areas cut to the view (easing already DefaultSpatial); user card logo (distro logo or Caelestia logo in onPrimaryContainer) and fallback alpha; calendar middle click goes to today (dashboard and clock popout); GPU name from
lspci -Dnn("Radeon RX 6400/6500 XT/6500M", was "amdgpu GPU"); Weather tab hourly is the curve HourStrip (EmphasizedLarge glide); Notes audio Play/Pause (ffplay, SIGSTOP), Record/Stop (ffmpeg -f pulse→notes/audio/note-<id>.m4a), Upload for audio and image (copied intonotes/); Terminal input 36 px with a primary border, mono 12 pt, output inset, plain echoed command. - New tool:
--snapshot out.png --dashboard --tab A --switch-to B(frames + panel rect). Pixel check on 7 switches: 0 pixels outside the panel (bar row excluded). - Verified:
cargo test --release101 + 6 passed (newdashboard::tests::hits_stay_inside_the_view,dashdata::tests::lspci_names_the_card; ignoreddashnotes::tests::audio_player_and_recorderpassed on silence); snapshots of every tab before and after, looked at. No config or Nexus change, so no fuzz. Only snapshot-tested: no pointer, no live shell. - Live checks for the batched restart: Performance tab shows "GPU Radeon RX 6400/6500 XT/6500M"; dashboard user card shows the Arch logo; middle-click the dashboard calendar on another month (back to today); switch tabs and click just beside the panel during the slide (drawer closes, no hidden button fires); Weather tab: open Hourly, step the arrows (strip glides); Notes: new audio note, Record a few seconds, Stop, Play, Pause, Play (resumes), Upload an audio file and an image (both copied under
~/.local/state/caelestia/notes/); Terminal tab: border and prompt look. - Open (Later): §3.18 bubble
slntand two-line splash; §3.21 indeterminate bar; §3.23 Weather tab with hourly open is 892 px tall on a 900 px screen (original sizes; needs a decision); §3.25 "Paste image URL…". - Note:
--notes-demo/--notes-kindsnapshots write the realnotes_tab.jsonunlessXDG_STATE_HOMEpoints elsewhere.
S005 — Sweep: launcher, sidebar, utilities, OSD and session menu (2026-11-14)
- Compared
modules/launcher/**,sidebar/**,utilities/**,osd/**,session/**with a0bc311; logged §3.28–§3.47 in ISSUES: 7 fixed, 9 open, 4 left out or kept on purpose. - Fixed: launcher empty state (icon beside title and hint, per mode);
>emojiported (Unicodeemoji-test.txt, favourites heart →launcher.favouriteEmojis,emoji-frequencies.json;unicode-emojiadded to the installer's Arch/Fedora tools);>keybindsported (niri binds, Enter runsniri msg action); recording delete is the original's modal, screenshot delete asks inline; OSD mic slider runs tomaxVolume; tick on the bar Audio popout's output slider release and the Keep Awake switch; session buttons carry their labels. - Open (Later): §3.31
>animations(curves are built in), §3.32 wallpaper filters/folder tabs, §3.33 window carousel (no thumbnails), §3.34 scheme/variant live preview, §3.35 mode cross-fade, §3.39 sidebar News tab + header, §3.44 OSD hover elevation, §3.45 OSD slider grow/fade; §3.36>searchis S017's. - Verified:
cargo test --release103 passed (newlauncher::emoji::tests::{reads_unicode_and_text_lists, ranks_like_emojidb}); fuzz 857 tried, 0 crashed; snapshots before and after of every launcher mode, utilities (both delete prompts, new--confirm ROW), OSD, session, sidebar, looked at. Only snapshot-tested: no pointer, no live shell, no sound heard. - Live checks for the batched restart:
>emojiwithunicode-emojiinstalled (sudo pacman -S unicode-emoji; without it the list is empty), pick one (copied, toast), heart one (shell.jsonlauncher.favouriteEmojis), reopen (it leads);>keybinds, Enter on a harmless bind (e.g. focus a workspace);>clipboardwith history empty; utilities: delete a recording (modal, Cancel, then Delete) and a screenshot (inline); Keep Awake switch ticks; bar Audio popout volume drag ticks on release; OSD mic slider (if enabled) matches its level; session menu labels.
S006 — Sweep: notifications and toasts (2026-11-14)
- §4.3 done but §4.3.3: bodies and toast messages draw StyledText (bold, italics, underline, links;
TextStyle::italic); popups slide out sideways (normalEmphasized) and the rest glide up;shouldPushmoves the stack below a bar popout over it (floating there); ExtraIndicator "+N" for what does not fit;general.battery.warnLevelstoasts (BatteryMonitor; no sound, as in the original); the toast stack slides when one closes; Nexus Sound effects gets a Notification sound picker (niri addition, plays the pick); ticks on releasing Nexus Audio output/input and Sound effect volume, the notification sound on Notification volume. - Sweep (§3.48–§3.55, 5 fixed, 3 open): popup slide in and drag spring-back on DefaultSpatial/emphasizedDecel, card height eases, progress ring radius; toasts grow from 0 (initAnim), StyledText messages.
- Open: §4.3.3
focusCalendar(needs calendar sources, §4.7); §3.51 ring sweep easing, §3.52 expand cross-fade (opacity layer), §3.55 toast text scaling. - Verified:
cargo test --release105 + 6 passed (newnotifs::tests::bodies_keep_styledtext_styling,toasts::tests::battery_levels_warn_once_until_plugged_in); fuzz 923 tried, 0 crashed; snapshots before/after of--popups,--popups --expand,--popups --popout clock|audio(push),--sidebar, Nexus Sound effects, looked at. Nested niri test shell on a private bus:notify-sendwith<b>,<i>,<u>renders bold, italic, underline (grim crop); +2 indicator with six popups; toasts time out at 5 s and 7 s;notifs clearleaves no ghost. Not seen moving: the nested window renders 1 frame/s when hidden, so slides were not watched. - Live checks for the batched restart: send
notify-send "T" "<b>b</b> <i>i</i> <u>u</u>"(styled); dismiss a popup by its close button and by dragging (slides out, the rest glide up; a short drag springs back); open the clock popout with popups showing (stack drops below it); several tall popups (+N chip); three toasts, the newest closing first (the others slide); Nexus → Audio → Sound effects → Notification sound, pick one (plays), drag Sound effect volume (tick on release); battery warnings only on a laptop.
S007 — Sweep: lock screen (2026-11-14)
- User report fixed (§3.56): only Sleep worked because Log Out, Restart, Shut Down and Hibernate went through niri's
spawn, which niri ignores while locked (proved nested:niri msg action spawnwhile locked does nothing). They now run from the shell; Switch User is gone (D-009). - §4.4 done: shapes pop in, morph to circles, shrink, and fade out when deleted; pill width eases; the enter button morphs Circle↔Arrow; a refusal keeps the field shut 3 s ("Please wait...", error colours); the error grows in, flashes twice, leaves after 5 s; the portrait layout has the keyboard layout button; Nexus Lock Screen has a "Lock screen wallpaper" row (
lock.wallpaperPath, shown with Sync off). Also: session button hover/press motion, clicks act on release, random profile shape morphs over 800 ms. §3.56–§3.69 logged: 9 fixed, 2 left out, 3 open. - Nested niri (lock-test build, stand-in
systemctl): Sleep, Restart, Shut Down ransystemctl suspend|reboot|powerofffrom the locked screen by pointer; Log Out quit niri while locked ("quitting as requested"); wrong password stayed locked, right unlocked, a 3 s SIGSTOP stall survived,locktest cutre-exec'd and took over the dead lock, then wrong refused and right unlocked.switch-layout nextworks while locked. Release build:caelestia shell locktest xis "unknown command". - Snapshot-tested only: animations (new
--lock --wrong --frames N), portrait button (snapshots now read niri's layouts), Nexus row. No real pointer or keys on the live lock. - Tests:
cargo test --release107 passed (newlockscreen::tests::{a_typed_shape_pops_in_then_settles_as_a_small_circle, the_error_flashes_twice_and_leaves_after_five_seconds}, the typing test now covers grace); fuzz 921 tried, 0 crashed. locktest stallnever existed in the code (HANDOFF said so); HANDOFF now says to usekill -STOP.- Live checks for the batched restart: lock (Mod+Alt+L), type: shapes pop and turn into dots, Backspace fades one; a wrong password: shake, red lock and arrow, "Please wait..." 3 s, red message flashes twice and goes after 5 s; hover the power buttons (glow, label); Restart or Log Out only if the user wants to try it for real; Nexus → Lock Screen: turn Sync off, pick a picture, lock (it shows), turn Sync back on.
- Later: §3.67 resources wave ease, §3.68 notification dock motion, §3.69 media card fade.
S008 — Sweep: desktop, widgets and desktop icons (2026-11-14)
- Desktop icons (§4.5): arrows (LayoutEngine.navigate), Home, End, Shift ranges from the anchor (keys and clicks), type-ahead, Ctrl+plus/minus, Menu/Shift+F10, focus ring; live drop preview (cells, others moved aside, held tiles faded); drop on a folder moves the files in; drag onto the other monitor (
desk_pointmaps the held pointer through niri's outputs); Pin to dock on launchers; the monochrome set's lookup (set not bundled: theme tint stands in). - Widgets (§4.8): edit mode click/Ctrl+click select, Ctrl+A, Ctrl+C/V (new cards beside the selection), Delete, Escape closes the gallery or leaves edit mode. Pill gets Elevation and
border.thickness. - Sweep §3.70–§3.82: 10 fixed, 3 open (§3.78 pill motion, §3.79 edit keyboard grab, §3.80 shapes fade).
- Incident:
cargo test(an old deskicons test, and mine) saved into the user's real~/.local/share/caelestia/desktop_layout.json; parallel tests left it as broken JSON. Backed up (desktop_layout.json.broken-2026-11-14beside it), repaired to the valid part minus test keys (no widgets were in it), and tests now use a temp file (§3.82). Widget saves had silently stopped while it was broken; the live shell's next widget change writes its cards back. - Open: groups and large folders (a feature of its own), drag to/from other apps (needs wl_data_device), bundling yet-another-monochrome-icon-set (download needs the user's OK).
- Verified:
cargo test --release(newdeskicons::tests::{arrows_move_to_the_nearest_icon_that_way, shift_selects_the_range_from_the_anchor_in_fill_order, typing_jumps_to_the_next_name, a_drag_plans_its_drop_before_letting_go},background::tests::pasted_widgets_are_new_copies_beside_the_original); no config/Nexus change, no fuzz. Snapshots (test HOME, new--icon-drag,--widget-edit, icons now synced in--background) before/after, looked at. Not tested with a real pointer or keys. - Live checks for the batched restart: click the desktop, arrows/Shift+arrows/Home/End/typing a letter (ring, selection); Shift+click range; drag an icon (cells show, others shift when arranging), onto a folder (moves in), onto the other monitor; right-click a launcher → Pin to dock; edit widgets: click a card, Ctrl+C, Ctrl+V (copy beside it), Delete, Escape leaves.
Later
- S004: dashboard §3.18 (bubble slant, two-line splash), §3.21 (indeterminate bar), §3.23 (Weather tab height with hourly open on 900 px screens), §3.25 (image URL field).
- S005: launcher §3.31 (animation presets need token-driven curves), §3.32 (wallpaper filters and folder tabs), §3.33 (window card carousel), §3.34 (scheme/variant preview), §3.35 (mode cross-fade); sidebar §3.39 (News tab and tab header); OSD §3.44 (hover elevation), §3.45 (slider grow/fade).
- S007: lock §3.67 (resources wave ease), §3.68 (notification dock motion), §3.69 (media card fade).
- S006: §4.3.3
notifs.focusCalendar(after calendar sources, §4.7); §3.51 popup ring sweep easing; §3.52 popup expand cross-fade (opacity layer, with §3.13); §3.55 toast text scaling. - S008: §4.5 groups and large folders, drag and drop with other apps (wl_data_device), bundling the monochrome icon set; §3.78 edit pill motion, §3.79 edit mode keyboard grab, §3.80 desktop shapes fade; AppContextMenu "Add to desktop" (comment in
open_app_menusays icons are not ported; they are now).