test: the layout probe reads the sidebar's width
`side_w` is the sidebar column's width, and it must be its own request (320) rather than 0. It turned a report of "I cannot see the right side panel" into `side_w=0` in one run, which is what a reading is for. It also shows the shape of the fault: the width is 320 during the first frames and 0 once the window settles, while the divider sits at 940 and the plot column ends around 752 -- so the paned is not giving the sidebar any width, whatever the column asks for. Four attempts to fix that here were each reverted, because each one left `side_w=0`: placing the divider from the paned's own width instead of an absolute 940, the property form of the paned's children, re-parenting the column in code, and a code-set size request on the scroller and the column. The cause is not one of those, and the next step is to read the paned's own width and the column's parent chain rather than to guess again.
This commit is contained in:
1 parent
ed82abd405
commit
a8c25f0cb3
2 files changed
+9
-2
No files matched your search
@@ -312,6 +312,9 @@ Two lines of the self-check output are assertions in disguise:
|
||||
— that is how it tells a gesture from its own echo — so a fit that wrote the group alone reads
|
||||
back as the zoomed range one frame later.
|
||||
- `[layout-probe] <action> rows=N buttons=B done=D done_box=[x,y,WxH] rows_y=[..] close=[..] add=[..] traces=[..]`
|
||||
`side_w` is the sidebar column's width and **must be its own request (320), never 0**: it read 0 while
|
||||
the divider sat at the window's right edge, which is a panel that is not there. It was 320 during the
|
||||
first frames and 0 once the window had settled, so read it from a `placed` line rather than the first.
|
||||
(stderr, `UDPSCOPE_PROBE_LAYOUT_MS`) — **`buttons` must be `2N+1`** while the editor is
|
||||
up (one `×` per row, one `+` per boundary) and **0 on the `editor off` line**: the
|
||||
buttons exist only while the editor does. `done` follows the same rule for the editor's
|
||||
|
||||
Reference in new issue
Block a user