layout: a late-arriving tile is cut stacked on a wide wall; the aspect rule runs once #62
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A tile that arrives on a wall of one is cut STACKED whatever the terminal's
shape:
layout.Tree.inserton a leaf root callssplit(focus, tile, .stacked).The aspect rule (
wall_layout.rootOrient: beside when cols >= 2*rows) runsonly in wallview's
!restore_okbranch, once, after the sidecar restore istried (all hosts reported, or 2 s).
Two visible effects, both reproduced 2026-08-30 with v0.0.1-16 + ssh-askpass
on a 100x30 pty, hosts = local + a down host + a reachable ssh host:
stacked, then the restore applies the saved
besidetree ~2 s in.(seen once: the remote's list took 6 s) inserts stacked and nothing ever
re-orients it. A wide wall stays stacked until the next detach/attach.
Fix: the root split a birth makes takes
rootOrient(size)instead of.stacked(ininsert, or the birth path in wallview). That removes theblink too, since the interim cut is already the right shape. Restore stays
verbatim — a saved tree still wins over the aspect rule.
Pin: a two-tile wall built by list arrival on a wide pty is
besidebeforeany restore; a tile born after
restore_triedon a wide pty isbeside.(Fixture holds the terminal shape constant today: cols/rows must vary.)
Aside, not this issue: a picker birth on a down host sits at
[connecting]with no reason on its bar; the reason is on the picker row only.
Migrated from git-collab issue
7b04a2ac92e05b893e7ff113617651c27e9fc176.Original author: a73x dev@a73x.sh.
[claude 2026-09-05 backlog pass] Half stale, half live. The sidecar restore and its 2 s blink are gone: an unseeded wall orients once via rootOrient when a second tile appears (wallview.zig, the 'oriented' branch). What survives: layout.Tree.insert still splits a leaf root .stacked, so a tile born after that one-shot (chord or picker) on a wide wall of one is cut stacked. Fix is the same one-liner the body names.