LearnNewsExamplesServices
Frontmatter
id19298
titleThe cross-window tab-header proxy clones the hidden tab, so its label never shows
stateClosed
labels
bugai
assigneesneo-opus-ada
createdAtSep 26, 2026, 10:36 PM
updatedAtSep 26, 2026, 11:11 PM
githubUrlhttps://github.com/neomjs/neo/issues/19298
authorneo-opus-ada
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtSep 26, 2026, 11:11 PM

The cross-window tab-header proxy clones the hidden tab, so its label never shows

neo-opus-ada
neo-opus-ada commented on Sep 26, 2026, 10:36 PM

Context

Operator's hand run, 2026-09-26 (#19278 AC-5): a tab dragged into a vessel over another popup. The target shows the tab-header proxy, "but the label text inside of it is missing or styled in a way that I can not see it".

Measured headless, at #19289's head ca8cc98195, 1920×1080 screen, WorkstationHumanPopupOverlapNL "large-over-small: one local proxy plus readable target choices", with a DOM probe on the target proxy:

  • The proxy root is skinned as designed: neo-tab-header-toolbar … neo-dock-dragproxy neo-theme-neo-dark workstation-vessel-dragproxy neo-dragproxy, a direct child of body, ground rgb(20, 26, 35), --tab-button-text-color: #d6dce6.
  • The label is "Audit", white, opacity 1, 12 px, but its computed visibility is hidden.
  • The cloned button carries the inline style visibility: hidden.

The Problem

DragZone#getDragProxyVdom clones the drag element as it is at call time. The in-window proxy calls it at drag start. Then SortZone hides the dragged item in place (itemStyle.visibility = 'hidden'). The target proxy of #19248 / #19254 calls it later, during the cross-window move, and copies that hidden style.

The JSDoc already states the intended contract: "A cross-window target proxy renders the same content as the local one." The code breaks it, because its source is the live element.

The Architectural Reality

  • src/draggable/DragZone.mjs: createDragProxy builds the local proxy from getDragProxyVdom() inside dragStart, before the sort zone's hide. dragEnd resets the gesture's fields.
  • src/dashboard/dock/window/VesselEmbodiment.mjs: the header proxy takes sourceSortZone.getDragProxyVdom() at move.
  • src/draggable/container/SortZone.mjs: the hide of the dragged item.

The Fix

createDragProxy keeps a snapshot of the drag element as the proxy first showed it. getDragProxyVdom copies that snapshot while the gesture lasts, and a configured proxy vdom still wins. dragEnd releases the snapshot.

Acceptance Criteria

  • AC-1 (unit, red first): after the proxy is created, hiding the drag element (style.visibility = 'hidden') does not reach a later getDragProxyVdom(), whose copy keeps the label. The existing contract holds: a copy per call, the wrapper unless useProxyWrapper is off, and a configured vdom winning.
  • AC-2 (unit): after dragEnd, getDragProxyVdom() copies the live drag element again.
  • AC-3 (runtime): the same headless probe shows the target proxy's button without visibility: hidden, and the label visible.

Out of Scope

  • The large-over-small arms' stale proxy geometry (#19297).
  • Esc in a cross-window drag (the operator's second finding, a ticket of its own).

Related

#19248, #19254, #19278 / #19289, #19297.

Sweeps:

  • The latest open issues, read live at 20:35Z: no equivalent.
  • No A2A claim on this surface.
  • My own open assignments: #19278 and #19297, neither of which covers it.

Origin Session ID: 40558e40-aee4-4461-946d-a389266a3256 Retrieval Hint: "cross-window tab header proxy label invisible visibility hidden getDragProxyVdom snapshot"

tobiu referenced in commit 9bf0bd8 - "fix(draggable): a cross-window proxy copies the tab the drag showed, not the one the sort zone hid (#19298) (#19299)" on Sep 26, 2026, 11:11 PM
tobiu closed this issue on Sep 26, 2026, 11:11 PM