Reported via https://godbolt.org/z/59q8GYa5z, a CMake tree whose only
pane is an executor: the right hand side rendered as an empty black box.
Three problems in ClientStateGoldenifier.treeLayoutFromClientstate:
- Tree executors were never laid out at all. Only firstTree.compilers was
iterated; createExecutorComponentForTree was reachable solely from
presentation mode. This is what left the reported link's pane empty.
- The right hand side was a stack holding a row. A GoldenLayout stack may
only contain components, so the row showed up as a blank, untitled tab.
It is now a column in both branches. This affected every tree shortlink
without editor-attached compilers or executors.
- contentRow was pushed twice when leaving space for editor compilers,
duplicating the tree compiler pane.
Also skip the right hand side entirely when the tree has neither
compilers nor executors, instead of reserving a dead 40% of the screen
for an empty row.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>