diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-25 07:17:57 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-25 07:17:57 -0500 |
| commit | 89d84da2bc03f0beee18304424d47b6971f8c763 (patch) | |
| tree | cf111375f225470405b71403d33943000b34f1fc /todo.org | |
| parent | 0a0238b41467d769dfc1a9aed8a77eaf1b761892 (diff) | |
| download | archsetup-89d84da2bc03f0beee18304424d47b6971f8c763.tar.gz archsetup-89d84da2bc03f0beee18304424d47b6971f8c763.zip | |
docs(todo): update floating-layout manual test for the setfloating rebuild
Floating is now Super+Shift+F (per-window setfloating), the glyph flips, and the click is master<->monocle. Rewrote the checklist steps and the state-file path to match.
Diffstat (limited to 'todo.org')
| -rw-r--r-- | todo.org | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -1661,18 +1661,18 @@ Craig's standing checklist of everything that isn't agent-verifiable. Each child Priority and type tag added by that audit: the task carried neither, which kept the project's largest live container out of the agenda entirely. -*** Floating layout: freeze positions, border flash, exit to master -What we're verifying: cycle-layout's new floating mode freezes each window's tiled position (capture-then-restore), flashes the border bright gold on entry and exit, exits to master, and refuses an empty workspace. The dispatch logic is unit-tested against a fake hyprctl (tests/cycle-layout); this is the live geometry + timing + visual check that can't be agent-verified, since running it drives the real compositor's global layout. -- Go to a workspace holding 2-3 tiled windows in master layout. -- Cycle the layout into floating: click the waybar layout glyph (or Super+Shift+arrow) to step master -> monocle -> floating. Watch the window borders on the step into floating. -- Drag a window with Super+left-mouse. -- Cycle once more to exit floating; watch the borders again. -- Switch to an empty workspace and try to cycle into floating. +*** Floating layout: freeze positions, border flash, glyph, exit to master +What we're verifying: the rebuilt floating mode (Super+Shift+F) floats every window on the workspace via per-window setfloating (the old workspaceopt allfloat was deprecated and no-op'd, which is why nothing floated), freezes each in place, flashes the border gold on entry and exit, flips the waybar glyph to the floating icon, and exits to master. Live-verified on a headless output already (windows floated in place, dragged to overlap, glyph read Floating, toggled back clean); this is the on-your-own-monitor confirmation. +- Go to a workspace with 2-3 tiled windows in master. +- Press Super+Shift+F. Watch: the borders flash gold, the waybar layout glyph changes to the floating icon (), and every window stays exactly where it was but is now floating. +- Drag each window with Super+left-mouse — they should move freely and be able to overlap (tiled windows can't). +- Press Super+Shift+F again. Borders flash; every window re-tiles to master; the glyph returns to the master icon. +- On an empty workspace, press Super+Shift+F — nothing should happen (no flash, no state). #+begin_src sh :results output -echo "state file:"; cat "${XDG_RUNTIME_DIR:-/tmp}/hypr-layout-cycle.state" 2>/dev/null || echo "(none — not floating)" +echo "state file:"; cat "${XDG_RUNTIME_DIR:-/tmp}/hypr-float-mode.state" 2>/dev/null || echo "(none — not floating)" echo "windows on active workspace:"; ws=$(hyprctl activeworkspace -j | jq .id); hyprctl clients -j | jq -r --argjson ws "$ws" '.[] | select(.workspace.id==$ws) | "\(.address) floating=\(.floating) at=\(.at) size=\(.size)"' #+end_src -Expected: entering floating flashes the border bright gold (a few blinks); every window stays exactly where master placed it, now floating and drag-able with Super+mouse; exiting flashes again and re-tiles to master (the state file is gone). On the empty workspace nothing happens — no float, no flash, no state file written. +Expected: entering floating flashes the border bright gold (a few blinks); the glyph shows ; every window stays where it was, now floating and drag-able/overlap-able with Super+mouse; a second Super+Shift+F flashes again and re-tiles to master (state file gone, glyph back to master). On an empty workspace nothing happens. Note: Super+Shift+F used to open nautilus — that bind is now floating; add nautilus elsewhere if you want it. *** Settings panel: brightness drum drags What we're verifying: the paper drums' drag gesture (a Cairo hit-test the e2e suite can't drive) maps drag distance to backing percent with the floor rules. On ratio (no backlight) the drums render dimmed and refuse the drag — that's expected, so the drag half of this test needs velox. |
