-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Vertical tabs settings popup items (View as / Density) are unclickable #9539
Copy link
Copy link
Open
Labels
area:ui-frameworkCore Warp UI framework, rendering, layout, and windowing infrastructure.Core Warp UI framework, rendering, layout, and windowing infrastructure.area:window-tabs-panesWindow, tab, pane, and workspace layout management.Window, tab, pane, and workspace layout management.bugSomething isn't working.Something isn't working.os:linuxLinux-specific behavior, regressions, or requests.Linux-specific behavior, regressions, or requests.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Metadata
Metadata
Assignees
Labels
area:ui-frameworkCore Warp UI framework, rendering, layout, and windowing infrastructure.Core Warp UI framework, rendering, layout, and windowing infrastructure.area:window-tabs-panesWindow, tab, pane, and workspace layout management.Window, tab, pane, and workspace layout management.bugSomething isn't working.Something isn't working.os:linuxLinux-specific behavior, regressions, or requests.Linux-specific behavior, regressions, or requests.repro:highThe report includes enough evidence that the issue appears highly reproducible.The report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Summary
When the vertical tabs settings popup is open, clicking any option — View as (Panes / Tabs), Density (Compact / Expanded), Pane title as, and other toggle items — has no visible effect. The popup opens correctly but its interactive items do not respond to clicks.
Steps to reproduce
Settings → Features → Vertical Tabs).Expected: The selected option activates and the panel updates accordingly.
Actual: Nothing happens. Cursor shows a pointer on hover, but clicking produces no response.
Root cause
render_vertical_tabs_panelrenders the settings popup a second time as a panel-level overlay, in addition to the workspace-level rendering (wrapped inDismiss) that already exists in the workspace view render function.Both render calls pass the same
&VerticalTabsPanelState, so everyHoverablebutton in the popup shares the sameMouseStateHandleinstance.Hoverablerecords a pending click onLeftMouseDownviaself.state().click_count = Some(n), then fires the handler onLeftMouseUpviaclick_count.take().Because warpui's
StackusesEventDispatchMode::Broadcastby default, both overlay instances receive every mouse event. The dispatch order is:LeftMouseUp, callsclick_count.take()— consumes the value — then bails becauseis_mouse_over_elementreturnsfalse(covered by the higher-z-index workspace overlay). No action dispatched.Dismiss): receivesLeftMouseUp, callsclick_count.take()— findsNonebecause step 1 already consumed it — skips the handler. No action dispatched.Result: clicks are silently dropped and the popup items appear completely unresponsive.
Fix
Remove the redundant panel-level popup render from
render_vertical_tabs_panel. The workspace-levelDismissrendering already handles positioning, click-outside-to-close, and z-ordering correctly.Environment
master(reproduced from initial public release commit)