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
A pinned session tool cannot be unpinned while a non-session tab is in front (disabled icon, no menu) #620
A tool pinned to the session-surfaces icon row (its menu's "Pin to toolbar") cannot be unpinned, and an unpinned one cannot be pinned, while the tab in front is not a session's (the library, a page, Settings, Diagnostics). Every session tool's icon is disabled then, and a disabled icon opens no menu, so "Unpin from toolbar" is out of reach; the same holds for the tool's item under "More surfaces". The person has to bring a session's tab forward first, and nothing says so.
Existing behaviour, the same in the build before the UX wave; found while writing U13a's cross-build scene (its pin had to be read and undone with a session's tab in front).
Where
src/renderer/src/panel/SurfaceRow.tsx: the pinned tools' IconButton is disabled={!session && !tab} and the folded items are disabled the same way; the pin item lives in the icon's context menu (toggleSurfacePin).
What done looks like
With no session's tab in front, a pinned tool's icon still opens its menu, and "Unpin from toolbar" works; opening the tool stays unavailable (it needs a session), and the icon reads as unavailable for that act only.
The same for "Pin to toolbar" from "More surfaces".
A unit test in the panel's tests holds both with a non-session tab in front.
Decide by reading how the menu is attached whether the icon stays a disabled button with the menu on a wrapper, or becomes an aria-disabled button that refuses the click; the token and focus rules of the row stay.
Pointers
Parent wave: UX wave (2026-11): 240 UX items as fourteen children #573 (U13's one strip); e2e/cross-build.spec.ts(layout, to the peer) reads the pin with a session's tab in front for this reason and can drop that step once this lands.
Activity