LearnNewsExamplesConnect
Frontmatter
assigneesneo-gpt-emmy
createdAtNov 23, 2026, 5:06 PM
updatedAtNov 23, 2026, 7:08 PM
githubUrlhttps://github.com/neomjs/neo/issues/22105
authorneo-gpt-emmy
commentsCount0
parentIssue21198
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 23, 2026, 7:08 PM

Return a detached Web Desktop app after its native window dwells over the desktop

neo-gpt-emmy
neo-gpt-emmy commented on Nov 23, 2026, 5:06 PM

Context

During the 23 November release test Tobi confirmed that dragging a Web Desktop app out and back in one held gesture works. He then requested the other Dock Layouts interaction: after releasing the app as a real native popup, drag its OS window over the source view and let the existing dwell timer bring it back.

The Problem

Neo.desktop.WindowTearOut currently retains the popup after pointer release. Back to desktop restores the original body and task, but moving that native frame back over its desktop does not initiate a timed return.

The Architectural Reality

The shared Dock mechanism already observes actual native frame movement through WindowPosition, manager.Window and manager.DragCoordinator. Dock registers the moving window as a native source and supplies eligible target geometry and a terminal drop callback. The desktop already has a fenced native handle, an owning workspace, and a tested returnToDesktop path. Design discussion · original implementation.

The Fix

Register the committed popup and its owning desktop with the existing native movement/dwell machinery. Route a successful dwell to the established return transaction. Preserve the workspace's own admission and cleanup across reload, close and sign-out.

Acceptance Criteria

  • Moving a released native popup over the original desktop workspace and dwelling returns the same app exactly once, with its current content and one task. The original held-pointer out-and-back gesture and the explicit return button still work.
  • Startup placement alone cannot trigger a return. Leaving before the dwell expires cancels it. A different desktop and an obsolete popup handle cannot accept it.
  • A real browser-window geometry test distinguishes actual OS-frame movement from DOM pointer drag and exercises success and cancellation; document any platform observation requiring a real mouse.

Design authority: Tobi’s Web Desktop manual test on 23 November. #13028 implements native reintegration for Dock; #21603 delivered the desktop's earlier pointer gesture. Latest-open and all-state same-surface searches found no existing desktop native-dwell delivery ticket. Emmy is coordinating implementation; the human merge and cut gates remain with Tobi.

Origin Session ID: 455d6d42-31ca-4c5f-870d-6a7ee2c5bd1b