Skip to content

Fix placement when a grid drag ends outside the preview - #59

Merged
arkiental merged 2 commits into
mainfrom
codex/fix-grid-release-outside
Oct 19, 2026
Merged

arkiental merged 2 commits into
mainfrom
codex/fix-grid-release-outside

Conversation

@arkiental

Copy link
Copy Markdown
Owner

Drawing a selection and releasing beyond the preview used to cancel placement. Release now commits the selection at the nearest grid edge, using the final pointer position even when fast movement coalesces mouse-move events. Ctrl-click, Alt-swap cancellation, capture-loss cancellation and preset-editor behavior are preserved.

Adds focused WPF regression coverage and updates the usage/validation notes. Independent critic review found no concrete defects.

Validation: Release build with warnings as errors passed; core (12,474 assertions), selection-release (12,687), and native grid-placement (12,521) passed. The full native suite stops at a recursive-grid timeout assertion, also reproduced on unchanged main 0a4b0df. No hardware mouse-input injection was used; actual outside mouse-up routing and mixed-monitor dragging remain manual checks.

@arkiental
arkiental merged commit 21f00ec into main Oct 19, 2026
1 check passed
@arkiental
arkiental deleted the codex/fix-grid-release-outside branch October 19, 2026 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant