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
Show All Panes after Zoom Sidebar leaves the left column collapsed #19201
After Zoom Sidebar, Show All Panes restores the sidebar and the right column but leaves the left column (Source and Console) collapsed to 0px wide and inert. The collapsed layout persists across a browser reload.
Steps to reproduce
With the sidebar visible on the left and the default four-pane layout:
Focus the Posit Assistant tab in the sidebar.
Run Zoom Sidebar (Ctrl+Alt+Shift+F10).
Run Show All Panes (Ctrl+Shift+0).
Expected: all columns return to their widths from before the zoom. Actual: Source and Console stay collapsed and inert. Widths of the pane elements, in px:
State
Sidebar
Source / Console
TabSet1 / TabSet2
Before zoom
320
308
542
After Zoom Sidebar
1169
0
1
After Show All Panes
320
0
888
After reload
320
0
888
Dragging the column splitter open restores the layout.
Reproduced on RStudio Server built from main at f597467, and in 2026.10.0+233.
A related case, found from code review while working on #19184 (not yet reproduced by hand):
With the sidebar visible, Zoom Left Column collapses the sidebar along with the right column. Ending that zoom with End Zoom goes through PaneManager.restoreLayout(). For a column zoom (maximizedWindow_ is null) that runs restorePaneLayout() → restoreColumnLayout(), which never restores sidebarSizePriorToZoom_. It only resets the sidebar when it is zoom-wide (isZoomedWidth). So the zoom state is cleared, but the sidebar stays at its collapsed width.
As of #19184, a pane that raises itself in a column hidden by a column zoom (e.g. a new plot during Zoom Left Column) also ends the zoom through restoreLayout(), so it reaches the same gap.
There's a separate timing edge in that path as well: if the pane raises itself during the 300ms zoom animation, it can still measure 20px or wider. The check then does nothing, and the animation finishes collapsing the column.
The gap covers more than the sidebar.restoreColumnLayout() doesn't restore widgetSizePriorToZoom_ either. It passes right_'s current width (0 after Zoom Left Column) to getValidColumnWidth(), and with one widget the min and max thresholds come out equal: 0.75 × panel width with two columns. So End Zoom, or a pane raise ending the zoom, puts the right column at that width whatever it was before. Extra source columns get their pre-zoom widths clamped by getValidColumnWidths(). Re-running the zoom command restores the snapshot instead (the unzoom branch of zoomColumn()). splitter_aria.test.ts ("column splitter value follows column zoom") asserts the current End Zoom behavior: "restores the default column widths, not the pre-zoom ones".
What Reopen a column dragged shut when a pane is shown #19231 changes here. Once a zoom ends this way, a Show command or pane raise for the sidebar now reopens it, to at least its 175px minimum. End Zoom on its own still leaves the sidebar at 0px.
Activity
Fix Focus Next/Previous Pane around the sidebar (#19203)
gtritchie commentedon Oct 22, 2026
A related case, found from code review while working on #19184 (not yet reproduced by hand):
With the sidebar visible, Zoom Left Column collapses the sidebar along with the right column. Ending that zoom with End Zoom goes through
PaneManager.restoreLayout(). For a column zoom (maximizedWindow_is null) that runsrestorePaneLayout()→restoreColumnLayout(), which never restoressidebarSizePriorToZoom_. It only resets the sidebar when it is zoom-wide (isZoomedWidth). So the zoom state is cleared, but the sidebar stays at its collapsed width.As of #19184, a pane that raises itself in a column hidden by a column zoom (e.g. a new plot during Zoom Left Column) also ends the zoom through
restoreLayout(), so it reaches the same gap.There's a separate timing edge in that path as well: if the pane raises itself during the 300ms zoom animation, it can still measure 20px or wider. The check then does nothing, and the animation finishes collapsing the column.
gtritchie commentedon Oct 22, 2026
Update from review of #19231:
restoreColumnLayout()doesn't restorewidgetSizePriorToZoom_either. It passesright_'s current width (0 after Zoom Left Column) togetValidColumnWidth(), and with one widget the min and max thresholds come out equal: 0.75 × panel width with two columns. So End Zoom, or a pane raise ending the zoom, puts the right column at that width whatever it was before. Extra source columns get their pre-zoom widths clamped bygetValidColumnWidths(). Re-running the zoom command restores the snapshot instead (the unzoom branch ofzoomColumn()).splitter_aria.test.ts("column splitter value follows column zoom") asserts the current End Zoom behavior: "restores the default column widths, not the pre-zoom ones".Reopen the sidebar to at least its minimum width
Reopen a column dragged shut when a pane is shown (#19231)
gtritchie commentedon Oct 27, 2026
Pre-exisiting, moving to next release.
Restore pre-zoom column widths when ending a column zoom (#19359)