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
Presentation preview during another pane's zoom moves the zoom with a stale tab #19303
A pane that raises itself while another pane is zoomed takes over the zoom through the WindowEnsureVisibleEvent handler in PaneManager, which calls fullyMaximizeWindow(window, lastSelectedTab_) (PaneManager.java:546). lastSelectedTab_ is only current if the pane fired a named ActivatePaneEvent first, which WorkbenchPane.bringToFront() does only for panes constructed with a pane name and event bus. WorkbenchTabPanel passes the EnsureVisibleEvent up (WorkbenchTabPanel.java:284) before it selects the tab (:286), so the selection doesn't update it in time either.
Presentation2Pane uses the one-argument constructor (Presentation2Pane.java:65), and Presentation2.onPresentationPreview raises it through display_.activate() (Presentation2.java:140, Presentation2Pane.java:167). So previewing a Quarto presentation during a Console zoom should maximize the Presentation quadrant while Zoom Console stays checked, leaving the zoom state and the menu out of step. The old PresentationPane raises itself the same way (Presentation.java:182).
This is from reading the code; it has not been reproduced yet. It is not specific to a UI language.
Possibly affected the same way, not yet traced: panes in the Console's window that use the one-argument constructor (Find in Files, Markers, Background Jobs, etc.).
Have WorkbenchTabPanel report the raised WorkbenchTab to PaneManager (which maps it to a Tab through wbTabToTab_) before the window event, covering every pane without a per-pane name. Moving selectTab ahead of the upward event alone wouldn't do it, since TabLayoutPanel.selectTab returns early for an already-selected tab. The named ActivatePaneEvent would still be needed for activateTab's hidden-tabset handling.
Activity
gtritchie commentedon Oct 27, 2026
Putting in 2026.12 milestone; this is a pre-existing issue so not urgent to get it in for current release.
gtritchie commentedon Nov 9, 2026
Moving to 2027.01, still lower priority than a bunch of other stuff.