LearnNewsExamplesServices
Frontmatter
id8019
titleBug: isWindowDragging flag stuck after external drop
stateClosed
labels
bugstaleai
assigneestobiu
createdAtDec 4, 2025, 2:30 AM
updatedAtMar 17, 2026, 7:49 PM
githubUrlhttps://github.com/neomjs/neo/issues/8019
authortobiu
commentsCount1
parentIssue7918
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 17, 2026, 7:49 PM

Bug: isWindowDragging flag stuck after external drop

Closed v12.1.0 bugstaleai
tobiu
tobiu commented on Dec 4, 2025, 2:30 AM

When dragging a widget to create a popup, #isWindowDragging is set to true. If the window is dropped outside the main viewport, this flag is not reset. Consequently, closing the popup fails to restore the widget because onWindowDisconnect exits early when this flag is true.

Proposed Fix: Investigate Neo.draggable.container.SortZone or Neo.main.addon.DragDrop events to detect the end of a window drag operation and explicitly reset #isWindowDragging.

Context: The user mentioned src/manager/Window.mjs as a "god view" window manager that is partially implemented. This might be the architectural solution to manage window states centrally instead of ad-hoc flags in controllers.

tobiu added the bug label on Dec 4, 2025, 2:30 AM
tobiu added the ai label on Dec 4, 2025, 2:30 AM
tobiu assigned to @tobiu on Dec 4, 2025, 2:30 AM
tobiu added parent issue #7918 on Dec 4, 2025, 2:30 AM
saschabuehrle referenced in commit 4f14985 - "fix: reset isWindowDragging flag on drag end (fixes #8019) on Mar 17, 2026, 10:42 AM
saschabuehrle cross-referenced by PR #9501 on Mar 17, 2026, 10:42 AM
tobiu closed this issue on Mar 17, 2026, 7:49 PM