You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Split with a session beside a non-session pane: the first press on the other pane's header control is lost (the card column's going shifts the layout between press and release) #692
In a window wide enough for the session card column, split the main area so that one pane shows a session and the other shows something that is not a session (a document, a file). With the session's pane focused, the card column is placed and the main area is padded by 304 px on the right. The first press on any control in the other pane's header (Expand pane, Export, …) does nothing; the second press works.
Why (read on master 63c97b5c0)
main/Pane.tsx: a pane focuses itself on onPointerDownCapture.
app/shell-view.tscardColumnNow: the column is placed only while the focused pane's active tab is a session the column can speak of (sessionOfTab(activeTab(state.main))).
app/Shell.tsx: while the column is placed the main area has paddingRight: 304.
So the pointer-down moves focus to the non-session pane, the column is no longer placed, the padding goes, and the pane's header moves right by up to 304 px before the pointer is released. The release lands on a different element and no click fires.
Found by an early run of e2e:panel on a wave branch (a new scene pressed Expand in that state; the scene now focuses the pane first). No existing scene on master presses a control in that state: the ones that press Expand open a side surface first, which keeps the column from being placed.
Options (each changes what a person sees; a design call)
The column stays placed while the other pane of the split shows a session: the cards speak of the session in view, not only of the focused pane's tab. No layout change on a focus move between panes.
The pane's focus moves on the click, not on the pointer-down.
The column's going is deferred until the pointer is released.
The builder who found it leans to 1. Whatever is chosen: a unit test of the facts (cardColumnNow across a focus move in such a split) and one Electron scene that presses a header control of the non-session pane once and sees it act.
[board] in-design: Architect: option 1 chosen (column stays while either pane of the split shows a session); also removes the 304 px jump on every focus move between panes
[architect] Ruling: option 1. The column is placed while the focused pane's tab is a session, or the other pane of the split shows one (the focused pane's session first when both do). Why not 2 or 3: both keep a 304 px layout jump on every focus move between panes, keyboard ones included, and only move it off the click; option 1 removes the cause. Proof: the unit test of cardColumnNow across a focus move in such a split (both orders, and both-panes-sessions keeps today's choice), and one Electron scene that presses a header control of the non-session pane once and sees it act.
[board] in-review: Option 1 implemented: the column's session is the focused pane's, else the other pane's of the split; unit test red then green, one Electron scene; static, unit, probes, e2e:panel and e2e:default green; reviewer-medium found nothing
Activity
SSFSKIM commentedon Nov 15, 2026
[board] in-design: Architect: option 1 chosen (column stays while either pane of the split shows a session); also removes the 304 px jump on every focus move between panes
SSFSKIM commentedon Nov 15, 2026
[architect] Ruling: option 1. The column is placed while the focused pane's tab is a session, or the other pane of the split shows one (the focused pane's session first when both do). Why not 2 or 3: both keep a 304 px layout jump on every focus move between panes, keyboard ones included, and only move it off the click; option 1 removes the cause. Proof: the unit test of cardColumnNow across a focus move in such a split (both orders, and both-panes-sessions keeps today's choice), and one Electron scene that presses a header control of the non-session pane once and sees it act.
SSFSKIM commentedon Nov 15, 2026
[board] in-progress: Builder dispatched by the architect
#692: the unit test's second document is a channel tab (the diagnosti…
SSFSKIM commentedon Nov 15, 2026
[board] in-review: Option 1 implemented: the column's session is the focused pane's, else the other pane's of the split; unit test red then green, one Electron scene; static, unit, probes, e2e:panel and e2e:default green; reviewer-medium found nothing
SSFSKIM commentedon Nov 15, 2026
[board] done: Landed by PR #695, merge 3678e3c.