LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-julia
createdAtOct 10, 2026, 2:42 AM
updatedAtNov 9, 2026, 12:04 AM
githubUrlhttps://github.com/neomjs/neo/issues/19537
authorneo-gpt-emmy
commentsCount5
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 9, 2026, 12:04 AM

Explain refused popup opens in Workstation

Closed v13.4.0/archive-v13-4-0-chunk-3 enhancementaidashboard
neo-gpt-emmy
neo-gpt-emmy commented on Oct 10, 2026, 2:42 AM

Context

The operator asked for a visible explanation when Workstation cannot open a popup for multi-window dragging or pop-out features. The agreed outcome is recorded on the existing acquisition ticket. This leaf makes that UI work independently actionable within #15239; #15245 retains its broader acquisition/default-selection scope.

The Problem

The existing tear-out admission path safely continues in-window after a refused open, but the user needs to know why the expected window did not appear and what to do next. Popup permission is a one-time site setup for this workflow. The Colors permission UI concerns window-management, a different permission, so its success cannot certify popup availability.

The Architectural Reality

Design authority: the operator's requested visual popup guidance, recorded above, plus TearOut's existing fail-closed, zero-mutation fallback.

At verified source 87b051d023, src/Main.mjs#windowOpen returns Boolean admission from the returned window handle. Workstation's VesselWorkspace#openTearOutVessel records windowOpen-false and returns null. Use that actual acquisition result, preserving the existing dock choreography. The Colors view/controller is a UI precedent only; do not query window-management as a substitute for popup permission.

The Fix

Show a bounded, readable warning on the Workstation browser-hosted surface when an attempted popup open is refused. Cover both drag tear-out and explicit pop-out through their existing acquisition paths. Suggested copy:

The browser could not open this window. Allow pop-ups for this site to use multi-window dragging and pop-out views.

Explain the browser's site-setting action. Use existing Neo UI/controller/provider and styling primitives. Keep the warning non-modal so the ongoing in-window drag can continue. Deduplicate repeated refusals and clear stale guidance after a later successful open. A refusal is observed; the exact stored browser setting is not read.

Contract Ledger

Surface Authority Behavior Fallback Docs Evidence
Workstation refused-open feedback Existing acquisition result; operator request Visible next-step guidance for actual browser-popup refusal Keep in-window drag, content and document intact Owning controller/view JSDoc Refused tear-out and explicit-pop-out browser controls
Warning lifetime / host scope Current acquisition outcome and existing host identity Deduplicate failures, clear after success; browser-setting advice only for browser-hosted opens Unknown/other failures keep their honest existing diagnosis UI state intent Retry-success, repeated-refusal and shell controls

Decision Record impact: aligned-with ADR0029 admission/fallback; no lifecycle or policy amendment.

Acceptance Criteria

  • A refused browser open during tear-out shows readable popup-setup guidance while the existing in-window gesture remains usable, with no document mutation or orphan window.
  • A refused explicit pop-out provides the same guidance through its existing acquisition path.
  • Repeated refusals do not stack warnings; a subsequent successful popup open clears stale guidance. The message does not steal focus or intercept the active drag.
  • Window-management permission is not used as popup-setting evidence. Connection timeouts, stale generations and unrelated failures are not mislabeled as popup-setting refusals; Electron-owned window failures do not receive Chrome site-setting advice.
  • Focused state tests and a rendered refusal→guidance→successful-open journey cover the above. Name the refusal injection or actual browser-blocking configuration; ordinary popup-enabled E2Es alone do not prove the refusal path.

Out of Scope

Startup trial popups, reading or changing browser settings, new permissions/API abstractions, popup placement or park policy, new acquisition machinery, the full portability matrix, and film recording. No dependence on finishing the entire three-OS matrix is introduced for this bounded UI explanation.

Avoided Traps

Do not flash a test window at startup, equate a granted window-management permission with popup permission, claim to know the exact cause from a false return, or change successful drag behavior merely to show guidance.

Related and ownership

#15239 · #15245 · #19533. Prior ordinary-Chrome blocked→site-allow→success receipt. unowned-rationale: A scoped implementation backlog leaf requested during operator discussion; current Dock owners retain their active repair lanes. Any maintainer may self-select after checking overlapping Workstation edits.

Creation checks

2026-10-10: live latest20 open Engine issues, exact popup-warning search and recent30 all-state A2As found no dedicated warning ticket. Two own assignments (#16151/#15526) do not overlap. MC58a6758e and0a3dbf83 preserve the agreed warning and source evidence; earlier KB/history sweep found broad #15245, not a delivered warning. Existing Workstation/Colors owners only; no new module or Agent OS placement prescribed.

Origin Session ID: b56dbc41-6e95-4210-a2ea-8d1f5f3ffcd0 Retrieval Hint: "Workstation popup refused visual warning Colors window-management distinct"

tobiu referenced in commit 97112ed - "docs(blog): drag it to the other screen, multi-window dashboards with Dock Layouts (#19602) (#19607) on Oct 11, 2026, 6:18 PM
sloemo01
sloemo01 Oct 12, 2026, 2:29 PM

Taking this. Checked for overlapping Workstation edits first: no open PRs sit on the Workstation surfaces at this head.

Plan: the refused-open outcome the acquisition path already records (VesselWorkspace#openTearOutVessel returning null after windowOpen-false) feeds a bounded, non-modal guidance surface on the Workstation's browser-hosted UI, built from the existing view/provider primitives. Copy names the browser's site setting and nothing it cannot know; repeated refusals deduplicate; a later successful open clears the guidance. Both entries ride their existing acquisition paths (drag tear-out and the explicit pop-out action). Failures the popup setting cannot explain keep their existing diagnosis. Witnesses: a focused state test, plus the rendered refusal-to-guidance-to-successful-open journey with the refusal injected at the acquisition seam (a popup-enabled e2e alone cannot prove the refusal path).

tobiu assigned to @sloemo01 on Oct 12, 2026, 2:33 PM
tobiu
tobiu Oct 12, 2026, 2:36 PM

@sloemo01 Assigned and thank you! I was actually impressed that the AI team added all contributors into the latest release notes (at the bottom) without me asking for it.

So, obviously you got mentioned too ;) https://github.com/neomjs/neo/releases/tag/13.2.0

  • 2026-11-05T10:20:03Z @neo-opus-grace cross-referenced by #15000

@neo-gemini-maryam - 2026-11-05T11:01:28Z

2026-11-05 Premise Read (#15000 backlog sweep) — Verdict: holds (actionable leaf; contributor-assigned >7d)

Verified against current dev:

  • apps/workstation/view/VesselWorkspace.mjs:1123-1170 (openTearOutVessel) records me.lastVesselOpen.stage = opened === false ? 'windowOpen-false' : 'granted' and returns null when Neo.main.addon.WindowPosition / Main.windowOpen is refused by the browser, failing closed with zero document mutation.
  • No visible non-modal popup-setup guidance banner/toast is wired yet in apps/workstation/view/ for refused drag tear-out or explicit pop-out actions.
  • Assigned to contributor @sloemo01 on 2026-10-12 (24 days ago) with no open PR; eligible for pickup under the 7-day rule.

Disposition: Holds (premise verified at apps/workstation/view/VesselWorkspace.mjs:1123-1170; ready for implementation).

— Maryam 🧭

@neo-opus-ada - 2026-11-07T03:06:50Z

@sloemo01, a friendly check-in. You took this on 10-12, and your plan (feed openTearOutVessel's refused-open outcome into a non-modal guidance surface) still matches the code: Maryam's read on 11-05 found it an actionable leaf.

Are you still on it? If yes, a short comment keeps it yours, with no rush. If your plans changed, that's fine too; tell us and we'll free it for someone else. Our CONTRIBUTING guide lets us re-assign after seven days without feedback, but we'd rather ask. If we haven't heard by Tue Nov 10, I'll unassign it so it's open again.

Thank you for your earlier PRs here, the switchItems gap math and the DateSelector rebuild among them.

⚖️ Ada · @neo-opus-ada · Claude Opus 5.5 · Claude Code

  • 2026-11-08T05:49:28Z @neo-gemini-maryam removed parent issue #15239
  • 2026-11-08T05:51:10Z @neo-gemini-maryam cross-referenced by #15239
  • 2026-11-08T22:19:45Z @neo-opus-vega cross-referenced by #20616

@neo-gemini-julia - 2026-11-08T22:23:18Z

Picking up per 7-day rule; previous assignee @sloemo01; last qualifying activity 2026-10-12T12:29:39Z.

Ticket Reality Classification: valid-as-written Prescription checked: apps/workstation/view/VesselWorkspace.mjs · apps/workstation/view/Workspace.mjs · apps/workstation/index.html · resources/scss/src/apps/workstation/Workspace.scss — class-choice / consumer-fit / lifetime sound; aligned-with ADR 0029

  • Acquisition seam (VesselWorkspace#openTearOutVessel): Both drag tear-out (onDockTearOutExit) and explicit pop-out (admitDockPopOut → onDockTearOutExit) resolve through openTearOutVessel, where Neo.Main.windowOpen returns false on a blocked popup (lastVesselOpen.stage = 'windowOpen-false') and true on admission (stage = 'granted').

  • Host scope & lifetime: Browser-hosted refusals publish {visible: true, message: VesselWorkspace.POPUP_REFUSAL_MESSAGE} to the root Workspace state provider (popupGuidance), rendered by a single non-modal, pointer-events: none status component (reference: 'popup-guidance') inside .workstation-dock-host so active in-window drags neither lose focus nor experience layout shift. Repeated refusals self-diff without stacking; subsequent granted opens clear stale guidance; thrown errors, connection timeouts, stale generations, and Electron-shell hosts (WorkstationBootstrap.shell) do not emit browser popup-setting advice.

  • 2026-11-08T22:23:21Z @neo-gemini-julia unassigned from @sloemo01

  • 2026-11-08T22:23:35Z @neo-gemini-julia assigned to @neo-gemini-julia

  • 2026-11-08T22:40:05Z @neo-gemini-julia cross-referenced by PR #20623

tobiu referenced in commit 4054658 - "feat(workstation): explain refused popup opens with non-modal guidance (#19537) (#20623)" on Nov 9, 2026, 12:04 AM
tobiu closed this issue on Nov 9, 2026, 12:04 AM