Files
magpie/internal
yetone b586fdf1eb gui: every page keeps its scrollbar's room, so nothing opening in it narrows the page
The owner, on Agents: opening an agent's details ran the page past the
window, the scrollbar appeared, and the whole page went 8px narrower in
one frame (and back when it closed). Every page had this; only Usage
and Routing kept the bar's room (87d83e7ab).

- .view is overflow-y: scroll everywhere, so the bar's room is always
  kept. Its track is transparent (the app's own thin bar, 8px on the
  Mac, 10px on Windows and Linux), so a page that fits shows nothing
  there. The Usage/Routing rule it replaces is gone.
- A framed dialog's fields did the same on Windows and Linux; they keep
  the 10px too, out of their right padding, as the Mac's already did.
- Between 601 and 640px the agent row's start-model picker is 184px,
  not 196px, so the name keeps the 150px agent-layout holds it to.

Test: page-width-steady, both engines, Mac's bar and Windows' bar:
every page this fixture opens (>= 8) grown past the window keeps its
width, and so does a framed dialog's body; an agent's details opened
past the window move its row by 0px, in all five languages.

Run on mote at this head (29181eb78 + this): page-width-steady,
agent-layout, heatmap-scrollbar, routing-ctx-still 40 of 40; go test
-run Budget ./internal/gui ok. Before the last rebase, 49 GUI files
that measure widths or scrollbars (panel-*, gui-* languages and
others), both engines: 593 of 600; the reds were agent-layout webkit
en at 601px (fixed above, then 24 of 24) and usage-ledger's "newest
live route" in both engines, red the same on the base (#3104).

Broken by hand: the old app.css with the new test is red in all 16
(8px narrower on the Mac, 10px with Windows' bar); without only the
dialog rule, the two Windows cases are red (fields 10px narrower).

Not tried: the whole GUI suite (mote is running another session's;
it runs after this push), and the real Windows and Linux apps.
2026-10-28 21:26:37 +08:00
..
…
…
…
…