From d65c87b9c965c544ee4e466d69a615ad4799dd2a Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Tue, 17 Nov 2026 14:26:45 -0800 Subject: [PATCH] Control bar: a click on the X, Y, W or H label opens the Transform panel A click on the Control bar's X:, Y:, W: or H: label, with objects selected or with the Artboard tool, opens the Transform panel in a popover under the label, as the Transform link does; a second click closes it. The help page (https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=374) describes these labels as another way to bring up the Transform panel. The click no longer gives the field the keyboard. A drag on the label still scrubs the field, and the labels are not tab stops, so Tab still moves from one field to the next. --- crates/ui-egui/src/chrome/control_bar.rs | 13 +++-- crates/ui-egui/src/chrome/tests.rs | 56 ++++++++++++++++++++ crates/ui-egui/src/panels/artboards.rs | 9 +++- crates/ui-egui/src/panels/artboards/tests.rs | 26 +++++++++ crates/ui-egui/src/panels/transform.rs | 8 ++- crates/ui-egui/src/scrub.rs | 33 +++++++++--- crates/ui-egui/src/widgets.rs | 2 +- crates/ui-egui/src/widgets/labels.rs | 8 +++ docs/target-app-parity.md | 3 +- 9 files changed, 144 insertions(+), 14 deletions(-) diff --git a/crates/ui-egui/src/chrome/control_bar.rs b/crates/ui-egui/src/chrome/control_bar.rs index ff7d58dfec..2ecc09f5a3 100644 --- a/crates/ui-egui/src/chrome/control_bar.rs +++ b/crates/ui-egui/src/chrome/control_bar.rs @@ -188,9 +188,9 @@ const INLINE_FIELD_WIDTH: f32 = 80.0; /// The keys and labels of the Control bar's inline X/Y/W/H fields, in their order. const INLINE_FIELDS: [(&str, &str); 4] = [("x", "X:"), ("y", "Y:"), ("width", "W:"), ("height", "H:")]; -/// The label of an inline X/Y/W/H field. +/// The label of an inline X/Y/W/H field, underlined: a click on it opens the Transform panel. fn inline_label(t: &Tokens, lbl: &str) -> egui::RichText { - egui::RichText::new(tl!(lbl)).size(12.0).color(t.text_dim) + egui::RichText::new(tl!(lbl)).size(12.0).color(t.text).underline() } /// The room the Control bar's inline X/Y/W/H fields take: their labels as drawn in the current @@ -217,17 +217,20 @@ fn inline_transform_fields(app: &mut VectorcraftApp, ui: &mut Ui, t: &Tokens, un // The W/H link sits between W and H, but is made after H so Tab goes from W // straight to H and finds the link after it. let mut link_room = None; + let mut labels = Vec::with_capacity(INLINE_FIELDS.len()); for ((k, lbl), (v, offset)) in INLINE_FIELDS.into_iter().zip(values) { if k == "height" { link_room = Some(crate::panels::transform::constrain_link_room(ui)); } - widgets::field_label(ui, inline_label(t, lbl)); + // A click on the label opens the Transform panel, as the Transform link does; a drag scrubs. + let label = widgets::field_panel_label(ui, inline_label(t, lbl)).on_hover_text(tl!("Transform options")); let (id, shown) = (("cb", k), Some(v - offset)); let set = if matches!(k, "width" | "height") { widgets::size_field(ui, id, shown, units, INLINE_FIELD_WIDTH) } else { widgets::num_field(ui, id, shown, units, INLINE_FIELD_WIDTH) }; + labels.push(label); if let Some(nv) = set { let params = match k { "x" => json!({"x": reference.bounds_xy(nv + offset, 0.0).0, "reference": refi, "copy": copy}), @@ -241,6 +244,10 @@ fn inline_transform_fields(app: &mut VectorcraftApp, ui: &mut Ui, t: &Tokens, un let id = ui.scope_id().with("cb-constrain-link"); crate::panels::transform::constrain_link_at(app, ui, ui.interact(room, id, Sense::click())); } + // After the fields, which each take the label before them as their own. + for label in &labels { + crate::panels::transform::popover(app, label); + } } /// The size of the Control bar's Align, Distribute and area type vertical alignment buttons, and diff --git a/crates/ui-egui/src/chrome/tests.rs b/crates/ui-egui/src/chrome/tests.rs index 61c67e6a70..501ce263bb 100644 --- a/crates/ui-egui/src/chrome/tests.rs +++ b/crates/ui-egui/src/chrome/tests.rs @@ -4651,3 +4651,59 @@ fn the_control_bar_shows_the_inline_transform_fields_only_when_they_fit() { assert!(groups_seen.iter().all(|s| *s), "{count} objects: a wide bar shows every group: {groups_seen:?}"); } } + +/// A click on the Control bar's X:, Y:, W: or H: label opens the Transform panel in a popover under +/// it, as the Transform link does, and a second click closes it. The click leaves the selection and +/// its bounds as they were, and no field takes the keyboard. A drag on W: still scrubs the width and +/// opens nothing. +#[test] +fn the_control_bars_x_y_w_and_h_labels_open_the_transform_panel() { + crate::i18n::set_current(crate::i18n::Lang::EN); + let mut app = crate::VectorcraftApp::new(Session::new(), Default::default()); + app.run("file.new", json!({"width": 400, "height": 300})).unwrap(); + let id = app.run("shape.rectangle", json!({"x": 20, "y": 20, "width": 40, "height": 30})).unwrap()["id"].clone(); + app.run("select.set", json!({ "ids": [id] })).unwrap(); + let ctx = egui::Context::default(); + ctx.enable_accesskit(); + crate::theme::install_fonts(&ctx); + let screen = egui::Rect::from_min_size(egui::Pos2::ZERO, egui::vec2(2000.0, 600.0)); + let frame = |app: &mut crate::VectorcraftApp, events| control_bar_frame_in(app, &ctx, screen, events); + let state = |app: &crate::VectorcraftApp| { + let st = app.session.active().unwrap(); + let b = st.doc.bounds_of(&st.selection.objects, false).unwrap(); + (st.selection.objects.len(), [b.x0, b.y0, b.x1, b.y1]) + }; + // The label's own node: a label whose text is `name` (the field it names is named the same). + let label = |nodes: &[egui::accesskit::Node], name: &str| { + let n = nodes.iter().find(|n| n.role() == egui::accesskit::Role::Label && n.value() == Some(name)); + let b = n.and_then(|n| n.bounds()).unwrap_or_else(|| panic!("no {name} label")); + egui::pos2(((b.x0 + b.x1) / 2.0) as f32, ((b.y0 + b.y1) / 2.0) as f32) + }; + // The Transform panel's Rotate field is not on the bar itself. + let open = |nodes: &[egui::accesskit::Node]| nodes.iter().any(|n| n.label() == Some("Rotate")); + let before = state(&app); + frame(&mut app, vec![]); + for name in ["X:", "Y:", "W:", "H:"] { + let nodes = frame(&mut app, vec![]); + assert!(!open(&nodes), "{name}: the Transform panel is closed at first"); + let at = label(&nodes, name); + frame(&mut app, vec![egui::Event::PointerMoved(at), press_at(at, true)]); + frame(&mut app, vec![press_at(at, false)]); + assert!(open(&frame(&mut app, vec![])), "{name}: a click on the label opens the Transform panel"); + assert_eq!(ctx.memory(|m| m.focused()), None, "{name}: no field took the keyboard"); + assert_eq!(state(&app), before, "{name}: the selection and its bounds stay"); + frame(&mut app, vec![egui::Event::PointerMoved(at), press_at(at, true)]); + frame(&mut app, vec![press_at(at, false)]); + assert!(!open(&frame(&mut app, vec![])), "{name}: a second click closes it"); + } + let at = label(&frame(&mut app, vec![]), "W:"); + frame(&mut app, vec![egui::Event::PointerMoved(at), press_at(at, true)]); + for i in 1..=4 { + frame(&mut app, vec![egui::Event::PointerMoved(at + egui::vec2(5.0 * i as f32, 0.0))]); + } + frame(&mut app, vec![press_at(at + egui::vec2(20.0, 0.0), false)]); + let nodes = frame(&mut app, vec![]); + assert!(!open(&nodes), "a drag on W: opens nothing"); + let (_, [x0, _, x1, _]) = state(&app); + assert!(x1 - x0 > before.1[2] - before.1[0], "a drag on W: scrubs the width: {:?} to {:?}", before.1, [x0, x1]); +} diff --git a/crates/ui-egui/src/panels/artboards.rs b/crates/ui-egui/src/panels/artboards.rs index b7f9e25df5..94560b9f76 100644 --- a/crates/ui-egui/src/panels/artboards.rs +++ b/crates/ui-egui/src/panels/artboards.rs @@ -149,11 +149,14 @@ pub(crate) fn control_bar(app: &mut VectorcraftApp, ui: &mut Ui, options: bool, // The W/H link sits between W and H, but is made after H so Tab goes from W straight to H and // finds the link after it, as in the object Control bar. let mut link_room = None; + let mut labels = Vec::with_capacity(4); for (k, lbl, v) in [("x", "X:", rp.x - origin.x), ("y", "Y:", rp.y - origin.y), ("width", "W:", r.width()), ("height", "H:", r.height())] { if k == "height" { link_room = Some(super::transform::constrain_link_room(ui)); } - widgets::field_label(ui, egui::RichText::new(tl!(lbl)).size(12.0).color(t.text_dim)); + // A click on the label opens the Transform panel, as the Transform link does; a drag scrubs. + let text = egui::RichText::new(tl!(lbl)).size(12.0).color(t.text).underline(); + labels.push(widgets::field_panel_label(ui, text).on_hover_text(tl!("Transform options"))); let set = if matches!(k, "width" | "height") { widgets::size_field(ui, ("cb-ab", k), Some(v), units, 80.0) } else { @@ -173,6 +176,10 @@ pub(crate) fn control_bar(app: &mut VectorcraftApp, ui: &mut Ui, options: bool, let id = ui.scope_id().with("cb-ab-constrain-link"); super::transform::constrain_link_at(app, ui, ui.interact(room, id, egui::Sense::click())); } + // After the fields, which each take the label before them as their own. + for label in &labels { + super::transform::popover(app, label); + } true } diff --git a/crates/ui-egui/src/panels/artboards/tests.rs b/crates/ui-egui/src/panels/artboards/tests.rs index b53faf87c0..b52d1da682 100644 --- a/crates/ui-egui/src/panels/artboards/tests.rs +++ b/crates/ui-egui/src/panels/artboards/tests.rs @@ -957,6 +957,32 @@ fn the_control_bar_resizes_the_active_artboard_about_the_reference_point() { assert_eq!(boards(&app).0, want, "Artboard 2 widens from its left edge"); } +/// With the Artboard tool, a click on the Control bar's X:, Y:, W: or H: label opens the Transform +/// panel's artboard fields in a popover under it, as the Transform link does, and a second click +/// closes it; the artboards stay as they were and no field takes the keyboard. +#[test] +fn the_artboard_control_bars_x_y_w_and_h_labels_open_the_transform_panel() { + let mut app = VectorcraftApp::new(Session::new(), Default::default()); + app.run("file.new", json!({"width": 200, "height": 100, "units": "Points"})).unwrap(); + app.select_tool("artboard"); + let ctx = bar_context(); + let before = boards(&app); + // The bar draws one W:, and the popover's artboard fields another. + let ws = |texts: &[(String, egui::Rect)]| texts.iter().filter(|(t, _)| t == "W:").count(); + for label in ["X:", "Y:", "W:", "H:"] { + let texts = bar_texts(&mut app, &ctx); + assert_eq!(ws(&texts), 1, "{label}: the bar alone: {texts:?}"); + let at = text_rect(&texts, label).center(); + bar_click(&mut app, &ctx, at); + let texts = bar_texts(&mut app, &ctx); + assert_eq!(ws(&texts), 2, "{label}: the Transform panel opens: {texts:?}"); + assert_eq!(ctx.memory(|m| m.focused()), None, "{label}: no field took the keyboard"); + bar_click(&mut app, &ctx, at); + assert_eq!(ws(&bar_texts(&mut app, &ctx)), 1, "{label}: a second click closes it"); + } + assert_eq!(boards(&app), before, "the artboards stay"); +} + /// The Control bar's Portrait and Landscape buttons swap the active artboard's width and height, /// its top-left corner staying put, in one undo step each. #[test] diff --git a/crates/ui-egui/src/panels/transform.rs b/crates/ui-egui/src/panels/transform.rs index 1bce03c53d..2309351c87 100644 --- a/crates/ui-egui/src/panels/transform.rs +++ b/crates/ui-egui/src/panels/transform.rs @@ -515,7 +515,13 @@ pub(crate) fn polygon_rows(app: &mut VectorcraftApp, ui: &mut Ui, n: &Node, live /// popover under it, as the Stroke link does with the Stroke panel. pub fn link(app: &mut VectorcraftApp, ui: &mut Ui) { let resp = ui.link(link_text(ui)).on_hover_text(tl!("Transform options")); - widgets::popover(&resp, resp.clicked(), |ui| { + popover(app, &resp); +} + +/// The Transform panel in a popover under `resp`, which a click on it toggles: the Control bar's +/// Transform [`link`], and its X:, Y:, W: and H: labels. +pub fn popover(app: &mut VectorcraftApp, resp: &egui::Response) { + widgets::popover(resp, resp.clicked(), |ui| { ui.set_width(300.0); show(app, ui); }); diff --git a/crates/ui-egui/src/scrub.rs b/crates/ui-egui/src/scrub.rs index 5a0a2ff4f9..e5350b0541 100644 --- a/crates/ui-egui/src/scrub.rs +++ b/crates/ui-egui/src/scrub.rs @@ -3,7 +3,8 @@ //! field's value by one unit every [`PX_PER_STEP`] points, ten with Shift and a tenth with //! Ctrl/Cmd, as the arrow keys step a focused field; a click on the label focuses the field. A //! label that is a link (the Control bar's `Stroke:` and `Opacity:`, which open their panels; -//! #4088) scrubs its field the same way, and a click on it still follows the link. The text box +//! #4088) or opens a panel (its `X:`, `Y:`, `W:` and `H:`, which open the Transform panel) scrubs +//! its field the same way, and a click on it still opens the panel. The text box //! itself never scrubs, and a field without a label doesn't. //! //! The panels apply each value the drag passes as they apply a typed one, so the art follows the @@ -117,12 +118,14 @@ struct Label { pass: u64, /// The label is a link, this widget: a click follows it instead of focusing the field. link: Option, + /// The label is a tab stop of its own (a link; not a [`panel_label`]). + tab_stop: bool, } /// Note the label (text or icon) drawn at `rect`: a numeric field drawn right after it on the /// same line takes it as its label, which scrubs the field. pub(crate) fn note_label(ui: &Ui, rect: Rect) { - note(ui, rect, None); + note(ui, Label { rect, pass: 0, link: None, tab_stop: false }); } /// A link that labels the numeric field drawn after it (it opens a panel when clicked): a drag on @@ -135,13 +138,27 @@ pub(crate) fn link_label(ui: &mut Ui, text: egui::RichText) -> Response { ui.link(text) }) .inner; - note(ui, link.rect, Some(link.id)); + note(ui, Label { rect: link.rect, pass: 0, link: Some(link.id), tab_stop: true }); link } -fn note(ui: &Ui, rect: Rect, link: Option) { +/// A field's label that opens a panel when clicked (the Control bar's X:, Y:, W: and H:, which open +/// the Transform panel): a drag on it scrubs the field after it, and a click stays the label's, as +/// with [`link_label`]. Unlike a link it is not a tab stop of its own, so Tab still moves from one +/// field to the next. The pointing hand shows over it. +pub(crate) fn panel_label(ui: &mut Ui, text: egui::RichText) -> Response { + let label = ui.add(egui::Label::new(text).selectable(false).sense(Sense::CLICK)); + if label.hovered() { + ui.ctx().set_cursor_icon(CursorIcon::PointingHand); + } + note(ui, Label { rect: label.rect, pass: 0, link: Some(label.id), tab_stop: false }); + label +} + +/// Keep `label` for the field after it, as drawn this pass. +fn note(ui: &Ui, label: Label) { let pass = ui.ctx().cumulative_pass_nr(); - ui.data_mut(|d| d.insert_temp(label_id(), Label { rect, pass, link })); + ui.data_mut(|d| d.insert_temp(label_id(), Label { pass, ..label })); } /// The label noted just before the field at `field`, on its line. @@ -169,9 +186,11 @@ pub(crate) fn field(ui: &Ui, field: Id, rect: Rect, text: &str, value: Option ui.interact(label.rect, link, Sense::drag()), + Some(link) if label.tab_stop => ui.interact(label.rect, link, Sense::drag()), + Some(link) => ui.interact(label.rect, link, Sense::DRAG), None => ui.interact(label.rect, field.with("scrub-label"), Sense::CLICK | Sense::DRAG), }; drag(ui, &resp, field, text, value, decimals, label.link.is_some()).map(|v| v.max(*bounds.start()).min(*bounds.end())) diff --git a/crates/ui-egui/src/widgets.rs b/crates/ui-egui/src/widgets.rs index fb291b8525..6d22f0e6a2 100644 --- a/crates/ui-egui/src/widgets.rs +++ b/crates/ui-egui/src/widgets.rs @@ -55,7 +55,7 @@ pub use dropdowns::{ #[cfg(test)] pub(crate) use dropdowns::{menu_floor, menu_room_either}; pub use labels::{dim_label, dim_name, divider, field_label, label_row, link_label, section_header, section_toggle, section_toggle_name, subheader}; -pub(crate) use labels::{dim_label_width, label_field, take_previous_label, text_width}; +pub(crate) use labels::{dim_label_width, field_panel_label, label_field, take_previous_label, text_width}; pub(crate) use numeric::{ANY, round_to, set_bare_numbers_are_points, typed_unit}; pub use numeric::{ SpinPick, mixed_field, mixed_field_named, num_field, num_field_live, num_field_named, num_field_refusing, num_field_within, diff --git a/crates/ui-egui/src/widgets/labels.rs b/crates/ui-egui/src/widgets/labels.rs index 221d418a46..419cd46cf4 100644 --- a/crates/ui-egui/src/widgets/labels.rs +++ b/crates/ui-egui/src/widgets/labels.rs @@ -144,6 +144,14 @@ pub fn field_label(ui: &mut Ui, text: impl Into) -> Response { resp } +/// A field's label (`text` as given) that a click follows to a panel ([`scrub::panel_label`]): +/// before a numeric field it scrubs the field and names it. +pub fn field_panel_label(ui: &mut Ui, text: egui::RichText) -> Response { + let resp = scrub::panel_label(ui, text); + remember_next_label(ui, resp.id); + resp +} + /// [`dim_label`] for a name that is user or file data (a swatch, style, artboard or font name): /// shown as it is, never translated. pub fn dim_name(ui: &mut Ui, text: &str) -> Response { diff --git a/docs/target-app-parity.md b/docs/target-app-parity.md index 04b25c70eb..4e7a6bd212 100644 --- a/docs/target-app-parity.md +++ b/docs/target-app-parity.md @@ -1141,9 +1141,10 @@ Moved from the ROADMAP's "Shipped so far" on 2026-10-10. Update it when a featur - A plain step of a number field (Up/Down or a wheel notch) goes to the next whole unit in its direction and a Ctrl/Cmd step goes to the next tenth, so 5.1 mm steps up to 6 mm and down to 5 mm (#2881). A Shift step adds or takes ten and keeps the fraction. - In the number, text and color fields of the panels and the Control bar, Shift+Enter (Shift+Return) applies the value and keeps the field active with its value selected; a text box of several lines takes it as a line break. In a dialog, Shift+Enter applies the value and confirms the dialog, as Enter does. - The Pattern Options panel's Name field and the name fields that a double-click opens in the Layers, Artboards and Asset Export panels take Shift+Enter (Shift+Return) the same way: it applies the name and keeps the field active with the name selected. - - Scrubby labels (#400, beyond Illustrator, as in Photoshop): dragging a numeric field's label left or right (the ↔ cursor shows over it) steps the value one unit every 2 points (Shift: ten, Ctrl/Cmd: a tenth; counts stay whole), in the field's unit and within its limits, applied live as the art follows; the whole drag is one undo step and Escape puts the value back. A click on the label focuses the field; the text box itself never scrubs, and a field with no label doesn't. Text labels before a field (Transform, Properties, Control bar, Stroke, Transparency, form rows in dialogs) and the Character and Paragraph panels' icons act as labels, and so do the links that label a field (the Control bar's Stroke: and Opacity:, the Properties panel's Stroke), which a click still follows to their panel (#4088). Preferences › General › Scrub Numeric Fields by Dragging (on by default) turns it off. + - Scrubby labels (#400, beyond Illustrator, as in Photoshop): dragging a numeric field's label left or right (the ↔ cursor shows over it) steps the value one unit every 2 points (Shift: ten, Ctrl/Cmd: a tenth; counts stay whole), in the field's unit and within its limits, applied live as the art follows; the whole drag is one undo step and Escape puts the value back. A click on the label focuses the field; the text box itself never scrubs, and a field with no label doesn't. Text labels before a field (Transform, Properties, Control bar, Stroke, Transparency, form rows in dialogs) and the Character and Paragraph panels' icons act as labels, and so do the links that label a field (the Control bar's Stroke: and Opacity:, the Properties panel's Stroke), which a click still follows to their panel (#4088), and the Control bar's X:, Y:, W: and H:, which a click follows to the Transform panel. Preferences › General › Scrub Numeric Fields by Dragging (on by default) turns it off. - In the Transform panel, the Properties panel's Transform section and the Control bar, Alt+Enter (Option+Return) applies a value to a copy of the selection and selects the copy, in one undo step. With anchor points selected with Direct Selection it applies the value to them, as Enter does. Ctrl/Cmd+Enter in W or H applies the value and scales the selection proportionally with the link off. With the Artboard tool, it scales the active artboard proportionally. A percentage typed alone in W or H (`50%`) is that share of the size the field shows, and the link and Ctrl/Cmd+Enter keep the proportions as with a length (#2401). - The Control bar's underlined Transform link opens the Transform panel in a popover under it (reference point, X/Y/W/H, Rotate and Shear with their icons and angle presets, flips, shape properties, Scale Corners and Scale Strokes & Effects), as its Stroke link does the Stroke panel; X/Y/W/H also show inline while the bar has room. The reference point locator is nine squares, the outer eight joined around the box. As VectorCraft's own keyboard rule, the locator is one tab stop in the Control bar popover, the Transform panel, the Properties panel and the dialogs, the Arrange Tools dialogs included. While it has the focus it shows an outline, and ←, →, ↑ and ↓ move the reference point one square, stopping at the edges (`the_reference_point_grid_is_one_tab_stop`, `arrow_keys_move_the_reference_point`, `the_reference_point_locator_is_one_tab_stop_and_arrows_move_it`). + - A click on the Control bar's underlined X:, Y:, W: or H: label opens the Transform panel in a popover under that label, as the Transform link does, and a second click, Escape or a click elsewhere closes it; with the Artboard tool the popover shows the artboard's fields. The help page () describes these four labels as another way to bring up the Transform panel. VectorCraft's own rules: the click does not give the field the keyboard, a drag on the label still scrubs the field, and the labels are not tab stops, so Tab still moves from one field to the next and the Transform link stays the keyboard's way to the panel (`the_control_bars_x_y_w_and_h_labels_open_the_transform_panel`, `the_artboard_control_bars_x_y_w_and_h_labels_open_the_transform_panel`). - The Control bar's inline X and Y show the point of the selection's box that the Transform panel's locator chose, counted from the ruler origin, and a new X or Y moves that point there; a new W or H resizes the selection about it. The help page () describes typing X and Y in the Transform panel or the Control panel after choosing the point on the locator. Use Registration Point for Symbol applies to the inline fields as it does to the panel's. Choosing another point changes only what the fields show; each field edit is one undo step (`panels::transform::tests::the_control_bar_fields_use_the_shared_reference_point`). - In isolation mode the Control bar has an Exit Isolation Mode button (`object.exitIsolation`), except while a pattern is edited. Outside isolation mode, with one group, compound path, path, image, mesh or placed file selected, it has an Isolate Selected Object button (`object.isolate`), which also isolates a path inside a group that Direct Selection selected. - The canvas context menu has Isolate Selected Path (`object.isolate`) when the selection is one path, a path selected inside a group or a compound path included, as the [help page](https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=324) lists it beside Isolate Selected Group. As VectorCraft's own rule, neither item shows for two or more objects, or for an object `object.isolate` refuses: a hidden or locked object, one in a hidden or locked group or layer, a guide while Lock Guides is on, and, while a symbol is edited, an object outside the symbol's art (`single_path_context_item_enters_isolation`, `isolation_context_item_follows_selected_kind`, `isolation_context_item_skips_objects_that_cannot_be_isolated`).