Repository navigation
Description
Summary
With TK (tracking), after the first pick the run does not follow the cursor at all: the point / guide stays where the first pick was put, no matter where the cursor moves. The guide also never stops at the cursor (it runs as a full ray through the base), the next leg does not alternate the axis, and the green + neither shows reliably on the first click nor clears after the first distance.
Steps to reproduce
lineSpacetkSpace- Pick the first tracking point, e.g. (0,0)
- Move the cursor
Expected: a green + at (0,0); the guide follows the cursor, on the axis the next leg will use, stopped at the cursor's projection.
Actual: the point / guide does not move at all — it stays at the first pick.
Continue:
5. Move right and type 80 — the run should go to (80,0) and the + should clear
6. Move the cursor — a y-axis guide should run from (80,0) to the cursor's y, stopped there
Actual at step 6: the axis is not forced to alternate, and the guide does not stop at the cursor.
Expected
- The first pick shows the green
+(a click is a clear signal, not a hover). - After the first distance, the
+clears and stays cleared. - The run follows the cursor: each leg runs on the axis other than the last one, on the cursor's side, and stops at the cursor's projection on that axis.
TTkeeps its current behaviour.
Actual
- After the first pick the run does not follow the cursor; the point stays put.
- The guide is the base's polar ray and runs to the screen edge.
- The axis is not forced to alternate.
- The green
+does not reliably show on the first click and does not clear after the first distance.
Environment
- Reproduced against
mainat9b2308b(2026-10-16). TT/TKlanded in PR Temporary tracking point TT and tracking TK at every point prompt (part of #441) #445 (merged 2026-10-11), part of issue feat(snap): TT/TK temporary tracking, PolarSnap, relative and additional polar angles (gaps.md U1, U3, U4, U9) #441.
Root cause
Frame::Track { last: Option<Vec2> } carries only the last point. Session::snap_cursor sends the prompt's base (the last tracking point) to Tracker::track every frame, so the base's polar rays are what the UI draws; the UI has no TK-specific guide, so nothing follows the cursor and nothing stops at its projection. The axis is re-picked from the cursor each time (snap::ortho), and Frame::Track never calls acquire_temporary, so the + is missing.
Scope
All four symptoms above are one fix, in pointmod.rs / snap/tracking.rs / canvas.rs; they are not independent. In scope: the TK run following the cursor, its guide, its axis, and its marker. Out of scope: TT, the white crosshair, ellipse/spline reverse tangents.
Related
- PR Temporary tracking point TT and tracking TK at every point prompt (part of #441) #445 — merged; added
TT/TK. - issue feat(snap): TT/TK temporary tracking, PolarSnap, relative and additional polar angles (gaps.md U1, U3, U4, U9) #441 — closed; the umbrella for TT/TK.
- PR Align idle cursor with grips and toggle Properties with Ctrl/Cmd+1 #1322 — open; cursor / crosshair in
canvas.rs, different lines. - PR Tab cycles through every object snap under the cursor, not one per mode (gaps U4) #1408 — open; Tab snap cycling in
pointmod.rs, different region.
Activity
ticket-craft commentedon Oct 16, 2026
Thanks! This ticket describes several separate problems:
It helps a lot if each one has its own ticket, so they can be tracked and fixed separately.
Possibly related: #441, #392 and #379.
[-]TK: tracking guide does not stop at the cursor, and the axis does not alternate[/-][+]TK: the tracking run does not follow the cursor, and the guide / axis / marker are wrong[/+]