Skip to content

Orbit by holding V from any tool - #84

Open
furilo wants to merge 2 commits into
BenchUp3D:mainfrom
furilo:implement-issue-59-hold-orbit-all-tools
Open

furilo wants to merge 2 commits into
BenchUp3D:mainfrom
furilo:implement-issue-59-hold-orbit-all-tools

Conversation

@furilo

@furilo furilo commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Closes #59.

As agreed in the issue discussion, this uses hold V + pointer movement instead of Cmd/Ctrl, so it works the same way on every platform and does not collide with Ctrl+click on macOS or with modifier toggles in existing tools.

Behavior

  • Holding V and moving the pointer orbits the camera from any tool (Select, Move, Push/Pull, Line, Tape Measure, Erase, and so on), without clicking. Holding Shift + V pans instead.
  • Releasing V resumes the current tool and any pending operation. For example, a line in progress keeps its starting point and a Move edit keeps its state.
  • A click or drag that was in progress when V is pressed is cancelled on release, so it never places geometry, changes the selection, or applies an edit.
  • V does not start orbiting when Cmd, Ctrl or Alt is held, so Cmd/Ctrl + V still pastes. It also does not start while a dimension is being typed (letters keep belonging to the value), while a text field or dialog has focus, or in Walk.
  • The held V never types into a pending dimension.
  • If a user has assigned V to a tool as a custom shortcut, a tap without pointer movement still selects that tool, while holding V and moving orbits.
  • Hover navigation is released if the window loses focus or the key release is missed.
  • The existing Cmd/Ctrl hover orbit for drawing tools is unchanged.

Settings and UI

  • New persisted setting under Settings → Navigation, “Hold V and move the pointer to orbit”, enabled by default. It is stored in GeneralSettings, and older saved preferences load with it enabled.
  • The keyboard shortcuts reference (F1) lists “Orbit from any tool” and “Pan from any tool” while the setting is enabled.
  • The status bar shows “Move the cursor to orbit · Hold Shift to pan · Release V to resume” while orbiting with V.
  • All new text is translated in every catalog (en_US, es_419, it_IT, pt_BR, vi_VN, zh_CN).

Tests

New regression tests cover orbiting and panning from several tools, preserving a pending line and its dimension input, the disabled setting and Cmd+V, tap versus hold with a custom V shortcut, cancelling an interrupted selection click, and persisting the setting without a model edit. They all pass.

The full benchup-app suite currently has 29 failing tests on main. This branch fails exactly the same 29 and adds no new failures.

Hold V and move the pointer to orbit without clicking, or hold Shift + V
to pan, from every tool. Releasing V resumes the current tool and any
pending operation. Cmd/Ctrl + V still pastes, a dimension being typed
keeps its letters, and a tap still selects a custom V tool shortcut.

Add a persisted Navigation setting, enabled by default, list the gesture
in the keyboard shortcuts reference, and show a status hint while
orbiting. Closes BenchUp3D#59.
…ld-orbit-all-tools

# Conflicts:
#	crates/benchup-app/src/app_tests.rs

This branch has not been deployed

No deployments
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.

Orbit by holding Cmd/Ctrl from any tool

1 participant