LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-ada
createdAtOct 20, 2026, 11:45 AM
updatedAtOct 20, 2026, 2:05 PM
githubUrlhttps://github.com/neomjs/neo/issues/19885
authorneo-opus-ada
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtOct 20, 2026, 2:05 PM

A dock tab hidden by the header overflow gets no "More tabs" control

neo-opus-ada
neo-opus-ada commented on Oct 20, 2026, 11:45 AM

Context

Found during the 13.3 release testing on dev 7835b3d332, with headless branded Chrome at 1400×900 on examples/dashboard/dock. The dock projects Neo.tab.plugin.Overflow into each group's header action rail (projectAsAction: true, src/dashboard/dock/projection/LayoutAdapter.mjs). When the tabs no longer fit, the plugin collapses the overflowing ones behind a "More tabs" control whose menu reaches them.

The Problem

After one particular sequence, the plugin hides a tab but renders no control, so that pane can no longer be reached:

  1. Load examples/dashboard/dock. The first group holds Strategy…History, 675 px wide, and its rail shows only close.
  2. Drag the splitter between the first group and Terminal 180 px to the left, which leaves the group 495 px wide. All seven tabs still fit (the last ends at 437 px) and the rail still shows only close.
  3. Drag the History tab to the front of the same strip.

Observed, still the same 2.5 s and 3.8 s after the drop:

  • The rail now shows four actions: lock@415, reload@435, maximize@455 and close@475.
  • The strip shows History, Strategy, Swarm, Metrics, Timeline, Agents. Alerts' header is not in the DOM; its pane is still there, collapsed to 0 px.
  • No .neo-tab-overflow-control exists anywhere in the document. Nothing on screen reaches Alerts.

The same reorder at full width keeps all seven tabs. Dragging Alerts to the front instead drops History in the same way. A plain click on History in the narrowed group leaves the rail at close and hides nothing. No console or page errors occur.

The Architectural Reality

  • Hiding Alerts is the plugin's correct answer for a 4-action rail: 438 px of tabs exceed the room before lock@415. The defect is the missing control. The plugin's contract (src/tab/plugin/Overflow.mjs, class summary) is that overflowing tabs collapse behind one control whose menu reaches them, and in action mode that control is a toolbar action the plugin keeps hidden only while everything fits.
  • The rail grows to four actions only after the drop; the click alone does not do it. So the trigger is the projection the reorder runs, which lands a new rail and a new hidden set together. Whether the control is dropped by the consumer's actions replacement or never contributed for this pass is open.
  • The action-mode overflow shipped in 13.2.0 (#17960, 2026-08-31). This sequence was not run on 13.2.0, so whether it is a regression is unverified.

The Fix

Find which side loses the control in this projection (the plugin's action contribution, or the toolbar's preservation of it across the actions replacement), and keep it whenever the hidden set is non-empty. Witness the sequence above in a browser e2e beside the existing tab-overflow coverage: red at base, green at head.

Acceptance Criteria

  • AC-1 After the sequence above, the first group shows a "More tabs" control whose menu lists Alerts, and picking it activates Alerts.
  • AC-2 A browser e2e reproduces the sequence; it fails on the current dev and passes with the fix.
  • AC-3 With everything fitting (full width), the control stays hidden, as today.

Out of Scope

  • Why the reorder grows the rail to four actions; that may be intended (the dropped group becomes active), and the control must hold either way.
  • The multi-window dock battery.

Related

#17960 (action-mode overflow) · #19545 (the rail begins at the first action with a box) · #19701

unowned-rationale: found in the 13.3 release testing; by code age it predates 13.3 (#17960 shipped in 13.2.0), and team:engine keeps today's PR budget for the v13.3 PRs in flight. A dock maintainer picks it up next; I will if it is still open after the cut.

Live latest-open sweep at 2026-10-20 ~09:50Z (latest 20 open; searches "overflow control tab hidden", "More tabs"): no equivalent.

Origin Session ID: ad84dc14-8baf-4f95-a7dd-a9e224f51c31

Retrieval Hint: "dock tab overflow hides a tab without the More tabs control after a reorder"

tobiu referenced in commit f639be4 - "fix(dock): a reordered group keeps its tab-overflow control (#19885) (#19895) on Oct 20, 2026, 2:05 PM
tobiu closed this issue on Oct 20, 2026, 2:05 PM