Skip to content

SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.

macOS: Fusion navigation preset does not support Shift + two-finger orbit (#3446)

Peppe Bergqvist04dc68d98808
diff --git a/ROADMAP.md b/ROADMAP.md
index 57e054c7fe..3a12903f57 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -70,6 +70,9 @@ M6 navigation preferences include **Touchpad**: Shift + pointer movement pans, A
pointer movement orbits without a mouse button, and vertical scrolling zooms. Other presets
retain their saved two-finger scroll preference; camera motion is available through
`view.navigate` and modifier-aware `ui.move` automation.
+With the **Fusion** preset and two-finger pan enabled, two fingers pan and Shift + two fingers
+orbit freely, with pinch zoom and mouse bindings unchanged. The shared navigation handler
+applies the same gestures to model and Render views and blocks orbit on flat pages.
UI redesign (#2016): the File/start view (#2027) uses shared light/dark navigation,
action tiles, recent rows and sample cards, with recovery review and Save As/Export
diff --git a/assets/locales/de.json b/assets/locales/de.json
index 35299233ae..61385fd774 100644
--- a/assets/locales/de.json
+++ b/assets/locales/de.json
@@ -2023,7 +2023,7 @@
"ui.top": "Oben",
"ui.torus": "Torus",
"ui.total_angle": "Gesamtwinkel",
- "ui.trackpad_pan_tip": "Trackpad-Gesten schwenken (aus: sie zoomen wie das Rad); Mausrad zoomt, Daumenrad schwenkt seitlich, Pinch zoomt immer",
+ "ui.trackpad_pan_tip": "Scrollen mit zwei Fingern verschiebt die Ansicht; bei Fusion dreht Umschalt + zwei Finger die Ansicht. Aus: Scrollen zoomt. Mausrad und Pinch-Geste zoomen; das Daumenrad verschiebt seitlich.",
"ui.trim": "Kürzen",
"ui.twist": "Verdrehung",
"ui.two_finger_scroll_pans": "Zwei-Finger-Scrollen schwenkt",
diff --git a/assets/locales/en.json b/assets/locales/en.json
index 3683eda315..c28d1abc54 100644
--- a/assets/locales/en.json
+++ b/assets/locales/en.json
@@ -2246,7 +2246,7 @@
"ui.top": "Top",
"ui.torus": "Torus",
"ui.total_angle": "Total angle",
- "ui.trackpad_pan_tip": "Trackpad gestures pan (off: they zoom like the wheel); mouse wheel zooms, thumb wheel pans sideways, pinch always zooms",
+ "ui.trackpad_pan_tip": "Two-finger scroll pans; in Fusion, Shift + two fingers orbits. Off: scroll zooms. Mouse wheel and pinch zoom; thumb wheel pans sideways.",
"ui.trim": "Trim",
"ui.twist": "Twist",
"ui.two_finger_scroll_pans": "Two-finger scroll pans",
diff --git a/assets/locales/ja.json b/assets/locales/ja.json
index 8bc760d78e..002c0bad48 100644
--- a/assets/locales/ja.json
+++ b/assets/locales/ja.json
@@ -2246,7 +2246,7 @@
"ui.top": "上面",
"ui.torus": "トーラス",
"ui.total_angle": "合計角度",
- "ui.trackpad_pan_tip": "トラックパッドのジェスチャーでパンします(オフの場合はマウスホイールと同様にズームします)。マウスホイールはズーム、サイドホイールは横方向のパン、ピンチ操作は常にズームになります。",
+ "ui.trackpad_pan_tip": "2本指スクロールでパンします。FusionではShift + 2本指スクロールで回転します。オフの場合はスクロールでズームします。マウスホイールとピンチ操作はズーム、サイドホイールは横方向のパンになります。",
"ui.trim": "トリム",
"ui.twist": "ねじれ",
"ui.two_finger_scroll_pans": "2本指スクロールでパン",
diff --git a/assets/locales/ko.json b/assets/locales/ko.json
index 5c2932a27e..c0dd6d1a76 100644
--- a/assets/locales/ko.json
+++ b/assets/locales/ko.json
@@ -1898,7 +1898,7 @@
"ui.top": "상면",
"ui.torus": "토러스",
"ui.total_angle": "전진 각도",
- "ui.trackpad_pan_tip": "트랙패드 제스처로 이동(끔: 휠처럼 확대/축소). 마우스 휠은 확대/축소, 엄지 휠은 좌우 이동, 핀치는 항상 확대/축소합니다",
+ "ui.trackpad_pan_tip": "두 손가락 스크롤로 화면을 이동합니다. Fusion에서는 Shift + 두 손가락 스크롤로 회전합니다. 끄면 스크롤로 확대/축소합니다. 마우스 휠과 핀치는 확대/축소하고, 엄지 휠은 좌우로 이동합니다.",
"ui.trim": "트림",
"ui.twist": "비틀림",
"ui.two_finger_scroll_pans": "두 손가락 스크롤로 이동",
diff --git a/assets/locales/zh.json b/assets/locales/zh.json
index c7ab0a2486..2fdfbcce8c 100644
--- a/assets/locales/zh.json
+++ b/assets/locales/zh.json
@@ -2246,7 +2246,7 @@
"ui.top": "上视",
"ui.torus": "圆环体",
"ui.total_angle": "总角度",
- "ui.trackpad_pan_tip": "触控板手势用于平移(关闭:像滚轮一样缩放);鼠标滚轮缩放、拇指滚轮横向平移、双指捏合始终缩放",
+ "ui.trackpad_pan_tip": "双指滚动平移;Fusion 预设下,Shift + 双指滚动旋转视图。关闭时滚动缩放。鼠标滚轮和双指捏合缩放,拇指滚轮横向平移。",
"ui.trim": "修剪",
"ui.twist": "扭转",
"ui.two_finger_scroll_pans": "双指滚动平移",
diff --git a/crates/ui-egui/src/navigation.rs b/crates/ui-egui/src/navigation.rs
index 3988cdb25d..eabf858983 100644
--- a/crates/ui-egui/src/navigation.rs
+++ b/crates/ui-egui/src/navigation.rs
@@ -101,6 +101,7 @@ pub(crate) struct RawWheel {
point_zoom: f32,
/// Bracketed two-finger scroll in points (pans when panning is on).
pan: egui::Vec2,
+ shift_pan: egui::Vec2,
/// Bare horizontal input in points (thumb wheel: always pans sideways).
mouse_pan: egui::Vec2,
}
@@ -124,7 +125,7 @@ pub(crate) fn route_wheel_vertical(points: egui::Vec2, modifiers: egui::Modifier
/// moves inside one pan, bare `Move` input is a mouse (vertical zooms,
/// horizontal pans). Only point input brackets; line/page input always zooms.
pub(crate) fn immediate_wheel(input: &egui::InputState, options: egui::InputOptions, page_height: f32, gesture: &mut bool) -> RawWheel {
- let mut out = RawWheel { zoom: 0.0, point_zoom: 0.0, pan: egui::Vec2::ZERO, mouse_pan: egui::Vec2::ZERO };
+ let mut out = RawWheel { zoom: 0.0, point_zoom: 0.0, pan: egui::Vec2::ZERO, shift_pan: egui::Vec2::ZERO, mouse_pan: egui::Vec2::ZERO };
for event in &input.events {
let egui::Event::MouseWheel { unit, delta, modifiers, phase } = event else { continue };
if modifiers.matches_any(options.zoom_modifier) {
@@ -152,7 +153,13 @@ pub(crate) fn immediate_wheel(input: &egui::InputState, options: egui::InputOpti
egui::MouseWheelUnit::Page => *delta * page_height,
};
if point && *gesture {
- out.pan += points;
+ if modifiers.shift && !modifiers.ctrl && !modifiers.command && !modifiers.alt {
+ if points.is_finite() {
+ out.shift_pan += points.clamp(vec2(-1e4, -1e4), vec2(1e4, 1e4));
+ }
+ } else {
+ out.pan += points;
+ }
// Legacy path only (ignored while panning is on).
out.point_zoom += route_wheel_vertical(points, *modifiers, options);
} else if point {
@@ -405,7 +412,8 @@ pub(crate) fn handle(app: &mut SolveApp, ui: &mut egui::Ui, rect: Rect, resp: &e
let options = ui.ctx().options(|o| o.input_options);
let page_height = ui.ctx().viewport_rect().height();
let raw = ui.input(|i| immediate_wheel(i, options, page_height, &mut app.viewport.trackpad_gesture));
- if trackpad_pan && raw.pan != egui::Vec2::ZERO {
+ let trackpad_orbit = trackpad_pan && app.preferences.nav == "fusion";
+ if trackpad_pan && (raw.pan != egui::Vec2::ZERO || raw.shift_pan != egui::Vec2::ZERO) {
// Swallow egui's smoothing tail while the trackpad runs (a wheel-only
// tail ends the moment trackpad input starts; mixed input is rare).
app.viewport.trackpad_until_idle = true;
@@ -415,7 +423,8 @@ pub(crate) fn handle(app: &mut SolveApp, ui: &mut egui::Ui, rect: Rect, resp: &e
// (its End was lost); a stuck flag would pan future mouse input.
app.viewport.trackpad_gesture = false;
}
- let mut pan = if trackpad_pan { raw.pan } else { egui::Vec2::ZERO } + raw.mouse_pan;
+ let mut pan =
+ if trackpad_pan { raw.pan + if trackpad_orbit { egui::Vec2::ZERO } else { raw.shift_pan } } else { egui::Vec2::ZERO } + raw.mouse_pan;
pan.x *= crate::prefs::pan_sign_x(app);
let scroll = if app.viewport.wheel_zoom_raw_until_idle || (trackpad_pan && app.viewport.trackpad_until_idle) {
raw.zoom + if trackpad_pan { 0.0 } else { raw.point_zoom }
@@ -466,6 +475,11 @@ pub(crate) fn handle(app: &mut SolveApp, ui: &mut egui::Ui, rect: Rect, resp: &e
app.cam.pan(f64::from(pan.x), f64::from(pan.y), h);
}
}
+ if inside && caps.orbit && trackpad_orbit && raw.shift_pan != egui::Vec2::ZERO {
+ app.cancel_view_animation();
+ app.viewport.orbit_free = None;
+ orbit(app, rect, f64::from(raw.shift_pan.x), f64::from(raw.shift_pan.y), hover);
+ }
// A left press with the preset's keys (Alias: Shift+Alt) navigates until the button is let
// go (kept through the release frame, so the end of the drag doesn't select either).
if primary_pressed && inside {
@@ -584,7 +598,7 @@ pub(crate) fn handle(app: &mut SolveApp, ui: &mut egui::Ui, rect: Rect, resp: &e
}
}
}
- if !dragging && motion.is_none() {
+ if !dragging && motion.is_none() && !(trackpad_orbit && app.viewport.trackpad_gesture) {
app.viewport.orbit_pivot = None;
app.viewport.orbit_from = None;
}
@@ -1288,6 +1302,21 @@ mod tests {
}
}
assert!(panned, "{preset}: some binding pans");
+ frame(&mut app, Modifiers::NONE, vec![Event::PointerMoved(at)]);
+ for modifiers in [Modifiers::NONE, Modifiers::SHIFT] {
+ let before = app.cam;
+ for phase in [egui::TouchPhase::Start, egui::TouchPhase::Move, egui::TouchPhase::End] {
+ frame(
+ &mut app,
+ modifiers,
+ vec![Event::MouseWheel { unit: egui::MouseWheelUnit::Point, delta: vec2(20.0, -10.0), modifiers, phase }],
+ );
+ }
+ assert_eq!(app.cam.back(), before.back(), "{preset}: trackpad turned a flat page");
+ if preset == "fusion" && modifiers.shift {
+ assert_eq!(app.cam, before, "orbit gestures must do nothing on a flat page");
+ }
+ }
let before = app.cam;
let wheel = Event::MouseWheel {
unit: egui::MouseWheelUnit::Line,
diff --git a/crates/ui-egui/src/prefs/navigation.rs b/crates/ui-egui/src/prefs/navigation.rs
index 0aef83d89a..da449d0023 100644
--- a/crates/ui-egui/src/prefs/navigation.rs
+++ b/crates/ui-egui/src/prefs/navigation.rs
@@ -119,11 +119,8 @@ pub(super) fn show(app: &mut SolveApp, ui: &mut egui::Ui, t: &Tokens) {
setting::smooth_wheel_zoom(app, ui);
let touchpad = app.preferences.nav == TOUCHPAD_NAV;
ui.add_enabled_ui(!touchpad, |ui| {
- ui_kit::checkbox(ui, crate::i18n::tr_label("Two-finger scroll pans"), &mut app.preferences.trackpad_pan).on_hover_text(if touchpad {
- crate::i18n::tr("nav.touchpad.scroll")
- } else {
- crate::i18n::tr_label("Trackpad gestures pan (off: they zoom like the wheel); mouse wheel zooms, thumb wheel pans sideways, pinch always zooms")
- });
+ ui_kit::checkbox(ui, crate::i18n::tr_label("Two-finger scroll pans"), &mut app.preferences.trackpad_pan)
+ .on_hover_text(if touchpad { crate::i18n::tr("nav.touchpad.scroll") } else { crate::i18n::tr("ui.trackpad_pan_tip") });
});
setting::radial_context_menu(app, ui);
});
diff --git a/crates/ui-egui/src/viewport.rs b/crates/ui-egui/src/viewport.rs
index acb2c41d66..d730cb72fa 100644
--- a/crates/ui-egui/src/viewport.rs
+++ b/crates/ui-egui/src/viewport.rs
@@ -7005,6 +7005,152 @@ mod tests {
assert_ne!(h.app.cam.target, legacy_target);
}
+ #[test]
+ fn fusion_shift_two_finger_scroll_orbits_without_pan_zoom_or_drift() {
+ let mut h = crate::scenario::Harness::new();
+ h.app.preferences.nav = "fusion".into();
+ h.app.preferences.orbit_around = crate::prefs::OrbitAround::ViewCentre;
+ h.call("engine.execute", json!({"command":"solid.box","params":{"length":40,"width":30,"height":20}}));
+ h.call("ui.camera", json!({"fit":true}));
+ h.call("ui.move", json!({"x":800,"y":500}));
+ h.step(&json!({"shot":"fusion-trackpad-before"})).unwrap();
+ let before = h.app.cam;
+ for phase in [egui::TouchPhase::Start, egui::TouchPhase::Move, egui::TouchPhase::End] {
+ h.app.synthetic.push(egui::Event::MouseWheel {
+ unit: egui::MouseWheelUnit::Point,
+ delta: vec2(60.0, -40.0),
+ modifiers: egui::Modifiers::SHIFT,
+ phase,
+ });
+ h.frame();
+ }
+ assert_ne!(h.app.cam.back(), before.back(), "Shift + two fingers must orbit");
+ assert_eq!(h.app.cam.target, before.target, "orbit must not pan");
+ assert_eq!(h.app.cam.half_height(), before.half_height(), "orbit must not zoom");
+ let after = h.app.cam;
+ h.frames(90);
+ assert_eq!(h.app.cam, after, "orbit must not drift once input stops");
+ h.step(&json!({"shot":"fusion-trackpad-orbit"})).unwrap();
+ for phase in [egui::TouchPhase::Start, egui::TouchPhase::Move, egui::TouchPhase::End] {
+ h.app.synthetic.push(egui::Event::MouseWheel {
+ unit: egui::MouseWheelUnit::Point,
+ delta: vec2(60.0, -40.0),
+ modifiers: egui::Modifiers::NONE,
+ phase,
+ });
+ h.frame();
+ }
+ assert_eq!(h.app.cam.back(), after.back(), "unmodified two fingers must not orbit");
+ assert_ne!(h.app.cam.target, after.target, "unmodified two fingers must pan");
+ h.step(&json!({"shot":"fusion-trackpad-pan"})).unwrap();
+ }
+
+ #[test]
+ fn fusion_trackpad_uses_each_events_modifiers_and_can_switch_mid_gesture() {
+ let mut h = crate::scenario::Harness::new();
+ h.app.preferences.nav = "fusion".into();
+ h.app.preferences.orbit_around = crate::prefs::OrbitAround::ViewCentre;
+ h.call("ui.move", json!({"x":800,"y":500}));
+ let gesture = |phase, modifiers| egui::Event::MouseWheel { unit: egui::MouseWheelUnit::Point, delta: vec2(20.0, -10.0), modifiers, phase };
+ h.app.synthetic.push(gesture(egui::TouchPhase::Start, egui::Modifiers::NONE));
+ h.frame();
+ for modifiers in [egui::Modifiers::NONE, egui::Modifiers::SHIFT, egui::Modifiers::NONE, egui::Modifiers::SHIFT] {
+ let before = h.app.cam;
+ h.app.synthetic.push(gesture(egui::TouchPhase::Move, modifiers));
+ h.frame();
+ assert_eq!(h.app.cam.half_height(), before.half_height());
+ if modifiers.shift {
+ let mut expected = before;
+ expected.orbit(20.0, -10.0);
+ assert_eq!(h.app.cam, expected, "Shift must orbit continuously, without snapping");
+ } else {
+ assert_eq!(h.app.cam.back(), before.back());
+ assert_ne!(h.app.cam.target, before.target);
+ }
+ }
+ let before = h.app.cam;
+ let raw = egui::RawInput {
+ screen_rect: Some(Rect::from_min_size(Pos2::ZERO, vec2(1600.0, 1000.0))),
+ time: Some(h.ctx.input(|input| input.time) + 1.0 / 60.0),
+ focused: true,
+ events: vec![gesture(egui::TouchPhase::Move, egui::Modifiers::NONE), gesture(egui::TouchPhase::Move, egui::Modifiers::SHIFT)],
+ ..Default::default()
+ };
+ let mut output = h.ctx.run_ui(raw, |ui| {
+ h.app.logic(ui.ctx());
+ h.app.ui(ui);
+ });
+ output.textures_delta.clear();
+ assert_ne!(h.app.cam.target, before.target, "unmodified events in the same frame still pan");
+ assert_ne!(h.app.cam.back(), before.back(), "Shift events in the same frame still orbit");
+ h.app.synthetic.push(gesture(egui::TouchPhase::Cancel, egui::Modifiers::SHIFT));
+ h.frame();
+ assert!(!h.app.viewport.trackpad_gesture);
+ assert!(h.app.viewport.orbit_pivot.is_none());
+ assert!(h.app.viewport.orbit_from.is_none());
+ let after = h.app.cam;
+ h.frames(90);
+ assert_eq!(h.app.cam, after);
+ }
+
+ #[test]
+ fn shift_trackpad_orbit_preserves_other_presets_and_legacy_scroll() {
+ for preset in crate::prefs::NAV_PRESETS.iter().map(|preset| preset.id) {
+ for trackpad_pan in [true, false] {
+ let mut h = crate::scenario::Harness::new();
+ h.app.preferences.nav = preset.into();
+ h.app.preferences.trackpad_pan = trackpad_pan;
+ h.app.preferences.zoom_to_cursor = false;
+ h.call("ui.move", json!({"x":800,"y":500}));
+ let before = h.app.cam;
+ for phase in [egui::TouchPhase::Start, egui::TouchPhase::Move, egui::TouchPhase::End] {
+ h.app.synthetic.push(egui::Event::MouseWheel {
+ unit: egui::MouseWheelUnit::Point,
+ delta: vec2(20.0, -10.0),
+ modifiers: egui::Modifiers::SHIFT,
+ phase,
+ });
+ h.frame();
+ }
+ if preset == "fusion" && trackpad_pan {
+ assert_ne!(h.app.cam.back(), before.back());
+ } else {
+ assert_eq!(h.app.cam.back(), before.back(), "{preset}, pan={trackpad_pan}: must not orbit");
+ if h.app.preferences.trackpad_pans() {
+ assert_ne!(h.app.cam.target, before.target, "{preset}: Shift still pans");
+ assert_eq!(h.app.cam.half_height(), before.half_height());
+ }
+ }
+ }
+ }
+ }
+
+ #[test]
+ fn fusion_shift_trackpad_respects_orbit_centre_and_rejects_invalid_motion() {
+ let mut h = crate::scenario::Harness::new();
+ h.app.preferences.nav = "fusion".into();
+ h.app.preferences.orbit_around = crate::prefs::OrbitAround::Origin;
+ h.app.cam.target = Vec3::new(30.0, 20.0, 10.0);
+ h.call("ui.move", json!({"x":800,"y":500}));
+ let before = h.app.cam;
+ let gesture = |phase, delta| egui::Event::MouseWheel { unit: egui::MouseWheelUnit::Point, delta, modifiers: egui::Modifiers::SHIFT, phase };
+ h.app.synthetic.push(gesture(egui::TouchPhase::Start, egui::Vec2::ZERO));
+ h.frame();
+ h.app.synthetic.push(gesture(egui::TouchPhase::Move, vec2(20.0, -10.0)));
+ h.frame();
+ let mut expected = before;
+ expected.orbit_about(20.0, -10.0, Vec3::ZERO);
+ assert_eq!(h.app.cam, expected);
+ for delta in [vec2(f32::NAN, 1.0), vec2(1.0, f32::INFINITY)] {
+ h.app.synthetic.push(gesture(egui::TouchPhase::Move, delta));
+ h.frame();
+ assert_eq!(h.app.cam, expected);
+ }
+ h.app.synthetic.push(gesture(egui::TouchPhase::End, egui::Vec2::ZERO));
+ h.frame();
+ assert!(h.app.viewport.orbit_from.is_none());
+ }
+
#[test]
fn pinch_gesture_zooms_and_ignores_noise() {
let mut h = crate::scenario::Harness::new();
@@ -7039,8 +7185,7 @@ mod tests {
assert!(app.preferences.trackpad_pan);
crate::help::run(&mut app, &ctx, "shortcuts");
let mut time = 0.0;
- let pan =
- |phase| egui::Event::MouseWheel { unit: egui::MouseWheelUnit::Point, delta: vec2(40.0, -20.0), modifiers: egui::Modifiers::NONE, phase };
+ let pan = |phase, modifiers| egui::Event::MouseWheel { unit: egui::MouseWheelUnit::Point, delta: vec2(40.0, -20.0), modifiers, phase };
let mut frame = |app: &mut SolveApp, pointer: Option<Pos2>, events: Vec<egui::Event>| {
time += 1.0 / 60.0;
let mut input = events;
@@ -7068,24 +7213,30 @@ mod tests {
let over = window.center();
let height = app.cam.half_height();
let target = app.cam.target;
+ let direction = app.cam.back();
// A full gesture plus pinch over the dialog stays in the popup.
- for events in
- [vec![pan(egui::TouchPhase::Start)], vec![pan(egui::TouchPhase::Move), egui::Event::Zoom(1.2)], vec![pan(egui::TouchPhase::End)]]
- {
- frame(&mut app, Some(over), events);
- assert_eq!(app.cam.half_height(), height, "trackpad input over a dialog must stay in the popup");
- assert_eq!(app.cam.target, target);
+ for modifiers in [egui::Modifiers::NONE, egui::Modifiers::SHIFT] {
+ for events in [
+ vec![pan(egui::TouchPhase::Start, modifiers)],
+ vec![pan(egui::TouchPhase::Move, modifiers), egui::Event::Zoom(1.2)],
+ vec![pan(egui::TouchPhase::End, modifiers)],
+ ] {
+ frame(&mut app, Some(over), events);
+ assert_eq!(app.cam.half_height(), height, "trackpad input over a dialog must stay in the popup");
+ assert_eq!(app.cam.target, target);
+ assert_eq!(app.cam.back(), direction, "Shift + trackpad over a dialog must not orbit");
+ }
}
let exposed = pos2(40.0, 700.0);
assert!(!window.contains(exposed));
frame(&mut app, Some(exposed), Vec::new());
- frame(&mut app, Some(exposed), vec![pan(egui::TouchPhase::Start)]);
- frame(&mut app, Some(exposed), vec![pan(egui::TouchPhase::Move)]);
+ frame(&mut app, Some(exposed), vec![pan(egui::TouchPhase::Start, egui::Modifiers::NONE)]);
+ frame(&mut app, Some(exposed), vec![pan(egui::TouchPhase::Move, egui::Modifiers::NONE)]);
assert_eq!(app.cam.half_height(), height);
assert_ne!(app.cam.target, target, "the exposed viewport still pans");
frame(&mut app, Some(exposed), vec![egui::Event::Zoom(1.2)]);
assert_ne!(app.cam.half_height(), height, "the exposed viewport still pinch-zooms");
- frame(&mut app, Some(exposed), vec![pan(egui::TouchPhase::End)]);
+ frame(&mut app, Some(exposed), vec![pan(egui::TouchPhase::End, egui::Modifiers::NONE)]);
}
#[test]
diff --git a/docs/book/src/guide/ui-tour.md b/docs/book/src/guide/ui-tour.md
index 68c84f831f..e651c8b2a3 100644
--- a/docs/book/src/guide/ui-tour.md
+++ b/docs/book/src/guide/ui-tour.md
@@ -30,6 +30,10 @@
preset in Preferences switches to SolidWorks, Inventor, Alias, Blender, Tinkercad, OpenSCAD or Touchpad style). On a
trackpad, pinch zooms and two-finger scroll pans (Navigation › Two-finger scroll pans;
off: scroll zooms like the wheel); mouse wheels zoom and the thumb wheel pans sideways.
+ With the **Fusion** preset and two-finger pan enabled, hold **Shift** while scrolling with
+ two fingers to orbit freely instead of panning. No click is needed. Releasing Shift returns
+ to panning, even during the same gesture. Shift does not snap this gesture to standard views;
+ orbit gestures do nothing on flat 2D pages. Other presets keep their existing scroll behaviour.
Shift+middle orbits freely
in the default and Inventor presets. In every preset, Ctrl+left drag (Cmd on macOS) that starts
on empty space orbits; a Ctrl+click still adds to the selection. Shift+right-drag snaps to the nearest standard or