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
Session suspend icons are missing when the Console has no other tabs #19789
When the Console pane has no other tabs (Terminal and Background Jobs closed), the Console never shows its session-suspended or "Auto Suspension Blocked" icons. With other tabs open, they appear at the right end of the Console toolbar.
The "Auto Suspension Blocked" icon's tooltip says what is keeping the session from suspending, and the "Warn when automatic session suspension is paused" option (Global Options > Console, console_suspend_blocked_notice) is described as showing it in the Console toolbar. With the Console as the only tab, that option has no visible effect.
Steps to reproduce
Close the Terminal and Background Jobs tabs, so Console is the only tab in its pane.
Do something that blocks automatic suspension and wait for the blocked notice, or let the session suspend.
No icon appears in the Console pane. Opening a Terminal tab shows the Console toolbar again, with the icon.
Cause
ConsolePane.createMainToolbar() adds consoleSuspendedIcon_ and consoleSuspendBlockedIcon_ to the Console toolbar, and onSerializationEvent() / onSuspendedBlockedEvent() show and hide them there. In console-only mode, ConsoleTabPanel hides that toolbar and moves only Clear Console, Interrupt, and Interrupt Profiler into the pane's title bar (and Find in Console, with the fix for #19784), so the icons are hidden with the toolbar.
Activity
Fix missing Find button and long-path overflow in the Console pane (#…