mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 01:34:29 +01:00
Restore future shape settings when Control bar edits cancel
This commit is contained in:
1 parent
37fc94d291
commit
bcb9b7b4cd
3 files changed
+296
-6
No files matched your search
@@ -1,11 +1,12 @@
|
||||
//! The 3D Box and customizable shapes add-on in the interface: its submenu (Object › Plug-ins ›
|
||||
//! 3D Box), which selects the 3D Box tool, and the context-sensitive Control bar options shown
|
||||
//! when a shape tool (`rectangle`, `roundedRectangle`, `ellipse`, `polygon`, `star`, `spiral`,
|
||||
//! `box3d`) is active.
|
||||
//! `box3d`) is active. Canceling a numeric edit restores its future-tool options, including coupled
|
||||
//! scalar and per-corner radii; a retired edit cannot restore options into a different tool.
|
||||
|
||||
use std::ops::RangeInclusive;
|
||||
|
||||
use craft::behavior::{IconId, NumberCodec};
|
||||
use craft::behavior::{CancelReason, EditEvent, GestureId, IconId, NumberCodec};
|
||||
use craft::menu::Node;
|
||||
use craft::ui::buttons::{Button, ToggleButton};
|
||||
use craft::ui::choice::Segmented;
|
||||
@@ -16,7 +17,7 @@ use craft::ui::layout_components::Row;
|
||||
use craft::ui::runtime::env::{Env, LengthUnits, UnitKind};
|
||||
use craft::ui::text::NumberField;
|
||||
use egui::Ui;
|
||||
use serde_json::{Value, json};
|
||||
use serde_json::{Map, Value, json};
|
||||
use vectorcraft_geom::shapes::EllipseMode;
|
||||
use vectorcraft_tools::addons::box3d::{self, CustomShape};
|
||||
|
||||
@@ -171,7 +172,7 @@ fn number(
|
||||
response = field.take().map(|field| field.show(ui).edit);
|
||||
});
|
||||
if let Some(response) = response {
|
||||
edits::apply_edits(app, &response, EditPath::Preview, |app, value, phase| {
|
||||
shape_number_edits(app, ui.ctx(), key, &response, |app, value, phase| {
|
||||
if let Some(value) = *value {
|
||||
apply(app, value, phase);
|
||||
}
|
||||
@@ -180,6 +181,104 @@ fn number(
|
||||
});
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
struct ShapeToolGesture {
|
||||
id: GestureId,
|
||||
tool: String,
|
||||
target: Option<(u64, u64, Vec<vectorcraft_doc::NodeId>)>,
|
||||
opening: Map<String, Value>,
|
||||
latest: Value,
|
||||
}
|
||||
|
||||
fn shape_target(app: &VectorcraftApp) -> Option<(u64, u64, Vec<vectorcraft_doc::NodeId>)> {
|
||||
app.session.active().map(|st| (st.uid, st.reverts, st.selection.objects.clone()))
|
||||
}
|
||||
|
||||
/// Tool options are outside the document preview snapshot. A canceled scrub restores this
|
||||
/// field's complete option group, including settings that the rollback changes indirectly.
|
||||
fn shape_number_edits(
|
||||
app: &mut VectorcraftApp,
|
||||
ctx: &egui::Context,
|
||||
field: &'static str,
|
||||
response: &EditResponse<Option<f64>>,
|
||||
mut apply: impl FnMut(&mut VectorcraftApp, &Option<f64>, Live),
|
||||
) {
|
||||
let keys: &[&str] = match field {
|
||||
"arc-start" => &["arcStart", "arcMode"],
|
||||
"arc-end" => &["arcEnd", "arcMode"],
|
||||
"rect-r" => &["cornerRadius", "cornerRadii"],
|
||||
"rect-tl" | "rect-tr" | "rect-br" | "rect-bl" => &["cornerRadii", "cornerRadius"],
|
||||
"poly-corners" => &["sides", "points"],
|
||||
"poly-spoke" => &["starRatio"],
|
||||
"poly-round" => &["rounded"],
|
||||
"poly-rand" => &["randomized"],
|
||||
"spiral-turns" => &["turns"],
|
||||
"spiral-div" => &["divergence"],
|
||||
"spiral-inner" => &["innerRadius"],
|
||||
_ => std::slice::from_ref(&field),
|
||||
};
|
||||
let key = response.response.id.with("shape-tool-gesture");
|
||||
let mut held = ctx.data(|data| data.get_temp::<ShapeToolGesture>(key));
|
||||
for event in response.events.iter() {
|
||||
if let EditEvent::Begin { id, .. } = event {
|
||||
let latest = app.session.tool_options();
|
||||
held = Some(ShapeToolGesture {
|
||||
id: *id,
|
||||
tool: app.session.tool_id().to_owned(),
|
||||
target: shape_target(app),
|
||||
opening: keys.iter().filter_map(|key| latest.get(*key).cloned().map(|value| ((*key).to_owned(), value))).collect(),
|
||||
latest,
|
||||
});
|
||||
}
|
||||
let restore = if let EditEvent::Cancel { id, before, reason, .. } = event {
|
||||
if held.as_ref().is_some_and(|snapshot| snapshot.id == *id) {
|
||||
held.take().filter(|snapshot| {
|
||||
before.is_some()
|
||||
&& !reason.document_moved()
|
||||
&& *reason != CancelReason::Removed
|
||||
&& snapshot.tool == app.session.tool_id()
|
||||
&& snapshot.target == shape_target(app)
|
||||
&& snapshot.latest == app.session.tool_options()
|
||||
})
|
||||
} else {
|
||||
None
|
||||
}
|
||||
} else {
|
||||
None
|
||||
};
|
||||
edits::apply_event(app, event, &EditPath::Preview, &mut apply);
|
||||
if let Some(snapshot) = restore {
|
||||
// Radius writes the array with symmetry on; the array writes the scalar either way.
|
||||
// Each row's order restores its full representation rather than sorted JSON keys.
|
||||
for key in keys {
|
||||
if let Some(value) = snapshot.opening.get(*key)
|
||||
&& let Err(error) = app.run("tool.setOption", json!({"tool": snapshot.tool, "key": key, "value": value}))
|
||||
{
|
||||
app.status(error);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
match event {
|
||||
EditEvent::Update { id, .. } => {
|
||||
if let Some(snapshot) = held.as_mut().filter(|snapshot| snapshot.id == *id) {
|
||||
let latest = app.session.tool_options();
|
||||
snapshot.latest = latest;
|
||||
}
|
||||
}
|
||||
EditEvent::Commit { id, .. } if held.as_ref().is_some_and(|snapshot| snapshot.id == *id) => held = None,
|
||||
EditEvent::Set { .. } => held = None,
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
ctx.data_mut(|data| {
|
||||
data.remove::<ShapeToolGesture>(key);
|
||||
if let Some(snapshot) = held {
|
||||
data.insert_temp(key, snapshot);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/// A click's change of the shape: the tool's options, and the selected live shapes in one step.
|
||||
fn apply_shape(app: &mut VectorcraftApp, tool_kvs: &[(&str, Value)], live_patch: Value) {
|
||||
shape_edit(app, tool_kvs, live_patch, Live::Released);
|
||||
@@ -423,6 +522,190 @@ fn mode_str(m: EllipseMode) -> &'static str {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod cancel_tests {
|
||||
use super::*;
|
||||
use crate::tests::panel_harness::Panel;
|
||||
use craft::ui::contract::Role;
|
||||
use egui::{Key, Modifiers, vec2};
|
||||
|
||||
fn window(app: &mut VectorcraftApp, ui: &mut Ui) {
|
||||
app.tick(ui.ctx());
|
||||
app.ui(ui);
|
||||
}
|
||||
|
||||
fn application() -> VectorcraftApp {
|
||||
let mut app = VectorcraftApp::new(vectorcraft_engine::Session::new(), Default::default());
|
||||
app.run("file.new", json!({"width": 600, "height": 400})).unwrap();
|
||||
app.run("window.control", json!({})).unwrap();
|
||||
app
|
||||
}
|
||||
|
||||
fn radius(panel: &Panel, node: vectorcraft_doc::NodeId) -> [f64; 4] {
|
||||
let app = panel.app();
|
||||
let shape = CustomShape::read_for_update(app.session.active().unwrap().doc.node(node).unwrap(), false).unwrap();
|
||||
let CustomShape::Rectangle { radii, .. } = shape else { panic!("the fixture is a live rectangle") };
|
||||
radii
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn a_canceled_radius_scrub_restores_future_tool_options_and_selected_geometry() {
|
||||
for tool in ["roundedRectangle", "box3d"] {
|
||||
for selected in [false, true] {
|
||||
for cancel in [false, true] {
|
||||
let mut app = application();
|
||||
let node = app.run("shape.rectangle", json!({"x": 10, "y": 10, "width": 100, "height": 80, "radius": 3.5})).unwrap()["id"]
|
||||
.as_u64()
|
||||
.unwrap();
|
||||
app.run("tool.select", json!({"tool": tool})).unwrap();
|
||||
let values = if tool == "box3d" {
|
||||
json!({"shape": "rectangle", "cornerSymmetry": true, "cornerRadius": 7.25, "cornerRadii": [7.25, 8.25, 9.25, 10.25]})
|
||||
} else {
|
||||
json!({"cornerRadius": 7.25})
|
||||
};
|
||||
app.run("tool.setOption", json!({"values": values})).unwrap();
|
||||
if tool == "box3d" {
|
||||
app.run("tool.setOption", json!({"key": "cornerRadii", "value": [7.25, 8.25, 9.25, 10.25]})).unwrap();
|
||||
assert_eq!(app.session.tool_options()["cornerRadii"], json!([7.25, 8.25, 9.25, 10.25]));
|
||||
}
|
||||
app.run("select.set", json!({"ids": if selected { vec![node] } else { vec![] }})).unwrap();
|
||||
let options = app.session.tool_options();
|
||||
let original = app.session.active().unwrap().doc.clone();
|
||||
let undo = app.session.active().unwrap().history.undo.len();
|
||||
let mut panel = Panel::new(app, window);
|
||||
panel.room(vec2(2200.0, 1000.0));
|
||||
panel.frame();
|
||||
panel.frame();
|
||||
panel.drag_hold_role("Radius", Role::LABEL, vec2(12.0, 0.0));
|
||||
let changed = panel.app().session.tool_options();
|
||||
assert_ne!(changed, options, "the actual side-label scrub updates the future shape settings");
|
||||
if selected {
|
||||
assert_ne!(radius(&panel, vectorcraft_doc::NodeId(node)), [3.5; 4], "the selected shape previews the scrub");
|
||||
}
|
||||
if cancel {
|
||||
panel.key(Key::Escape, Modifiers::NONE);
|
||||
assert_eq!(
|
||||
panel.app().session.tool_options(),
|
||||
options,
|
||||
"Escape restores the exact original tool settings, including coupled radii"
|
||||
);
|
||||
assert_eq!(panel.app().session.active().unwrap().doc, original);
|
||||
}
|
||||
panel.release();
|
||||
assert_eq!(
|
||||
panel.app().session.tool_options(),
|
||||
if cancel { options.clone() } else { changed.clone() },
|
||||
"release after Escape cannot reapply the scrub"
|
||||
);
|
||||
assert_eq!(panel.app().session.active().unwrap().history.undo.len(), undo + usize::from(selected && !cancel));
|
||||
if selected && !cancel {
|
||||
panel.app().run("edit.undo", json!({})).unwrap();
|
||||
}
|
||||
assert_eq!(panel.app().session.active().unwrap().doc, original);
|
||||
|
||||
// A normal subsequent canvas drag uses the settings that the field left behind.
|
||||
let from = panel.app().canvas_view().unwrap().rect.min + vec2(120.0, 120.0);
|
||||
panel.drag_between(from, from + vec2(100.0, 80.0), Modifiers::NONE);
|
||||
let created = panel.app().session.active().unwrap().selection.objects[0];
|
||||
assert_ne!(created.0, node, "the canvas drag creates new art rather than grabbing the selected shape's widgets");
|
||||
let expected = if cancel { &options } else { &changed };
|
||||
let radii = if tool == "box3d" && expected["cornerSymmetry"].as_bool() == Some(false) {
|
||||
std::array::from_fn(|i| expected["cornerRadii"][i].as_f64().unwrap())
|
||||
} else {
|
||||
[expected["cornerRadius"].as_f64().unwrap(); 4]
|
||||
};
|
||||
assert_eq!(radius(&panel, created), radii, "the next shape uses the accepted or restored defaults");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn a_retired_shape_scrub_cannot_restore_options_into_the_new_tool() {
|
||||
let mut app = application();
|
||||
app.run("tool.select", json!({"tool": "roundedRectangle"})).unwrap();
|
||||
app.run("tool.setOption", json!({"key": "cornerRadius", "value": 7.25})).unwrap();
|
||||
let mut panel = Panel::new(app, window);
|
||||
panel.room(vec2(2200.0, 1000.0));
|
||||
panel.frame();
|
||||
panel.frame();
|
||||
panel.drag_hold_role("Radius", Role::LABEL, vec2(12.0, 0.0));
|
||||
assert_ne!(panel.app().session.tool_options()["cornerRadius"], json!(7.25));
|
||||
panel.app().run("tool.select", json!({"tool": "ellipse"})).unwrap();
|
||||
let before = panel.app().session.tool_options();
|
||||
let document = panel.app().session.active().unwrap().doc.clone();
|
||||
let undo = panel.app().session.active().unwrap().history.undo.len();
|
||||
panel.frame();
|
||||
panel.key(Key::Escape, Modifiers::NONE);
|
||||
panel.release();
|
||||
assert_eq!(panel.app().session.tool_id(), "ellipse");
|
||||
assert_eq!(panel.app().session.tool_options(), before, "retired Radius events cannot edit the replacement tool");
|
||||
assert_eq!(panel.app().session.active().unwrap().doc, document);
|
||||
assert_eq!(panel.app().session.active().unwrap().history.undo.len(), undo);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn a_canceled_corner_edit_restores_a_scalar_changed_only_by_rollback() {
|
||||
let mut app = application();
|
||||
app.run("tool.select", json!({"tool": "box3d"})).unwrap();
|
||||
app.run("tool.setOption", json!({"values": {"shape": "rectangle", "cornerSymmetry": false}})).unwrap();
|
||||
app.run("tool.setOption", json!({"key": "cornerRadii", "value": [7.25, 8.25, 9.25, 10.25]})).unwrap();
|
||||
app.run("tool.setOption", json!({"key": "cornerRadius", "value": 4.125})).unwrap();
|
||||
let before = app.session.tool_options();
|
||||
let document = app.session.active().unwrap().doc.clone();
|
||||
let undo = app.session.active().unwrap().history.undo.len();
|
||||
let mut panel = Panel::new(app, window);
|
||||
panel.room(vec2(2200.0, 1000.0));
|
||||
panel.frame();
|
||||
panel.click_role("TL", Role::SPIN_BUTTON);
|
||||
panel.key(Key::A, Modifiers::COMMAND);
|
||||
panel.type_text("4.125");
|
||||
panel.frame();
|
||||
let proposed = panel.app().session.tool_options();
|
||||
assert_ne!(proposed["cornerRadii"], before["cornerRadii"]);
|
||||
assert_eq!(proposed["cornerRadius"], before["cornerRadius"], "the edit leaves the hidden scalar unchanged");
|
||||
panel.key(Key::Escape, Modifiers::NONE);
|
||||
panel.frame();
|
||||
assert_eq!(panel.app().session.tool_options(), before, "rollback must restore the scalar even when only restoring the array would change it");
|
||||
assert_eq!(panel.app().session.active().unwrap().doc, document);
|
||||
assert_eq!(panel.app().session.active().unwrap().history.undo.len(), undo);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn canceled_individual_corner_scrubs_preserve_the_distinct_hidden_scalar_radius() {
|
||||
for label in ["TL", "TR"] {
|
||||
for cancel in [false, true] {
|
||||
let mut app = application();
|
||||
app.run("tool.select", json!({"tool": "box3d"})).unwrap();
|
||||
app.run("tool.setOption", json!({"values": {"shape": "rectangle", "cornerSymmetry": false}})).unwrap();
|
||||
app.run("tool.setOption", json!({"key": "cornerRadii", "value": [7.25, 8.25, 9.25, 10.25]})).unwrap();
|
||||
app.run("tool.setOption", json!({"key": "cornerRadius", "value": 4.125})).unwrap();
|
||||
let before = app.session.tool_options();
|
||||
assert_eq!(before["cornerRadius"], json!(4.125));
|
||||
assert_eq!(before["cornerRadii"], json!([7.25, 8.25, 9.25, 10.25]));
|
||||
let document = app.session.active().unwrap().doc.clone();
|
||||
let undo = app.session.active().unwrap().history.undo.len();
|
||||
let mut panel = Panel::new(app, window);
|
||||
panel.room(vec2(2200.0, 1000.0));
|
||||
panel.frame();
|
||||
panel.frame();
|
||||
panel.drag_hold_role(label, Role::LABEL, vec2(12.0, 0.0));
|
||||
let proposed = panel.app().session.tool_options();
|
||||
assert_ne!(proposed["cornerRadii"], before["cornerRadii"]);
|
||||
assert_ne!(proposed["cornerRadius"], before["cornerRadius"], "the array setter also changes the hidden scalar");
|
||||
if cancel {
|
||||
panel.key(Key::Escape, Modifiers::NONE);
|
||||
assert_eq!(panel.app().session.tool_options(), before, "both the array and its distinct scalar restore before release");
|
||||
}
|
||||
panel.release();
|
||||
assert_eq!(panel.app().session.tool_options(), if cancel { before } else { proposed });
|
||||
assert_eq!(panel.app().session.active().unwrap().doc, document);
|
||||
assert_eq!(panel.app().session.active().unwrap().history.undo.len(), undo);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use craft::behavior::IconId;
|
||||
|
||||
+7
-1
@@ -1,6 +1,6 @@
|
||||
# VectorCraft MCP server
|
||||
|
||||
> **Last updated:** 2026-11-18 · **Change:** Production Preflight command and report coverage; previously: `text.setFormat {composer}` and paragraph styles also take `standardSingleLine` and `standardEveryLine` (#4935); existing values and responses unchanged. Previously: Pencil ignores Smart Guides and Snap to Point and shows no Smart Guides, #7252; no response-shape change. Previously: Pencil continuation, straight-line and closing cursors; scores and estimates unchanged; no response-shape change. Previously: Snap to Point with Smart Guides off draws no Smart Guides labels or lines, #7250; no response-shape change. Previously: Envelopes: a top object's side whose pieces are all one curve split at anchors follows that curve's parameter (#7097); existing response shapes retained.
|
||||
> **Last updated:** 2026-11-27 · **Change:** Shape Control bar: canceled numeric edits restore future tool settings and coupled corner radii; previously: Production Preflight command and report coverage; previously: `text.setFormat {composer}` and paragraph styles also take `standardSingleLine` and `standardEveryLine` (#4935); existing values and responses unchanged. Previously: Pencil ignores Smart Guides and Snap to Point and shows no Smart Guides, #7252; no response-shape change. Previously: Pencil continuation, straight-line and closing cursors; scores and estimates unchanged; no response-shape change. Previously: Snap to Point with Smart Guides off draws no Smart Guides labels or lines, #7250; no response-shape change. Previously: Envelopes: a top object's side whose pieces are all one curve split at anchors follows that curve's parameter (#7097); existing response shapes retained.
|
||||
>
|
||||
> Tech Circuit update (2026-11-14): three original procedural brushes; ten built-in brush libraries (G5).
|
||||
|
||||
@@ -8480,6 +8480,11 @@ and files saved without it open with it off.
|
||||
{"name":"run_command","arguments":{"command":"file.new","params":{"preset":"Letter","alignNewObjectsToPixelGrid":true}}}
|
||||
```
|
||||
|
||||
The shape Control bar's numeric edits preview changes to selected shapes and future tool settings together.
|
||||
Cancel restores both, including the separate scalar radius and per-corner radii. Accept keeps the new settings;
|
||||
Undo restores the selected artwork. A canceled edit whose tool or document ownership has ended cannot overwrite
|
||||
the new tool's settings.
|
||||
|
||||
## Live Corners
|
||||
|
||||
`object.setLiveShape {id?, ids?, radius?, kind?, corners?, rectanglesOnly?, items?}` sets the corners of any path (one undo step): a live
|
||||
@@ -17024,6 +17029,7 @@ the error text. The interactive fallback applies only to ordinary File > Save, n
|
||||
|
||||
| Date | Change |
|
||||
|---|---|
|
||||
| 2026-11-27 | Shape Control bar: canceled numeric edits restore future-tool settings and coupled radii along with selected artwork; retired edits cannot overwrite a different tool. Native scrub, keyboard, next-shape and Undo cases covered. Scores and estimates unchanged. |
|
||||
| 2026-11-18 | Production Preflight: output and artboard scope, four check summaries, clickable canvas ids, effective PPI and explicit unchecked resolution coverage. |
|
||||
| 2026-11-14 | Built-in Tech Circuit brush library (id `tech-circuit`): Circuit Trace, Bus Lines and Terminal Nodes; ten built-in libraries. |
|
||||
| 2026-11-13 | The Pencil ignores Smart Guides and Snap to Point and shows no Smart Guides; Snap to Grid and Snap to Pixel still move its ends (#7252). |
|
||||
|
||||
+2
-1
@@ -1,6 +1,6 @@
|
||||
# UI and interaction parity
|
||||
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-25 · **Change:** minor (G12: History row menus adapted to shared Craft list/menu controls after rebase (#8845); scores and estimates unchanged; previously: G12/M14: History row context menus, pending-edit snapshot targeting, keyboard access and document-switch dismissal (#8845); scores and estimates unchanged; previously: Pencil Edit Selected Paths follows lifted strokes, carves, loops, closes and redraws compound paths; Layers: a targeted item with an appearance of its own keeps its inner ring visible around a smaller appearance dot, so the target circle's four looks differ, #8711; scores and estimates unchanged; previously: G12: Asset Export tile context menus; scores and estimates unchanged; previously: Properties panel per context (G12): contextual text Quick Actions (Create Outlines, Retype, Find and Replace…); scores and estimates unchanged; previously: Layers: a targeted item with an appearance of its own keeps its inner ring visible around a smaller appearance dot, so the target circle's four looks differ, #8711; scores and estimates unchanged; previously: Trim View hides the ruler guides, guide paths and the grid while it is on and greys out Show/Hide Guides and Show/Hide Grid, #8363; scores and estimates unchanged; previously: Scissors shows the actual proposed cut point while hovering, using its existing snapping and cut target (#8655); scores and estimates unchanged; previously: Graphic Styles panel: right-click item context menu for tiles and rows with Options, Duplicate, Delete, Redefine, Break Link; scores and estimates unchanged; previously: Artboard tool: Shift held once a move or Alt-copy drag is under way keeps it to the level, upright or 45° line, #8580; scores and estimates unchanged; previously: Image Trace Ignore Color keeps the canvas View and stays armed on a missed pixel (#8068); Canvas context menu: a right-click on a path offers Simplify… next to Smooth…, opening the Simplify slider, or the Simplify dialog kept for next time, as Object › Path › Simplify… does, #8344; scores and estimates unchanged; previously: a tool drag held near an edge of the canvas scrolls the view, #8551; scores and estimates unchanged; previously: G12: Place: show progress window with Cancel for slow placed files exceeding 0.4 s, part of #5930; scores and estimates unchanged; previously: All Tools drawer: a tool the toolbar holds is dimmed in the readable dim text colour, not the disabled colour that was unreadable against the panel, and a hovered dimmed row takes the panel's darker fill so it stays readable, #8294; scores and estimates unchanged; previously: : selected guide rows stay highlighted after the pointer leaves (#7344); scores and estimates unchanged; previously: Layersselected Dimension extension-line color and weight in Properties (#7078; four focused UI regressions passed); scores and estimates unchanged; previously: Brush Options Key Color: restore canvas input for the existing one-shot pick, then resume the retained draft and previous tool (#8284; six full-app input regressions passed); scores and estimates unchanged; previously: Ellipse: Up/Down changes Anchors while drawing (#7840); scores and estimates unchanged; previously: Windows/Linux menu access keys and localized cues (#6596); previously: Backquote/~ arrow pattern nudges (#7717); scores and estimates unchanged; previously: Window > Toolbars > Compact Tools offers optional denser main Tools spacing (#7234); default layout, scores and estimates unchanged; previously: Direct Selection: Space during an ordinary path's handle drag repositions its anchor and handles, including a Pen loan (#7237, request 3 only; scores and estimates unchanged); previously: Floating panels keep their window level while focus moves between the app's windows, so a press on one panel's bar no longer hands the keyboard to another, #6986; scores and estimates unchanged; previously minor: Lock Guides: a selection marquee (Selection, Direct Selection, Group Selection, Enclosing Lasso) leaves out paths made into guides inside groups and compound paths too, as clicks do (#3074), so a group is no longer selected by a locked guide in it; an enclosing marquee measures a group without its locked or hidden guides, and Direct Selection takes no anchor or segment of a guide that can't be picked; a guide in a group still moves with its group (#8538); scores and estimates unchanged; previously: Production Preflight: output-aware fonts, text overflow, linked files and effective image resolution, clickable findings and automatic rechecking; scores and estimates unchanged; previously: Layers panel: an Alt-drag copies a row above or below itself, so the top layer dragged up, the bottom layer dragged down and a lone layer are copied, #8237; scores and estimates unchanged; previously: Layers panel: Alt over the list shows the copy cursor while rows or the selected-art square are dragged, #8217; scores andLine truncated
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-27 · **Change:** minor (Shape Control bar: canceled numeric edits restore future tool settings and coupled corner radii; scores and estimates unchanged); previously: minor (G12: History row menus adapted to shared Craft list/menu controls after rebase (#8845); scores and estimates unchanged; previously: G12/M14: History row context menus, pending-edit snapshot targeting, keyboard access and document-switch dismissal (#8845); scores and estimates unchanged; previously: Pencil Edit Selected Paths follows lifted strokes, carves, loops, closes and redraws compound paths; Layers: a targeted item with an appearance of its own keeps its inner ring visible around a smaller appearance dot, so the target circle's four looks differ, #8711; scores and estimates unchanged; previously: G12: Asset Export tile context menus; scores and estimates unchanged; previously: Properties panel per context (G12): contextual text Quick Actions (Create Outlines, Retype, Find and Replace…); scores and estimates unchanged; previously: Layers: a targeted item with an appearance of its own keeps its inner ring visible around a smaller appearance dot, so the target circle's four looks differ, #8711; scores and estimates unchanged; previously: Trim View hides the ruler guides, guide paths and the grid while it is on and greys out Show/Hide Guides and Show/Hide Grid, #8363; scores and estimates unchanged; previously: Scissors shows the actual proposed cut point while hovering, using its existing snapping and cut target (#8655); scores and estimates unchanged; previously: Graphic Styles panel: right-click item context menu for tiles and rows with Options, Duplicate, Delete, Redefine, Break Link; scores and estimates unchanged; previously: Artboard tool: Shift held once a move or Alt-copy drag is under way keeps it to the level, upright or 45° line, #8580; scores and estimates unchanged; previously: Image Trace Ignore Color keeps the canvas View and stays armed on a missed pixel (#8068); Canvas context menu: a right-click on a path offers Simplify… next to Smooth…, opening the Simplify slider, or the Simplify dialog kept for next time, as Object › Path › Simplify… does, #8344; scores and estimates unchanged; previously: a tool drag held near an edge of the canvas scrolls the view, #8551; scores and estimates unchanged; previously: G12: Place: show progress window with Cancel for slow placed files exceeding 0.4 s, part of #5930; scores and estimates unchanged; previously: All Tools drawer: a tool the toolbar holds is dimmed in the readable dim text colour, not the disabled colour that was unreadable against the panel, and a hovered dimmed row takes the panel's darker fill so it stays readable, #8294; scores and estimates unchanged; previously: : selected guide rows stay highlighted after the pointer leaves (#7344); scores and estimates unchanged; previously: Layersselected Dimension extension-line color and weight in Properties (#7078; four focused UI regressions passed); scores and estimates unchanged; previously: Brush Options Key Color: restore canvas input for the existing one-shot pick, then resume the retained draft and previous tool (#8284; six full-app input regressions passed); scores and estimates unchanged; previously: Ellipse: Up/Down changes Anchors while drawing (#7840); scores and estimates unchanged; previously: Windows/Linux menu access keys and localized cues (#6596); previously: Backquote/~ arrow pattern nudges (#7717); scores and estimates unchanged; previously: Window > Toolbars > Compact Tools offers optional denser main Tools spacing (#7234); default layout, scores and estimates unchanged; previously: Direct Selection: Space during an ordinary path's handle drag repositions its anchor and handles, including a Pen loan (#7237, request 3 only; scores and estimates unchanged); previously: Floating panels keep their window level while focus moves between the app's windows, so a press on one panel's bar no longer hands the keyboard to another, #6986; scores and estimates unchanged; previously minor: Lock Guides: a selection marquee (Selection, Direct Selection, Group Selection, Enclosing Lasso) leaves out paths made into guides inside groups and compound paths too, as clicks do (#3074), so a group is no longer selected by a locked guide in it; an enclosing marquee measures a group without its locked or hidden guides, and Direct Selection takes no anchor or segment of a guide that can't be picked; a guide in a group still moves with its group (#8538); scores and estimates unchanged; previously: Production Preflight: output-aware fonts, text overflow, linked files and effective image resolution, clickable findings and automatic rechecking; scores and estimates unchanged; previously: Layers panel: an Alt-drag copies a row above or below itself, so the top layer dragged up, the bottom layer dragged down and a lone layer are copied, #8237; scores and estimaLine truncated
|
||||
>
|
||||
> Tech Circuit update (2026-11-14): three original procedural brushes; ten built-in brush libraries (G5).
|
||||
>
|
||||
@@ -70,6 +70,7 @@ Artboard Options forwards the active Artboard tool's Scale Artwork with Artboard
|
||||
|
||||
| Date | Change | Summary |
|
||||
|---|---|---|
|
||||
| 2026-11-27 | minor | Shape Control bar: canceled numeric edits restore future-tool settings and coupled radii along with selected artwork; retired edits cannot overwrite a different tool. Native scrub, keyboard, next-shape and Undo cases covered. Scores and estimates unchanged. |
|
||||
| 2026-11-24 | minor | G12: History row context menus use shared Craft List and Menu controls after rebasing onto the panel migration. App-specific actions retain the chosen snapshot across pending edits and dismiss on document switches; keyboard context requests and focus restoration use the shared runtime. Regression cases retained (#8845); scores and estimates unchanged. |
|
||||
| 2026-11-21 | minor | G12/M14: History row context menus retain the chosen snapshot while the menu is open and pending edits settle; jumps settle typing before counting undo/redo, and discarded states report that they are unavailable. Shift+F10 opens the focused row menu, Escape restores row focus, and switching documents dismisses the popup. History checklist, area and milestone evidence updated (#8845); scores and estimates unchanged. |
|
||||
| 2026-11-20 | minor | G12: Asset Export tiles have item context menus for Export, Remove, Rename, Select Artwork on Canvas and collecting selected artwork; right-click selects an unselected tile and preserves an existing multi-selection. Headless regressions: panels::tests_asset_export. Scores and estimates unchanged. |
|
||||
|
||||
Reference in new issue
Block a user