Repository navigation
editor: center swipe orbit and enable continuous trackpad zoom - #4893
Conversation
Perf gateHead host slug: Perf gate — seeding new baselineNo baseline at |
3e4d371 to
d9f5ae7
Compare
|
Rebased onto the rewritten parent: the stack below was replayed onto master after #4882 merged, so this layer's owned commit ( |
|
Re-replayed once more onto #4890's follow-up commit (format and doc-size fixes). This layer rewrites the trackpad paragraph of |
d9f5ae7 to
d9829c0
Compare
Perf gateHead host slug: perf comparison: ec70f10 → c09813d-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
164.152 → 161.664 (-1.5%) |
| RENDER | ComputeLightVolume |
27.204 → 23.709 (-12.8%) ↓ |
| RENDER | CanvasToFramebuffer |
12.842 → 11.306 (-12.0%) ↓ |
| RENDER | BakeSunShadowMap |
1.225 → 6.866 (+460.5%) ⚠ |
| RENDER | ComputeSunShadow |
4.687 → 4.956 (+5.7%) |
| UPDATE | PropagateTransform |
2.792 → 2.807 (+0.5%) |
| UPDATE | FogRevealEval |
2.312 → 2.584 (+11.8%) ⚠ |
| RENDER | LightingToTrixel |
3.394 → 2.530 (-25.5%) ↓ |
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
630.881 → 616.141 (-2.3%) |
| RENDER | ComputeLightVolume |
23.692 → 21.641 (-8.7%) ↓ |
| RENDER | ComputeSunShadow |
11.466 → 13.094 (+14.2%) ⚠ |
| RENDER | CanvasToFramebuffer |
12.352 → 10.733 (-13.1%) ↓ |
| RENDER | BakeSunShadowMap |
1.089 → 5.561 (+410.7%) ⚠ |
| RENDER | LightingToTrixel |
6.399 → 5.278 (-17.5%) ↓ |
| RENDER | ComputeVoxelAO |
5.526 → 4.653 (-15.8%) ↓ |
| UPDATE | PropagateTransform |
2.609 → 2.680 (+2.7%) |
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
167.005 → 181.101 (+8.4%) |
| RENDER | ComputeSunShadow |
25.352 → 28.445 (+12.2%) ⚠ |
| RENDER | ComputeLightVolume |
23.052 → 23.910 (+3.7%) |
| RENDER | LightingToTrixel |
14.689 → 15.663 (+6.6%) |
| RENDER | CanvasToFramebuffer |
11.851 → 11.980 (+1.1%) |
| RENDER | BakeSunShadowMap |
1.836 → 9.468 (+415.7%) ⚠ |
| UPDATE | PropagateTransform |
3.727 → 3.947 (+5.9%) |
| RENDER | FogToTrixel |
3.556 → 3.776 (+6.2%) |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
859.274 → 857.461 (-0.2%) |
| RENDER | ComputeLightVolume |
22.681 → 22.060 (-2.7%) |
| RENDER | ComputeSunShadow |
7.820 → 11.083 (+41.7%) ⚠ |
| RENDER | CanvasToFramebuffer |
11.706 → 10.792 (-7.8%) ↓ |
| RENDER | BakeSunShadowMap |
1.105 → 6.560 (+493.7%) ⚠ |
| RENDER | LightingToTrixel |
4.901 → 4.564 (-6.9%) ↓ |
| RENDER | ComputeVoxelAO |
4.129 → 4.050 (-1.9%) |
| UPDATE | PropagateTransform |
3.837 → 3.816 (-0.5%) |
Perf gateHead host slug: perf comparison: a3d54c9 → 423752e-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
247.886 → 256.824 (+3.6%) |
| RENDER | ComputeLightVolume |
32.632 → 34.812 (+6.7%) |
| RENDER | CanvasToFramebuffer |
17.085 → 17.879 (+4.6%) |
| RENDER | BakeSunShadowMap |
9.662 → 10.228 (+5.9%) |
| RENDER | ComputeSunShadow |
7.624 → 8.040 (+5.5%) |
| UPDATE | PropagateTransform |
4.519 → 4.682 (+3.6%) |
| UPDATE | FogRevealEval |
4.190 → 4.256 (+1.6%) |
| RENDER | ComputeVoxelAO |
3.904 → 4.054 (+3.8%) |
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1025.715 → 1030.154 (+0.4%) |
| RENDER | ComputeLightVolume |
29.338 → 29.215 (-0.4%) |
| RENDER | ComputeSunShadow |
21.864 → 22.069 (+0.9%) |
| RENDER | CanvasToFramebuffer |
15.908 → 16.323 (+2.6%) |
| RENDER | ComputeVoxelAO |
9.249 → 9.384 (+1.5%) |
| RENDER | BakeSunShadowMap |
8.417 → 8.647 (+2.7%) |
| RENDER | LightingToTrixel |
8.371 → 8.437 (+0.8%) |
| UPDATE | PropagateTransform |
4.405 → 4.477 (+1.6%) |
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
288.688 → 295.934 (+2.5%) |
| RENDER | ComputeSunShadow |
55.366 → 60.643 (+9.5%) |
| RENDER | LightingToTrixel |
36.271 → 38.547 (+6.3%) |
| RENDER | ComputeLightVolume |
32.424 → 33.196 (+2.4%) |
| RENDER | BakeSunShadowMap |
22.377 → 23.170 (+3.5%) |
| RENDER | CanvasToFramebuffer |
17.441 → 17.570 (+0.7%) |
| RENDER | FogToTrixel |
7.107 → 7.318 (+3.0%) |
| UPDATE | PropagateTransform |
6.121 → 6.096 (-0.4%) |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1457.395 → 1462.064 (+0.3%) |
| RENDER | ComputeLightVolume |
29.173 → 29.227 (+0.2%) |
| RENDER | ComputeSunShadow |
18.725 → 18.670 (-0.3%) |
| RENDER | CanvasToFramebuffer |
16.205 → 16.518 (+1.9%) |
| UPDATE | PropagateTransform |
6.104 → 9.267 (+51.8%) ⚠ |
| RENDER | BakeSunShadowMap |
8.811 → 8.693 (-1.3%) |
| RENDER | ComputeVoxelAO |
8.092 → 7.752 (-4.2%) |
| RENDER | LightingToTrixel |
6.600 → 6.857 (+3.9%) |
The evidence directories now live at media commit a8215a2; master keeps no committed PR screenshots. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
d9829c0 to
37c3594
Compare
Perf gateHead host slug: perf comparison: a990fd6 → df3a055-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
240.443 → 283.280 (+17.8%) ⚠ |
| RENDER | ComputeSunShadow |
31.232 → 41.045 (+31.4%) ⚠ |
| RENDER | ComputeLightVolume |
29.633 → 32.235 (+8.8%) |
| RENDER | LightingToTrixel |
18.523 → 24.687 (+33.3%) ⚠ |
| RENDER | CanvasToFramebuffer |
15.822 → 19.008 (+20.1%) ⚠ |
| RENDER | BakeSunShadowMap |
1.167 → 10.859 (+830.5%) ⚠ |
| UPDATE | PropagateTransform |
4.949 → 6.152 (+24.3%) ⚠ |
| RENDER | FogToTrixel |
4.669 → 5.698 (+22.0%) ⚠ |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1218.093 → 1466.729 (+20.4%) ⚠ |
| RENDER | ComputeLightVolume |
25.504 → 30.869 (+21.0%) ⚠ |
| RENDER | CanvasToFramebuffer |
14.310 → 17.853 (+24.8%) ⚠ |
| RENDER | ComputeSunShadow |
9.793 → 15.780 (+61.1%) ⚠ |
| RENDER | BakeSunShadowMap |
0.198 → 7.207 (+3539.9%) ⚠ |
| RENDER | ComputeVoxelAO |
5.222 → 6.364 (+21.9%) ⚠ |
| UPDATE | PropagateTransform |
4.911 → 6.273 (+27.7%) ⚠ |
| RENDER | LightingToTrixel |
4.476 → 5.832 (+30.3%) ⚠ |
unmatched cells
only in head: target=IRLuaPerfGrid,zoom=1,sub_mode=full,sub_base=1, target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
Perf gateHead host slug: perf comparison: 2f0f893 → 5dd4a8b-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
155.605 → 159.789 (+2.7%) |
| RENDER | ComputeLightVolume |
23.730 → 24.281 (+2.3%) |
| RENDER | CanvasToFramebuffer |
11.479 → 11.524 (+0.4%) |
| RENDER | BakeSunShadowMap |
6.753 → 7.293 (+8.0%) |
| RENDER | ComputeSunShadow |
4.924 → 5.109 (+3.8%) |
| UPDATE | PropagateTransform |
2.752 → 2.794 (+1.5%) |
| RENDER | LightingToTrixel |
2.735 → 2.731 (-0.1%) |
| UPDATE | FogRevealEval |
2.349 → 2.535 (+7.9%) |
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
594.720 → 592.805 (-0.3%) |
| RENDER | ComputeLightVolume |
21.725 → 21.924 (+0.9%) |
| RENDER | ComputeSunShadow |
13.222 → 13.147 (-0.6%) |
| RENDER | CanvasToFramebuffer |
11.138 → 10.676 (-4.1%) |
| RENDER | BakeSunShadowMap |
6.059 → 5.732 (-5.4%) ↓ |
| RENDER | LightingToTrixel |
5.535 → 5.193 (-6.2%) ↓ |
| RENDER | ComputeVoxelAO |
4.965 → 4.675 (-5.8%) ↓ |
| UPDATE | PropagateTransform |
2.529 → 2.842 (+12.4%) ⚠ |
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
174.134 → 162.118 (-6.9%) ↓ |
| RENDER | ComputeSunShadow |
23.916 → 23.608 (-1.3%) |
| RENDER | ComputeLightVolume |
23.033 → 20.295 (-11.9%) ↓ |
| RENDER | LightingToTrixel |
14.300 → 13.730 (-4.0%) |
| RENDER | CanvasToFramebuffer |
11.948 → 11.489 (-3.8%) |
| RENDER | BakeSunShadowMap |
8.083 → 8.064 (-0.2%) |
| UPDATE | PropagateTransform |
3.815 → 3.606 (-5.5%) ↓ |
| RENDER | FogToTrixel |
3.579 → 3.387 (-5.4%) ↓ |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
827.933 → 850.702 (+2.8%) |
| RENDER | ComputeLightVolume |
21.308 → 21.800 (+2.3%) |
| RENDER | ComputeSunShadow |
11.119 → 10.983 (-1.2%) |
| RENDER | CanvasToFramebuffer |
10.617 → 10.719 (+1.0%) |
| RENDER | BakeSunShadowMap |
6.161 → 6.007 (-2.5%) |
| RENDER | LightingToTrixel |
4.223 → 4.376 (+3.6%) |
| RENDER | ComputeVoxelAO |
3.877 → 3.917 (+1.0%) |
| UPDATE | PropagateTransform |
3.787 → 3.856 (+1.8%) |
jakildev
left a comment
There was a problem hiding this comment.
Review — editor: center swipe orbit and enable continuous trackpad zoom
Verdict: approve
Standalone PR (baseRefName == master), MERGEABLE/CLEAN, no Closes #N (so no acceptance grading). Every check on head 176ac21aa completed SUCCESS (linux-build, header-checks, instruction-size, comment-refs, format-check, fleet-tests, render-harness-tests, python-lint, perf-gate, whitespace). The perf-gate comment for this head shows no regression (frame avg within ±3% on all four cells).
Big picture
The PR does what its summary says: horizontal swipe orbits the construction-plane centre, Option/Alt-drag keeps the pointer pivot, vertical swipe is a continuous log2 zoom clamped to kTrixelCanvasZoomMin/Max, and Home / RESET VIEW / Cmd+0 share one resetEditorView(). The approach is sound — it reuses OrbitAnchor (new beginAt), focusEditorPoints framing (new shared moveEditorViewBy) and the existing continuous-zoom renderer rather than adding a parallel path. Engine-side changes are small and each has a test:
kModifierSuperadded to the mask,heldKeyModifiers(),kModifierAll, the LuaIRInput.Modifier.SUPERtable, andmodifierString(CMD/OPTION labels on macOS). The existing exhaustive-mask tests (keyboard_dispatch_test.cpp:708,widget_keyboard_test.cpp:445) iterate tokModifierAll, so they widen automatically.WIDGET_APPLY_TEXT_INPUT/WIDGET_APPLY_NUMBER_FIELDignore typed keys while Ctrl/Super is held; two new tests pin Cmd+S / Cmd+0 not typing into a focused field and Cmd+Left/Right moving the caret.WIDGET_INPUT's "typed modifiers" predicate is now(held & ~Shift) == 0, which is the same set as before plus Super.- Metal gather fix in
system_trixel_to_framebuffer.hpp:1187: I checked the arithmetic againstir_platform.hpp(screenYDirection_is −1 on OpenGL, +1 on Metal).displayTranslation * (1, −sign.y)israw·(1,−1)on both backends, so OpenGL is unchanged and Metal now matches the doc's "gather quad centre(1,−1)". The rewrittencamera_zoom_policy_testnegates Y unconditionally and recovers the sameraw, which is consistent on both. - Help overlay two-column split keeps a command's wrapped description with its shortcut and falls back to one column if splitting is not shorter;
textLineRect/builtTextindex across both columns consistently. - Document-workflow segment count (+3) and
checks[](+3) agree;kViewportScrollShotCountis 14 on non-Mac so the Mac-only Cmd+0 shot (index 14) is never indexed there.
Nits (follow-up)
main.cppresetEditorView()returns early underauthoringInteractionBlocked(), so Home is now a no-op mid-stroke where it previously always reset. Fine as a design choice; worth one line increations/editors/voxel_editor/CLAUDE.mdnext to the Home description.- Behaviour note for the engine-wide mask: on Windows/Linux, holding the Super/Windows key now fails exact-match hotkeys (
hotkey.modifiers_ != heldModifiers_insystem_widget_input.hpp) that previously fired. Probably desired, not covered by a test; no action required. - Validation evidence is macOS/Metal only (OpenGL is covered by the green Linux build, not by a run of
viewport_scroll/screen_alignment). The cross-host smoke label below records that debt.
Praise
- Moving the long validator and session-contract text into
docs/design/editor-validation.mdand shrinking the CLAUDE.md paragraph is the right fix for the instruction-size budget. scripts/editor-screen-alignment.pynow rejects integer zoom at the two fractional poses, with a negative unit test, so the alignment oracle cannot silently pass on a snapped zoom.
Checklist notes
- ECS / ownership / globals: no new per-entity
getComponentin ticks, no header globals, no manager pointers stored.constructionPlane()usesgetComponentOptionaloutside any system tick. - Math: new code uses
IRMath::log2/pow/clamp/isFinite; noglm::/std::math outsideengine/math/. - Render: no shader or std140 changes; the only render-path change is the Metal gather Y sign above.
- Comments: no issue-number or history comments added (
comment-refsgreen).
Test plan the author should run before merge
- Hands-on trackpad feel check on macOS (called out as outstanding in the body).
- A Windows/OpenGL run of
viewport_scrollandscreen_alignmentwhen a Windows host picks up the smoke label.
Escalation: please Opus-recheck before merge (touches: engine/command, engine/input, engine/prefabs/irreden/render).
🤖 Reviewed by Claude Sonnet 5.5 (review-pr skill)
Opus recheck required: touches public module headers ir_command.hpp / ir_input.hpp / ir_input_types.hpp (engine-wide modifier mask widened to include Super, changing kModifierAll semantics for every command and action blocked-mask) and system_trixel_to_framebuffer.hpp (Metal gather placement sign, render path I could only verify arithmetically, not by running).
jakildev
left a comment
There was a problem hiding this comment.
Opus recheck — editor: center swipe orbit and enable continuous trackpad zoom
Verdict: approve
Head 176ac21aa, standalone on master. Sonnet's first pass is confirmed. This pass covers the two items Sonnet escalated: the wider engine modifier mask, and the Metal gather Y sign.
Metal gather sign (system_trixel_to_framebuffer.hpp, canvasGatherTranslation)
Sonnet checked the arithmetic but could not run it. I agree with the fix, and I can now say why it is right instead of only that it is consistent:
- The gather stage works in a Y-up framebuffer on both backends.
placeGatherQuadbuildsortho(0,w,0,h)with no backend term. BothcanvasPositionFromPixelimplementations (GLSLir_iso_common.glsl, MSLir_iso_common.metal) map(frag - centre) * (1, -1), and the Metal path first converts its fragment position togl_FragCoordform. So a gather translation must not carrykIsoToScreenSign. That sign belongs to the screen blit (cameraRasterScreenResidual), which keeps it. - The other placements into the same framebuffer already follow this.
cameraRasterDetachedOffset(continuous) andcameraSnappedDetachedOffset(floor(fract(c)·p) * (1, -1)) have no backend term, and they feedENTITY_CANVAS_TO_FRAMEBUFFER, the per-axis scatter, anddepth_tested_primitives.hpp. Before this PR the continuous main-canvas gather was the only one carryingkIsoToScreenSign, so on Metal it moved opposite to every detached canvas whenever the camera sat between cells. The fix givesraw * (1, -1)on both backends, and OpenGL is unchanged. - Other consumers:
shape_sample_probe.hpp::gatherMapgoes through the samecanvasGatherTranslation→placeGatherQuadpair, so the probe and the render stay in step.shape_debug::logZoomCalibrationStatereadsgather.xonly.entity_canvas_hitbox_testcalls the unchangedcameraRasterGatherTranslationdirectly. Nothing else reads the changed value. - The rewritten
ACameraFollowingCanvasPlacesFromTheFramerecoversfloor(H) + phasethrough(placed.x, -placed.y)on either backend, so it pins the new contract rather than a backend-specific value.
Engine modifier mask (kModifierSuper, kModifierAll)
Sonnet flagged the change to kModifierAll. Having traced every consumer, I agree it is safe:
action_registry.cpp:59: the blocked mask iskModifierAll & ~chord, so a plain-key action no longer fires under Cmd/Super. On macOS this is what stops Cmd+S from also triggering anSaction. Intended.action_registry.cpp:99,widget_hotkeys.hpp:105,lua_widget_bindings.hpp:822: validators now accept bit 3. Older keymaps never stored it, so they still load.system_actions_window.hpp:391and the exhaustive loops inkeyboard_dispatch_test.cpp:708/widget_keyboard_test.cpp:445widen automatically.KeyModifierMaskisuint8_t, and thekey & 0xFFFF/modspacking inWIDGET_INPUThas room for bit 3.- GLFW's Cocoa backend forwards key-up events while Command is held, which is the known trap for Cmd chords. The author's native Cmd+0 / Cmd+S sessions exercise it.
Nits (follow-up)
- Possible latent Metal issue on the snapped policy. This PR does not cause it, and I have not run it.
snappedGatherTranslationstill returnscameraSubPixelOffsets(...).framebufferGamePxOffset_, which multiplies bykIsoToScreenSign. Under the snapped zoom policy on Metal, the main-canvas gather is thereforeraw * (1, +1)whilecameraSnappedDetachedOffsetisraw * (1, -1). For the same raw value they differ by2·floor(fract(c.y)·zoom)framebuffer pixels in Y. That is zero at zoom 1 or with the camera on a cell boundary, and non-zero mid-cell at zoom 2 and above. The editor now enables continuous zoom, so this PR never hits it. Default-policy demos with detached canvases on macOS would. It needs a Metal pan capture at zoom 4 with the camera mid-cell; if confirmed, it deserves its own issue. WIDGET_APPLY_TEXT_INPUTnow ignores the whole key set under Ctrl/Super, including Backspace, Delete, the arrows, Home and End. Before, Ctrl+Left behaved as plain Left and Ctrl+Backspace deleted one character. Only macOS Cmd+Left/Right get replacements. That fits "the field owns no chords", but on Windows/Linux, Ctrl+Backspace/arrow now do nothing where word-delete/word-move would be expected.HelpOverlay::builtText()returnslayout_.text_ + secondColumn_.text_. This only works becauseappendRowalways ends a row with a newline; otherwise column one's last line would merge into column two's first.textLineRectalready indexes the columns separately, so a one-line comment onbuiltText, or inserting'\n'explicitly, would make this robust.- Sonnet's nits stand: Home is a no-op under
authoringInteractionBlocked(), and holding Super on Windows/Linux now fails exact-match hotkeys.
Not run by this pass
I did not build or run anything on this host. The Metal judgement rests on the convention trace above plus the author's native macOS screen_alignment (70/70) and seven-pose PNG grading. fleet:needs-windows-smoke is already set for the OpenGL run of viewport_scroll / screen_alignment.
🤖 Reviewed by Claude Opus 5.5 (role-opus-reviewer)
Summary
Horizontal trackpad swipes orbit the center of the editing plane and mark it in gold. Option/Alt-drag still orbits the surface or floor under the pointer. Reset View, Home, and Cmd+0 on Mac recenter the plane in the unobstructed work area and return to 4×. Set
--home-zoom 0to preserve the current scale or supply a different reset zoom.Vertical swipes use the existing continuous renderer from 1× to 64×. Scroll distance changes zoom proportionally at every scale;
--scroll-zoom-ratecontrols sensitivity. Authored LODs still switch at their existing thresholds. Separate work tracks configurable thresholds and hysteresis (#4891) and comparing filters at silhouettes and pick boundaries (#4892).Mac document shortcuts accept Command, with the active platform's labels in editor help. Text fields own their shortcuts while editing. Long F1 lists wrap into two columns and fit in the default 1600×900 editor.
Continuous zoom exposed a Metal placement error at 180°: the gather used the screen Y direction when positioning the texture in the intermediate framebuffer. The two stages now use their respective coordinate conventions. OpenGL placement is unchanged.
Original implementation validation
Built Debug and Release IRVoxelEditor on macOS Metal.
Native viewport_scroll passed 15/15 with default reset zoom and with zoom preservation. Starting from 30° and 67°, swipes produced 4.269×, 8.451× and 3.668×; Home, Reset View and Cmd+0 centered the plane within zero measured window points.
Native click_orbit (70/70), local_canvas (10/10), lod_workflow (9/9), document_workflow (25/25), and nway_symmetry (8/8). The sessions inject input into the native editor; physical trackpad feel still needs a hands-on check.
137 focused camera, raster placement, input, and editor tests passed. Native zoom calibration measured 21 silhouette widths in 21 zoom settings from 2× through 4×, with no backward step.
Native screen_alignment passed 70/70 and the independent pixel comparisons passed all seven poses. At 180°, all five face probes now agree with the rendered normals; out-of-band outline pixels fell from four to zero. All seven poses had zero ghost leakage and an exact floor-to-placed-cell silhouette match. The grader rejects integer zoom at the two fractional poses; its 18 unit tests pass.
Stack validation — 2026-11-06
Replayed the owned editor commits onto merged master
f7b1dbfa2, preserving the four-PR chain. Range-diff inspection found no lost runtime hunks. Moved detailed validation/session contracts intodocs/design/editor-validation.mdto fix instruction-size CI. Corrected the newly inherited document-transition fixture's stale File/Discard click centers and made composite Save As repeatable.Validated the combined stack at
683a6017c8a7be6964c5872282cba5d982c839a3on macOS/Metal:Follow-up integration — 2026-11-07
The two parked follow-ups are reconciled in dependency order: #4903 → #4908 → #4918. #4908 maps Actions to the current tools and integer fields, isolates modal input, and keeps remapped badges synchronized. #4918 preserves the Shapes/dock UI gate and diagnoses replay clicks swallowed by UI.
Current evidence: 273 focused unit tests pass. The combined native registry covers 75 cases and 1,524 assertions; all 73 pre-existing case verdicts and failure sets are unchanged, and both new click-occlusion controls behave as expected. Six baseline failures remain: fill_ghost, click_orbit, mode_preview, component_field_key (layout findings), text_input_command_capture, and test_recipe_reapply. These are disclosed with exact results in #4918; this is not an all-green editor suite. Per-case comparison. The overlap gate is
overlapwith clean trial merges and no blockers. This PR is ready for review in stack order; no merge or fleet approval is claimed.Overlap gate
fleet-pr-overlap --self-pr 4893: VERDICT: overlap (exit 1). All shared-path trial merges are clean; no blocking or base-conflict rows.Upstream rows: none.
#4895, #4896, #4903, #4908, #4918: identical clean grades on 30 shared paths
The gate reports the following rows for #4895; the same paths are graded
cleanfor #4896, #4903, #4908, #4918.