Skip to content

Fix occurrence Move/Copy viewport gizmo input (#3014) - #3015

Merged
bherbruck merged 3 commits into
tangency-labs:mainfrom
amolinari-autotex:fix/occurrence-gizmo-input
Oct 19, 2026
Merged

bherbruck merged 3 commits into
tangency-labs:mainfrom
amolinari-autotex:fix/occurrence-gizmo-input

Conversation

@amolinari-autotex

@amolinari-autotex amolinari-autotex commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Claims #3014.

Change

Occurrence Move/Copy arrows, plane handles and rotation rings now receive input through the viewport that draws them. Handle geometry claims the pointer before camera navigation, including the first hover frame. Actual distance/angle changes use the existing pending-placement path shared with numeric fields; unchanged drag frames do not issue a redundant move.

This repairs ordinary inserted occurrences as well as pasted designs. Clipboard pointer placement remains in #2433, and free-face dragging remains the separate #2804 / #2805 work.

Validation

  • Windows integration: UI library 1,224 passed, 0 failed, one existing ignored test and the known upstream Windows file-URI fixture excluded. Strict workspace/all-target Clippy, formatting and WebAssembly checks (12 crates) passed.
  • Native app and CLI builds passed. The actual five implementation heads were merged normally into the trial; its source tree is identical to the tested tree.
  • Asset attribution, licences, sorted lists and dependency layering passed.
  • Full cargo xtask ci was attempted. This Windows checkout stops at unchanged SVG master/review hash checks caused by checkout line endings. No icon artwork or acceptance hashes were changed. No full-workspace or GitHub CI pass is claimed.

An ordinary Insert Design reproduction used no clipboard operations: the baseline arrow left the occurrence stationary while a numeric 10 mm edit worked. In the fixed native build the arrow produced an 11 mm move, numeric editing still worked and the camera stayed unchanged. The independent UI regression compares arrow/numeric poses and verifies an unrelated constrained occurrence, joint definitions, pending state, Capture Position, undo and redo.

Screenshots of the behavior (when observable)

Actual native PNGs from small public-safe examples were captured and visually inspected locally, including before/after evidence where useful. Public media attachments remain pending; generated screenshots were not committed as repository assets.

Integration status

Validated on upstream 34cb3167 with the combined contributions, trial commit b59369cb. Latest checked main was 3a9b053f; local merge simulations for all five branches completed without conflicts. Maintainer commits and published history were preserved with normal merges and pushes.

The user verified and accepted this behavior in the frozen integrated trial (b59369cb), matching the published head. This PR is ready for review. No merge or release was performed; no full GitHub CI pass is claimed.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@bherbruck bherbruck left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@bherbruck bherbruck added the approved-for-ci Reviewed: run the full PR CI (build, tests, goldens, Clippy) label Oct 19, 2026
@github-actions github-actions Bot added area:infra CI, tooling, repo, docs area:ui desktop/web front end, dialogs, viewport labels Oct 19, 2026
@bherbruck
bherbruck merged commit 504d7c9 into tangency-labs:main Oct 19, 2026
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved-for-ci Reviewed: run the full PR CI (build, tests, goldens, Clippy) area:infra CI, tooling, repo, docs area:ui desktop/web front end, dialogs, viewport

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants