mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 19:51:26 -05:00
M2: Reposition path anchors with Space during handle drags
This commit is contained in:
@@ -50,7 +50,7 @@ pub fn specs() -> Vec<CommandSpec> {
|
||||
"Move Direction Handle",
|
||||
[],
|
||||
None,
|
||||
"{id, subpath?, anchor, which: \"in\"|\"out\", x, y, independent?: bool}",
|
||||
"{id, subpath?, anchor, which: \"in\"|\"out\", x, y, independent?: bool, at?: [x,y] (move the anchor there, both handles with it, before placing the handle)}",
|
||||
has_doc,
|
||||
set_handle
|
||||
),
|
||||
@@ -314,10 +314,17 @@ fn set_handle(s: &mut Session, p: &Value) -> Result<Value> {
|
||||
let out = str_param(p, "which") != Some("in");
|
||||
let pos = Point::new(f64_req(p, "x", "path.setHandle")?, f64_req(p, "y", "path.setHandle")?);
|
||||
let independent = switch_or(p, "independent", false, "path.setHandle")?;
|
||||
// A handle already there, on an anchor already of the kind it would get, changes nothing and
|
||||
// records no undo step.
|
||||
let at = match p.get("at").filter(|v| !v.is_null()) {
|
||||
None => None,
|
||||
Some(v) => Some(finite_numbers(v).map(|[x, y]| Point::new(x, y)).ok_or_else(|| bad("path.setHandle", "`at` must be [x, y]"))?),
|
||||
};
|
||||
// Compare the final anchor after translation and handle placement: repeating the same edit
|
||||
// changes nothing and records no undo step.
|
||||
if let Some(a) = anchor_of(s, id, si, ai)? {
|
||||
let mut b = a;
|
||||
if let Some(to) = at {
|
||||
b.translate(to - b.p);
|
||||
}
|
||||
b.set_handle(out, pos, independent);
|
||||
if b == a {
|
||||
return ok();
|
||||
@@ -326,6 +333,9 @@ fn set_handle(s: &mut Session, p: &Value) -> Result<Value> {
|
||||
s.edit("Reshape", |d, _| {
|
||||
let path = path_mut(d, id)?;
|
||||
let a = path.anchor_mut(si, ai).ok_or_else(|| EngineError::Other("no such anchor".into()))?;
|
||||
if let Some(to) = at {
|
||||
a.translate(to - a.p);
|
||||
}
|
||||
a.set_handle(out, pos, independent);
|
||||
Ok(())
|
||||
})?;
|
||||
|
||||
@@ -0,0 +1,312 @@
|
||||
//! Pen lends Direct Selection for one handle gesture; Space repositions that handle's owner.
|
||||
// Integration tests may unwrap and panic (AGENTS.md, Robustness).
|
||||
#![allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
|
||||
|
||||
use serde_json::json;
|
||||
use vectorcraft_doc::NodeId;
|
||||
use vectorcraft_engine::{Session, ViewInfo};
|
||||
use vectorcraft_geom::{Anchor, AnchorKind, PathData, Point};
|
||||
use vectorcraft_tools::{Cursor, Mods, PointerEvent, PointerKind, ToolKey};
|
||||
|
||||
fn view() -> ViewInfo {
|
||||
ViewInfo {
|
||||
zoom: 1.0,
|
||||
smart_guides: false,
|
||||
guides: false,
|
||||
snap_to_grid: false,
|
||||
snap_to_pixel: false,
|
||||
snap_to_point: false,
|
||||
snap_to_glyph: false,
|
||||
pixel_preview: false,
|
||||
..Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
fn command(space: bool) -> Mods {
|
||||
Mods { cmd: true, space, ..Default::default() }
|
||||
}
|
||||
|
||||
fn pointer(s: &mut Session, kind: PointerKind, at: (f64, f64), mods: Mods) {
|
||||
s.pointer(&PointerEvent::new(kind, at.0, at.1).with_mods(mods), view()).unwrap();
|
||||
}
|
||||
|
||||
fn path(s: &Session, id: NodeId) -> PathData {
|
||||
s.doc().unwrap().doc.node(id).unwrap().path_data().unwrap().clone()
|
||||
}
|
||||
|
||||
fn history(s: &Session) -> usize {
|
||||
s.doc().unwrap().history.undo.len()
|
||||
}
|
||||
|
||||
fn open_pen_path() -> (Session, NodeId) {
|
||||
let mut s = Session::new();
|
||||
s.execute("file.new", &json!({"width": 800, "height": 600})).unwrap();
|
||||
s.prefs.selection_tolerance = 8.0;
|
||||
s.prefs.use_precise_cursors = false;
|
||||
// Choose the tool the Pen will lend before beginning its path.
|
||||
s.select_tool("directSelection", view()).unwrap();
|
||||
s.select_tool("pen", view()).unwrap();
|
||||
let none = Mods::default();
|
||||
pointer(&mut s, PointerKind::Down, (100.0, 300.0), none);
|
||||
pointer(&mut s, PointerKind::Up, (100.0, 300.0), none);
|
||||
pointer(&mut s, PointerKind::Down, (200.0, 300.0), none);
|
||||
pointer(&mut s, PointerKind::Drag, (250.0, 300.0), none);
|
||||
pointer(&mut s, PointerKind::Up, (250.0, 300.0), none);
|
||||
let id = s.doc().unwrap().selection.objects[0];
|
||||
let p = path(&s, id);
|
||||
assert_eq!(p.subpaths.len(), 1);
|
||||
assert!(!p.subpaths[0].closed);
|
||||
assert_eq!(p.subpaths[0].anchors.len(), 2);
|
||||
let a = p.subpaths[0].anchors[1];
|
||||
assert_eq!((a.p, a.h_in, a.h_out, a.kind), (Point::new(200.0, 300.0), Point::new(150.0, 300.0), Point::new(250.0, 300.0), AnchorKind::Smooth));
|
||||
assert_eq!(s.tool_id(), "pen");
|
||||
assert_eq!(s.cursor(a.h_out, command(false), view()), Cursor::ArrowHollow);
|
||||
(s, id)
|
||||
}
|
||||
|
||||
fn assert_anchor(s: &Session, id: NodeId, first: Anchor, owner: (f64, f64), inside: (f64, f64), outside: (f64, f64)) {
|
||||
let p = path(s, id);
|
||||
assert_eq!(p.subpaths.len(), 1);
|
||||
assert!(!p.subpaths[0].closed);
|
||||
assert_eq!(p.subpaths[0].anchors.len(), 2);
|
||||
assert_eq!(p.subpaths[0].anchors[0], first, "the other anchor and its handles stay unchanged");
|
||||
let a = p.subpaths[0].anchors[1];
|
||||
assert_eq!(a.kind, AnchorKind::Smooth);
|
||||
for (label, actual, expected) in [
|
||||
("owner", a.p, Point::new(owner.0, owner.1)),
|
||||
("in handle", a.h_in, Point::new(inside.0, inside.1)),
|
||||
("out handle", a.h_out, Point::new(outside.0, outside.1)),
|
||||
] {
|
||||
assert!(actual.distance(expected) < 1e-6, "{label}: expected {expected:?}, got {actual:?}");
|
||||
}
|
||||
}
|
||||
|
||||
/// Do not insert a zero-motion Space-on event: the first motion must use the previous pointer.
|
||||
fn borrowed_space_drag(s: &mut Session, id: NodeId) {
|
||||
let first = path(s, id).subpaths[0].anchors[0];
|
||||
pointer(s, PointerKind::Down, (250.0, 300.0), command(false));
|
||||
assert_eq!(s.tool_id(), "directSelection");
|
||||
assert!(s.in_interaction());
|
||||
pointer(s, PointerKind::Drag, (260.0, 300.0), command(false));
|
||||
assert_anchor(s, id, first, (200.0, 300.0), (150.0, 300.0), (260.0, 300.0));
|
||||
pointer(s, PointerKind::Drag, (280.0, 310.0), command(true));
|
||||
assert_anchor(s, id, first, (220.0, 310.0), (170.0, 310.0), (280.0, 310.0));
|
||||
// Releasing Space while the button stays down neither jumps nor commits the gesture.
|
||||
pointer(s, PointerKind::Drag, (280.0, 310.0), command(false));
|
||||
assert_anchor(s, id, first, (220.0, 310.0), (170.0, 310.0), (280.0, 310.0));
|
||||
pointer(s, PointerKind::Drag, (300.0, 310.0), command(false));
|
||||
assert_anchor(s, id, first, (220.0, 310.0), (170.0, 310.0), (300.0, 310.0));
|
||||
pointer(s, PointerKind::Drag, (290.0, 325.0), command(true));
|
||||
assert_anchor(s, id, first, (210.0, 325.0), (160.0, 325.0), (290.0, 325.0));
|
||||
pointer(s, PointerKind::Drag, (290.0, 325.0), command(false));
|
||||
assert_anchor(s, id, first, (210.0, 325.0), (160.0, 325.0), (290.0, 325.0));
|
||||
pointer(s, PointerKind::Drag, (310.0, 325.0), command(false));
|
||||
assert_anchor(s, id, first, (210.0, 325.0), (160.0, 325.0), (310.0, 325.0));
|
||||
assert_eq!(s.tool_id(), "directSelection");
|
||||
assert!(s.in_interaction());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn pen_space_first_motion_repeated_toggle_and_pen_continuation() {
|
||||
let (mut s, id) = open_pen_path();
|
||||
let before = history(&s);
|
||||
borrowed_space_drag(&mut s, id);
|
||||
pointer(&mut s, PointerKind::Up, (310.0, 325.0), command(false));
|
||||
assert_eq!(s.tool_id(), "pen");
|
||||
assert!(!s.in_interaction());
|
||||
assert_eq!(history(&s), before + 1, "one completed handle gesture");
|
||||
let moved = path(&s, id).subpaths[0].anchors[1];
|
||||
pointer(&mut s, PointerKind::Down, (350.0, 380.0), Mods::default());
|
||||
pointer(&mut s, PointerKind::Up, (350.0, 380.0), Mods::default());
|
||||
let p = path(&s, id);
|
||||
assert_eq!(p.subpaths[0].anchors.len(), 3, "the Pen continues the same path after its loan");
|
||||
assert_eq!(p.subpaths[0].anchors[1], moved);
|
||||
assert_eq!(p.subpaths[0].anchors[2].p, Point::new(350.0, 380.0));
|
||||
assert_eq!(s.doc().unwrap().selection.objects, [id]);
|
||||
let mut count = 0;
|
||||
s.doc().unwrap().doc.walk(|node| count += usize::from(node.path_data().is_some()));
|
||||
assert_eq!(count, 1, "continuation creates no second path");
|
||||
assert_eq!(history(&s), before + 2, "the new Pen anchor is its own step");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn pen_space_no_space_handle_drag_preserves_owner() {
|
||||
let (mut s, id) = open_pen_path();
|
||||
let first = path(&s, id).subpaths[0].anchors[0];
|
||||
let before = history(&s);
|
||||
pointer(&mut s, PointerKind::Down, (250.0, 300.0), command(false));
|
||||
assert_eq!(s.tool_id(), "directSelection");
|
||||
pointer(&mut s, PointerKind::Drag, (260.0, 300.0), command(false));
|
||||
pointer(&mut s, PointerKind::Up, (260.0, 300.0), command(false));
|
||||
assert_anchor(&s, id, first, (200.0, 300.0), (150.0, 300.0), (260.0, 300.0));
|
||||
assert_eq!(s.tool_id(), "pen");
|
||||
assert!(!s.in_interaction());
|
||||
assert_eq!(history(&s), before + 1);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn pen_space_handle_drag_undo_redo_is_one_step() {
|
||||
let (mut s, id) = open_pen_path();
|
||||
let original = path(&s, id);
|
||||
let before = history(&s);
|
||||
borrowed_space_drag(&mut s, id);
|
||||
pointer(&mut s, PointerKind::Up, (310.0, 325.0), command(false));
|
||||
let changed = path(&s, id);
|
||||
assert_eq!(history(&s), before + 1);
|
||||
s.execute("edit.undo", &json!({})).unwrap();
|
||||
assert_eq!(path(&s, id), original);
|
||||
assert_eq!(history(&s), before);
|
||||
s.execute("edit.redo", &json!({})).unwrap();
|
||||
assert_eq!(path(&s, id), changed);
|
||||
assert_eq!(history(&s), before + 1);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn pen_space_escape_restores_entire_borrowed_gesture() {
|
||||
let (mut s, id) = open_pen_path();
|
||||
let original = path(&s, id);
|
||||
let before = history(&s);
|
||||
borrowed_space_drag(&mut s, id);
|
||||
s.tool_key(ToolKey::Escape, command(false), view()).unwrap();
|
||||
assert_eq!(path(&s, id), original, "cancel restores pre-borrow geometry, not just the latest Space phase");
|
||||
assert_eq!(history(&s), before);
|
||||
assert!(!s.in_interaction());
|
||||
// Up releases the borrowed selection tool; Escape itself need not return the lender.
|
||||
pointer(&mut s, PointerKind::Up, (310.0, 325.0), command(false));
|
||||
assert_eq!(s.tool_id(), "pen");
|
||||
assert_eq!(path(&s, id), original);
|
||||
assert_eq!(history(&s), before);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn pen_space_type_on_path_without_space_stays_text() {
|
||||
let mut s = Session::new();
|
||||
s.execute("file.new", &json!({"width": 800, "height": 600})).unwrap();
|
||||
let source = s
|
||||
.execute("path.create", &json!({"anchors": [{"x": 100, "y": 300, "in": [50, 300], "out": [150, 300]}, {"x": 400, "y": 300}]}))
|
||||
.unwrap()["id"]
|
||||
.clone();
|
||||
let id = NodeId(
|
||||
s.execute("text.createInPath", &json!({"path": source, "mode": "onPath", "text": "Along", "size": 12})).unwrap()["id"].as_u64().unwrap(),
|
||||
);
|
||||
s.execute("select.set", &json!({"ids": [id.0]})).unwrap();
|
||||
s.select_tool("directSelection", view()).unwrap();
|
||||
let text_path = |s: &Session| match &s.doc().unwrap().doc.node(id).unwrap().kind {
|
||||
vectorcraft_doc::NodeKind::Text(text) => {
|
||||
assert_eq!(text.plain_text(), "Along");
|
||||
text.type_path().expect("the object remains type on a path")
|
||||
}
|
||||
kind => panic!("the object must remain text, got {kind:?}"),
|
||||
};
|
||||
let original = text_path(&s);
|
||||
let before = history(&s);
|
||||
pointer(&mut s, PointerKind::Down, (150.0, 300.0), Mods::default());
|
||||
pointer(&mut s, PointerKind::Drag, (160.0, 280.0), Mods::default());
|
||||
pointer(&mut s, PointerKind::Up, (160.0, 280.0), Mods::default());
|
||||
let changed = text_path(&s);
|
||||
let a = changed.subpaths[0].anchors[0];
|
||||
assert_eq!(a.p, original.subpaths[0].anchors[0].p);
|
||||
assert_eq!(a.h_out, Point::new(160.0, 280.0));
|
||||
assert_eq!(a.kind, AnchorKind::Smooth);
|
||||
let original_anchor = original.subpaths[0].anchors[0];
|
||||
let opposite = a.p + (a.p - a.h_out) * (original_anchor.h_in.distance(original_anchor.p) / a.h_out.distance(a.p));
|
||||
assert!(a.h_in.distance(opposite) < 1e-6, "the ordinary smooth type-path handle keeps its opposite handle's length and direction: {a:?}");
|
||||
assert_eq!(changed.subpaths[0].anchors[1], original.subpaths[0].anchors[1]);
|
||||
assert_eq!(history(&s), before + 1);
|
||||
s.execute("edit.undo", &json!({})).unwrap();
|
||||
assert_eq!(text_path(&s), original);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn pen_space_after_alt_drag_keeps_corner_and_opposite_handle_offset() {
|
||||
let (mut s, id) = open_pen_path();
|
||||
let first = path(&s, id).subpaths[0].anchors[0];
|
||||
let before = history(&s);
|
||||
pointer(&mut s, PointerKind::Down, (250.0, 300.0), command(false));
|
||||
let alt = Mods { alt: true, ..command(false) };
|
||||
pointer(&mut s, PointerKind::Drag, (260.0, 280.0), alt);
|
||||
let a = path(&s, id).subpaths[0].anchors[1];
|
||||
assert_eq!((a.kind, a.p, a.h_in, a.h_out), (AnchorKind::Corner, Point::new(200.0, 300.0), Point::new(150.0, 300.0), Point::new(260.0, 280.0)));
|
||||
let space = Mods { space: true, ..alt };
|
||||
pointer(&mut s, PointerKind::Drag, (280.0, 290.0), space);
|
||||
let moved = path(&s, id).subpaths[0].anchors[1];
|
||||
assert_eq!(
|
||||
(moved.kind, moved.p, moved.h_in, moved.h_out),
|
||||
(AnchorKind::Corner, Point::new(220.0, 310.0), Point::new(170.0, 310.0), Point::new(280.0, 290.0))
|
||||
);
|
||||
pointer(&mut s, PointerKind::Drag, (280.0, 290.0), alt);
|
||||
assert_eq!(path(&s, id).subpaths[0].anchors[1], moved, "releasing Space does not restore Smooth or move the independent opposite handle");
|
||||
pointer(&mut s, PointerKind::Up, (280.0, 290.0), alt);
|
||||
assert_eq!(path(&s, id).subpaths[0].anchors[0], first);
|
||||
assert_eq!(s.tool_id(), "pen");
|
||||
assert_eq!(history(&s), before + 1);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn pen_space_after_shift_uses_the_accepted_handle_without_a_release_jump() {
|
||||
let (mut s, id) = open_pen_path();
|
||||
pointer(&mut s, PointerKind::Down, (250.0, 300.0), command(false));
|
||||
let shift = Mods { shift: true, ..command(false) };
|
||||
pointer(&mut s, PointerKind::Drag, (260.0, 320.0), shift);
|
||||
let accepted = path(&s, id).subpaths[0].anchors[1];
|
||||
assert!(accepted.h_out.distance(Point::new(260.0, 320.0)) > 1.0, "Shift accepts a constrained handle, not the raw pointer");
|
||||
pointer(&mut s, PointerKind::Drag, (280.0, 330.0), Mods { space: true, ..shift });
|
||||
let delta = vectorcraft_geom::Vec2::new(20.0, 10.0);
|
||||
let moved = path(&s, id).subpaths[0].anchors[1];
|
||||
assert_eq!(moved.kind, accepted.kind);
|
||||
for (actual, expected) in [(moved.p, accepted.p + delta), (moved.h_in, accepted.h_in + delta), (moved.h_out, accepted.h_out + delta)] {
|
||||
assert!(actual.distance(expected) < 1e-6, "Space translates the accepted constrained handles: {moved:?}");
|
||||
}
|
||||
pointer(&mut s, PointerKind::Drag, (280.0, 330.0), shift);
|
||||
let released = path(&s, id).subpaths[0].anchors[1];
|
||||
assert!(
|
||||
released.p.distance(moved.p) < 1e-6 && released.h_in.distance(moved.h_in) < 1e-6 && released.h_out.distance(moved.h_out) < 1e-6,
|
||||
"same-position Space release preserves the accepted constrained handle: {moved:?} -> {released:?}"
|
||||
);
|
||||
pointer(&mut s, PointerKind::Up, (280.0, 330.0), shift);
|
||||
assert_eq!(s.tool_id(), "pen");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn pen_space_set_handle_at_keeps_corner_and_unrelated_fractional_geometry() {
|
||||
let mut s = Session::new();
|
||||
s.execute("file.new", &json!({"width": 800, "height": 600})).unwrap();
|
||||
let id = NodeId(
|
||||
s.execute(
|
||||
"path.create",
|
||||
&json!({"anchors": [
|
||||
{"x": 100.25, "y": 100.5, "out": [130.75, 140.25]},
|
||||
{"x": 200, "y": 200, "in": [150, 200], "out": [250, 200]},
|
||||
{"x": 300.4, "y": 275.6, "in": [270.3, 280.2]}
|
||||
]}),
|
||||
)
|
||||
.unwrap()["id"]
|
||||
.as_u64()
|
||||
.unwrap(),
|
||||
);
|
||||
// Both segments are curved; Align to Pixel Grid retains the unrelated fractional geometry.
|
||||
s.execute("object.setPixelAligned", &json!({"ids": [id.0], "on": true})).unwrap();
|
||||
s.execute("path.setHandle", &json!({"id": id.0, "anchor": 1, "which": "out", "x": 250, "y": 200, "independent": true})).unwrap();
|
||||
let original = path(&s, id);
|
||||
assert!(s.doc().unwrap().doc.node(id).unwrap().extras().pixel_aligned);
|
||||
assert_eq!(original.subpaths[0].anchors[1].kind, AnchorKind::Corner);
|
||||
assert_eq!(original.subpaths[0].anchors[0].p, Point::new(100.25, 100.5));
|
||||
let before = history(&s);
|
||||
// Omitted at preserves the existing no-op contract and the collinear Corner kind.
|
||||
s.execute("path.setHandle", &json!({"id": id.0, "anchor": 1, "which": "out", "x": 250, "y": 200})).unwrap();
|
||||
assert_eq!(path(&s, id), original);
|
||||
assert_eq!(history(&s), before);
|
||||
s.execute("path.setHandle", &json!({"id": id.0, "anchor": 1, "which": "out", "at": [210.25, 205.5], "x": 260.25, "y": 205.5})).unwrap();
|
||||
let changed = path(&s, id);
|
||||
let a = changed.subpaths[0].anchors[1];
|
||||
assert_eq!((a.kind, a.p, a.h_in, a.h_out), (AnchorKind::Corner, Point::new(210.25, 205.5), Point::new(160.25, 205.5), Point::new(260.25, 205.5)));
|
||||
assert_eq!(changed.subpaths[0].anchors[0], original.subpaths[0].anchors[0]);
|
||||
assert_eq!(changed.subpaths[0].anchors[2], original.subpaths[0].anchors[2]);
|
||||
assert!(s.doc().unwrap().doc.node(id).unwrap().extras().pixel_aligned);
|
||||
assert_eq!(history(&s), before + 1);
|
||||
let node = s.doc().unwrap().doc.node(id).unwrap().clone();
|
||||
let before_bad = history(&s);
|
||||
assert!(s.execute("path.setHandle", &json!({"id": id.0, "anchor": 1, "which": "out", "at": [220], "x": 270, "y": 210})).is_err());
|
||||
assert_eq!(s.doc().unwrap().doc.node(id).unwrap(), &node, "an invalid owner point does not apply the handle change first");
|
||||
assert_eq!(history(&s), before_bad);
|
||||
}
|
||||
@@ -68,6 +68,18 @@ use crate::rulerguide::GuideEdit;
|
||||
use crate::select::{MoveSnap, hit_center, hold_point, is_area_type, is_path_type, matrix_json, release_guide_at, selection_bounds};
|
||||
use crate::{Action, Cursor, Mods, Overlay, PixelOp, PointerEvent, PointerKind, Tool, ToolContext, ToolKey};
|
||||
|
||||
/// An ordinary path's handle drag keeps its owner across previews, which each start at Begin.
|
||||
#[derive(Clone, Debug)]
|
||||
struct HandleDrag {
|
||||
at: Point,
|
||||
last: Point,
|
||||
handle: Point,
|
||||
offset: Vec2,
|
||||
space: bool,
|
||||
independent: bool,
|
||||
translated: bool,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
enum State {
|
||||
Idle,
|
||||
@@ -106,6 +118,7 @@ enum State {
|
||||
si: usize,
|
||||
ai: usize,
|
||||
out: bool,
|
||||
drag: Option<HandleDrag>,
|
||||
},
|
||||
Marquee {
|
||||
start: Point,
|
||||
@@ -836,7 +849,22 @@ impl Tool for DirectSelectionTool {
|
||||
self.mesh.unfocus();
|
||||
}
|
||||
if let Some((id, si, ai, out)) = hit_handle(cx, p, point) {
|
||||
self.state = State::Handle { id, si, ai, out };
|
||||
let drag = cx.doc.node(id).and_then(|n| match &n.kind {
|
||||
NodeKind::Path { path, .. } => {
|
||||
let a = path.subpaths.get(si)?.anchors.get(ai)?;
|
||||
Some(HandleDrag {
|
||||
at: a.p,
|
||||
last: p,
|
||||
handle: if out { a.h_out } else { a.h_in },
|
||||
offset: Vec2::ZERO,
|
||||
space: false,
|
||||
independent: false,
|
||||
translated: false,
|
||||
})
|
||||
}
|
||||
_ => None,
|
||||
});
|
||||
self.state = State::Handle { id, si, ai, out, drag };
|
||||
self.handle_snap = HandleSnap::default();
|
||||
return vec![Action::Begin("Reshape".into())];
|
||||
}
|
||||
@@ -925,7 +953,8 @@ impl Tool for DirectSelectionTool {
|
||||
self.state = State::TypeArea { items, start, began: true };
|
||||
out
|
||||
}
|
||||
(PointerKind::Drag, State::Handle { id, si, ai, out }) => {
|
||||
(PointerKind::Drag, State::Handle { id, si, ai, out, drag: Some(drag) }) => self.drag_handle(cx, ev, p, (id, si, ai, out), drag),
|
||||
(PointerKind::Drag, State::Handle { id, si, ai, out, drag: None }) => {
|
||||
let (q, guides) = self.handle_snap.snap(cx, (id, si, ai), p, ev.mods.shift);
|
||||
self.snapped = snapped(q.to_vec2(), p.to_vec2(), ev.mods.shift, &guides);
|
||||
self.guides = guides;
|
||||
@@ -1451,6 +1480,57 @@ impl DirectSelectionTool {
|
||||
}
|
||||
vec![]
|
||||
}
|
||||
/// Update one ordinary-path handle preview, retaining its Space translation phase.
|
||||
fn drag_handle(
|
||||
&mut self,
|
||||
cx: &ToolContext,
|
||||
ev: &PointerEvent,
|
||||
p: Point,
|
||||
(id, si, ai, out): (NodeId, usize, usize, bool),
|
||||
mut drag: HandleDrag,
|
||||
) -> Vec<Action> {
|
||||
let delta = p - drag.last;
|
||||
if ev.mods.space {
|
||||
drag.at += delta;
|
||||
drag.handle += delta;
|
||||
if delta != Vec2::ZERO {
|
||||
drag.translated = true;
|
||||
// Handle targets include this path's anchors, which just moved.
|
||||
self.handle_snap = HandleSnap::default();
|
||||
}
|
||||
self.snapped = false;
|
||||
self.guides.clear();
|
||||
} else {
|
||||
if drag.space {
|
||||
// Resume at the accepted handle even when it was snapped away from the pointer.
|
||||
drag.offset = drag.handle - drag.last;
|
||||
self.handle_snap = HandleSnap::default();
|
||||
self.snapped = false;
|
||||
self.guides.clear();
|
||||
}
|
||||
// Releasing Space without moving must not reshape the translated handles.
|
||||
if !drag.space || delta != Vec2::ZERO {
|
||||
let input = p + drag.offset;
|
||||
let (q, guides) = self.handle_snap.snap(cx, (id, si, ai), input, ev.mods.shift);
|
||||
self.snapped = snapped(q.to_vec2(), input.to_vec2(), ev.mods.shift, &guides);
|
||||
self.guides = guides;
|
||||
drag.handle = q;
|
||||
drag.independent = ev.mods.alt;
|
||||
}
|
||||
}
|
||||
drag.last = p;
|
||||
drag.space = ev.mods.space;
|
||||
let mut params = json!({
|
||||
"id": id.0, "subpath": si, "anchor": ai, "which": if out { "out" } else { "in" },
|
||||
"x": drag.handle.x, "y": drag.handle.y, "independent": drag.independent,
|
||||
});
|
||||
if drag.translated {
|
||||
params["at"] = json!([drag.at.x, drag.at.y]);
|
||||
}
|
||||
self.state = State::Handle { id, si, ai, out, drag: Some(drag) };
|
||||
vec![Action::Preview("path.setHandle".into(), params)]
|
||||
}
|
||||
|
||||
fn drag_move_anchors(
|
||||
&mut self,
|
||||
cx: &ToolContext,
|
||||
|
||||
+4
-1
File diff suppressed because one or more lines are too long
+3
-2
@@ -1,6 +1,6 @@
|
||||
# Roadmap: milestones and what's next
|
||||
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-13 · **Change:** minor (Graphic Styles list fills a taller panel, #2992; scores and estimates unchanged; previously: PDF import: glyphs in a span with an empty ActualText come in as outlines, #6971; scores and estimates unchanged; previously: library panels' lists fill a taller panel, #2992; scores and estimates unchanged; previously: Swatches list fills a taller panel, #1638; scores and estimates unchanged; previously: icon-strip flyouts also resize from the top edge and the canvas-side top corner, keeping the moved top in workspaces (storytold/craft-libs#1094); scores and estimates unchanged; previously: #6865: explicitly requested oversized editing artboard; Live Paint Bucket fills faces crossed in one drag (#6373); previously: #6404: transform-aware Eyedropper character copying; scores and estimates unchanged; previously: M10/G5: Energy Beams brush library; MCP docs list Energy Beams; previously minor: M10/G5: Skill Icons symbol library; MCP docs list Skill Icons; previously minor: M10/G5: Status Effects graphic style library; MCP docs catch-up for symbol libraries; previously minor: M10/G5: Inventory Icons built-in symbol library; previously minor: Edit › Edit Custom Dictionary…: its dialog adds, deletes and changes the custom dictionary's words, #4936; previously minor: M10/G5: Game HUD graphic style library; previously minor: resizable icon-strip flyouts and bottom-aligned panel footers, #5713; previously minor: M10/G5: Map Markers built-in symbol library; previously minor: right-click on type: Spelling › Auto Spell Check, with its check mark, #4936; previously minor: right-click on a word Auto Spell Check underlined: its suggestions, Ignore All and Add to Dictionary, #4936; previously minor: G2: Effect Gallery thumbnails and in-dialog preview are in; Auto Spell Check: `edit.autoSpellCheck` underlines the unknown words, #4936; previously minor: PDF editable import preserves authored ActualText once, including empty/nested spans and authored ordering (#6165); cross-line/style layout remains approximate; scores and estimates unchanged; PDF marked-text export (#6309): compatible glyphs stay on one layout line with per-glyph offsets; scores and estimates unchanged; interim macOS cursor delivery, #2292; native validation pending; scores and estimates unchanged; Control bar › Snapping includes the existing Snap to Glyph and Alignment Guides toggles (#6164); scores and estimates unchanged; custom dictionary and Ignore All: `text.spelling.addWord`, `removeWord`, `changeWord`, `dictionary` and `ignoreAll`, #4936; previously minor: EPS import: embedded fonts (composite, Type 42, CID-keyed, Type 1, CFF FontSet) draw their glyphs; spell check engine: `text.spelling.check` and `text.spelling.suggest` on craft-proof, #4936; previously minor: floating tab groups collapse into the side icon rail and opened rail panels fold back into it, #5925 in part; M4/M7: `.ai`/EPS type keeps its tab stops, and right-aligned lines with tabs lay out as the file's page, #6147; M4/M7: `.ai`/EPS type from the text document lays its lines out closer to the file's page, within limits, #6137; numeric fields step on wheel hover without taking keyboard focus, #5949; Character Styles panel: a double-click on a style's row opens its Character Style Options; the dialog keeps a fixed width and scrolls its sections, so its buttons stay on screen; Selection QoL: marquee modes and visible feedback, #5313; SVG CSS classes survive export and repeated import in all four styling modes (#2480); current-main integration retains event attributes and scripts; #3380 deletion-only review follow-up: independent survivors keep gradient placement, owned subpaths avoid discarded copies, and contracts/status/evidence are clarified; endpoint highlighting remains open; scores and estimates unchanged; Indian-language hyphenation review and license allowlist, #4947; Hindi catalog and contributor loanword preferences; full wording review in progress; Effect dialogs: a colour swatch beside a hex colour opens the Color Picker, #5365; shape tools move the selection from its centre point and turn it from the zone outside a box corner, #5477; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x)
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-14 · **Change:** minor (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: Graphic Styles list fills a taller panel, #2992; scores and estimates unchanged; previously: PDF import: glyphs in a span with an empty ActualText come in as outlines, #6971; scores and estimates unchanged; previously: library panels' lists fill a taller panel, #2992; scores and estimates unchanged; previously: Swatches list fills a taller panel, #1638; scores and estimates unchanged; previously: icon-strip flyouts also resize from the top edge and the canvas-side top corner, keeping the moved top in workspaces (storytold/craft-libs#1094); scores and estimates unchanged; previously: #6865: explicitly requested oversized editing artboard; Live Paint Bucket fills faces crossed in one drag (#6373); previously: #6404: transform-aware Eyedropper character copying; scores and estimates unchanged; previously: M10/G5: Energy Beams brush library; MCP docs list Energy Beams; previously minor: M10/G5: Skill Icons symbol library; MCP docs list Skill Icons; previously minor: M10/G5: Status Effects graphic style library; MCP docs catch-up for symbol libraries; previously minor: M10/G5: Inventory Icons built-in symbol library; previously minor: Edit › Edit Custom Dictionary…: its dialog adds, deletes and changes the custom dictionary's words, #4936; previously minor: M10/G5: Game HUD graphic style library; previously minor: resizable icon-strip flyouts and bottom-aligned panel footers, #5713; previously minor: M10/G5: Map Markers built-in symbol library; previously minor: right-click on type: Spelling › Auto Spell Check, with its check mark, #4936; previously minor: right-click on a word Auto Spell Check underlined: its suggestions, Ignore All and Add to Dictionary, #4936; previously minor: G2: Effect Gallery thumbnails and in-dialog preview are in; Auto Spell Check: `edit.autoSpellCheck` underlines the unknown words, #4936; previously minor: PDF editable import preserves authored ActualText once, including empty/nested spans and authored ordering (#6165); cross-line/style layout remains approximate; scores and estimates unchanged; PDF marked-text export (#6309): compatible glyphs stay on one layout line with per-glyph offsets; scores and estimates unchanged; interim macOS cursor delivery, #2292; native validation pending; scores and estimates unchanged; Control bar › Snapping includes the existing Snap to Glyph and Alignment Guides toggles (#6164); scores and estimates unchanged; custom dictionary and Ignore All: `text.spelling.addWord`, `removeWord`, `changeWord`, `dictionary` and `ignoreAll`, #4936; previously minor: EPS import: embedded fonts (composite, Type 42, CID-keyed, Type 1, CFF FontSet) draw their glyphs; spell check engine: `text.spelling.check` and `text.spelling.suggest` on craft-proof, #4936; previously minor: floating tab groups collapse into the side icon rail and opened rail panels fold back into it, #5925 in part; M4/M7: `.ai`/EPS type keeps its tab stops, and right-aligned lines with tabs lay out as the file's page, #6147; M4/M7: `.ai`/EPS type from the text document lays its lines out closer to the file's page, within limits, #6137; numeric fields step on wheel hover without taking keyboard focus, #5949; Character Styles panel: a double-click on a style's row opens its Character Style Options; the dialog keeps a fixed width and scrolls its sections, so its buttons stay on screen; Selection QoL: marquee modes and visible feedback, #5313; SVG CSS classes survive export and repeated import in all four styling modes (#2480); current-main integration retains event attributes and scripts; #3380 deletion-only review follow-up: independent survivors keep gradient placement, owned subpaths avoid discarded copies, and contracts/status/evidence are clarified; endpoint highlighting remains open; scores and estimates unchanged; Indian-language hyphenation review and license allowlist, #4947; Hindi catalog and contributor loanword preferences; full wording review in progress; Effect dialogs: a colour swatch beside a hex colour opens the Color Picker, #5365; shape tools move the selection from its centre point and turn it from the zone outside a box corner, #5477; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x)
|
||||
>
|
||||
> Oversized artboard import update (2026-11-12): Explicit editing-data import retains a single artboard beyond a capped 14,400 pt PDF page (#6865).
|
||||
>
|
||||
@@ -153,7 +153,7 @@ native wording review, layout checks and a web Devanagari font remain. [Notes](l
|
||||
|---|---|---|---|
|
||||
| M0 | Skeleton + vertical slice | ✅ done | — |
|
||||
| M1 | Selection, transform, layers, MCP (common command tools, strict keys, session resources and version-aware result hints) | ✅ mostly done (document-tab artwork drag with lossless resource transfer and one target Undo; malformed MCP app replies discard the connection without replay, #1761; bounded control socket waits and connection-slot recovery, #1726; bounded synthetic control input, #1709; no-op anchor Align keeps Undo, Redo and saved state (#1180 follow-up); transform reference point snaps to anchors/centres; rotated objects keep a rotated bounding box and their angle; Free Transform, Scale and Reflect along a rotated box pending; the Transform fields take one Tab each, the W/H link after them) | 4–6 |
|
||||
| M2 | Drawing tools + smart guides | ✅ mostly done (#3380 deletion creates independent selected path pieces and keeps bounds-fitted gradients in place; endpoint highlighting remains open; Polygon/Star exact-size count persistence, with repeated-drag, tool-switch and Cancel regression coverage; Curvature point markers without direction handles (#1236, in part); Direct Selection segment click/Delete preserves neighboring edges, #1278; Flare, Reshape, Live Corners widget dragging and per-corner radii and kinds landed, on any path's corners; Shaper rough-shape recognition and orientation steps, the remaining Pen modifier nuances; Shaper Groups with editable sources and separate fill/stroke edits landed; custom ruler origin with drag preview, active-artboard reset, relative X/Y fields and native round-trip (#1212); construction widget/refinements pending); a shape just drawn moves by its centre point and turns from the zone outside a corner with its tool still active (#5477); Tangent and straight-segment perpendicular snapping use saved Smart Guides Geometric Guides preferences and Control bar quick access (#2537), including the existing Snap to Glyph and Alignment Guides toggles (#6164); no View submenu; Copy and Cut with the Pen or Curvature tool take the anchors a Cmd/Ctrl-lent Direct Selection picked (#6123) | 12–18 |
|
||||
| M2 | Drawing tools + smart guides | ✅ mostly done (#3380 deletion creates independent selected path pieces and keeps bounds-fitted gradients in place; endpoint highlighting remains open; Polygon/Star exact-size count persistence, with repeated-drag, tool-switch and Cancel regression coverage; Curvature point markers without direction handles (#1236, in part); Direct Selection segment click/Delete preserves neighboring edges, #1278; Flare, Reshape, Live Corners widget dragging and per-corner radii and kinds landed, on any path's corners; Shaper rough-shape recognition and orientation steps, the remaining Pen modifier nuances; Shaper Groups with editable sources and separate fill/stroke edits landed; custom ruler origin with drag preview, active-artboard reset, relative X/Y fields and native round-trip (#1212); construction widget/refinements pending); a shape just drawn moves by its centre point and turns from the zone outside a corner with its tool still active (#5477); Tangent and straight-segment perpendicular snapping use saved Smart Guides Geometric Guides preferences and Control bar quick access (#2537), including the existing Snap to Glyph and Alignment Guides toggles (#6164); no View submenu; Copy and Cut with the Pen or Curvature tool take the anchors a Cmd/Ctrl-lent Direct Selection picked (#6123); Space during an ordinary path's Direct Selection handle drag repositions its anchor and both handles, with release-Space handle continuation and Pen continuation through a Cmd/Ctrl loan (#7237, request 3 only) | 12–18 |
|
||||
| M3 | Paint & appearance (swatches, color, gradient, stroke, appearance, transparency, styles) | ✅ done (M3.7–M3.98): swatches, groups, libraries, tints, Lab spots and Registration; Eyedropper copies transformed character dimensions (#6404) and styles highlighted text only (atomic transparency rejection); Eyedropper reads visible locked and outside-isolation sources (#1251); Color Picker, Color panel, Color Guide, Color Themes, Edit Colors and Recolor Artwork (screen-bounded Edit chip list, #3416); gradients that follow every transform, the annotator, linked stops, freeform gradients, focal points, gradients on strokes and Expand; visible strokes when paint is added to inherited None/zero-width art (#1253); stroke geometry, arrowheads, dashes fitted to corners, stroke on type, width profiles and the Width tool (Shift-double-click enables adjoining adjustment in Width Point Edit; finite-arithmetic follow-up regressions and full CI passed ([Validation evidence](target-app-parity.md#evidence-what-ships-today-by-area))), Scale Strokes and preview bounds; Appearance targeting, container appearance, target circles, Expand Appearance; knockout, isolation, blend accuracy, CMYK blending, overprint, Attributes, masks and clipping, Flatten Transparency; graphic styles, links and libraries; CSS library export preserves fractional linear and radial gradient stop positions. Left: freeform gradients in SVG/PDF, mixed spot/process gradients in SVG and PDF gradients mixing a spot color with RGB or Lab stops export as stops or process colors; PDF export writes dithered gradient fills with spot stops, and Perceptual spot gradients with RGB or Lab stops other than white or more than 4,096 stops on their curve, as images in process colors; confirm the Scale Strokes & Effects default; Recolor model selection is available through the engine and MCP only (#2520); the dialog retains its existing controls; Library panels' lists (swatch, Color Book, brush, symbol and graphic style libraries) fill a taller panel above its footer (#2992; scores and estimates unchanged); Graphic Styles list fills a taller panel above its footer (#2992; scores and estimates unchanged); Swatches list fills a taller panel above its footer (#1638; `the_list_fills_a_tall_panel_above_its_footer`; scores and estimates unchanged); | 4–8 |
|
||||
| M4 | Files (native, SVG, PDF, raster, Export for Screens, clipboard interop) | Explicit editing-data import keeps oversized capped-page artboards (#6865; estimates unchanged); Save refusal continuation (#6146): ordinary Save offers Save As; unchanged format keeps options, changed format opens its Save options; cancellation/automation isolation; focused UI regressions passed, native acceptance pending; PDF authored ActualText preserved once in editable import (#6165; first-glyph line/style, bounded input; estimates unchanged); PDF export keeps harakat and zero-advance Noto Arabic dot glyphs in one compatible batch per layout line, with per-glyph vertical offsets (#6309). `crates/pdf/src/tests/realtext.rs` (`mark_text_*`) checks decoded cluster mappings, mixed Arabic/Latin/digits, contour placement against outline export, vertical columns, differing path rotations and PDF/X-1a/3/4. Editable-text import preserves authored ActualText separately (#6165), with cross-line/style layout limits; separately styled or differently rotated clusters and external viewer search/copy remain outside this export-only evidence. `.ai`/EPS type from the text document keeps its paragraphs' tab stops (#6147); `.ai`/EPS type from the text document keeps auto leading per line, its hyphenation options, and may show more of the last lines the file sets in an area frame of its own, when growing the frame by its lines' deepest descent plus 0.05 pt shows them (#6137); ✅ done (M4.14–M4.98 on 2026-10-05): Save As/Save a Copy/Revert/templates, Data Recovery and background save, SVG import and export fidelity (units, text, symbols, filters, SVGZ, Preserve Editing, SVG Options), shared guarded PDF writer and windowed reader ([pdf-backend.md](pdf-backend.md)), PDF import (colours, layers, masks, editable text, security) and export (presets, marks, bleed, ICC and output intent, raster effects, subset fonts, PDF/X-1a, X-3 and X-4, PDF layers, overprint, page thumbnails, fast web view, PDF 1.3), Place and Links, Package, EPS and DXF in and out (EPS legacy mesh corners, vector opacity masks and raster page comparison verified; closed SPLINE flags round-trip and circular paths export as native CIRCLE/ARC, #1299), EMF/WMF, TIFF/BMP/Targa/PSD/GIF/PNG-8 export, Print and print presets, slices, Save for Web, TIFF in Export for Screens and Asset Export, clipboard flavours, File Info; AF.1–AF.4 add Affinity import (native layers, artboards, vectors, text and images from Affinity 1–3 files; the embedded preview only as a warned fallback; AF.4 expands current `.af` fixtures and every-board round-trip validation); EPS Save and Save As keep an opened EPS as EPS with its page frame and complete editable VectorCraft document (2026-10-26; G9 import fidelity unchanged). Left: DWG (use DXF), PSD placement as layers, overprint read back from PDF, Affinity export, polish; SVG CSS classes survive export and repeated import in all four styling modes (#2480); current-main integration retains event attributes and scripts; SVG CSS classes survive export and repeated import in all four styling modes (#2480); current-main integration retains event attributes and scripts; PDF import: glyphs inside a marked-content span with an empty `ActualText` come in as outlines in their fill and stroke, adding no text (#6971; scores and estimates unchanged); | 3–6 (existing scope; Affinity export unestimated) |
|
||||
| M5 | Performance | 🟡 background render + caches + MT done; `vectorcraft-cli bench` and `vectorcraft-cli perf` (budget suite); opaque solid-fill knockout paths draw once in hard-edge/supersampled raster export, with analytical-AA compositing unchanged; file format v2 opens 3× faster (50k paths: 722 → 244 ms); raster effects (glows, shadows, blur, feather) no longer force the whole frame single-threaded (filtered offscreen per effect, verified equal to the single-threaded reference); Craquelure/Mosaic Tiles/Stained Glass distance searches optimized with pixel-invariance checks and the `texture_drag_perf` probe (#1257); effect-heavy demos need a clean-machine benchmark; dirty-region rendering, GPU backend spike pending | 15–25 |
|
||||
@@ -202,6 +202,7 @@ separate. Scores and hours unchanged. [Behavior and command details](development
|
||||
|
||||
| Date | Change | Summary |
|
||||
|---|---|---|
|
||||
| 2026-11-14 | minor | Direct Selection: Space during an ordinary path's direction-handle drag moves its anchor and both handles; releasing Space resumes handle adjustment, and a Cmd/Ctrl loan preserves Pen continuation (#7237, request 3 only). Handle-hover labels remain open; scores and estimates unchanged. |
|
||||
| 2026-11-12 | minor | Explicit editing-data import keeps a single artboard beyond a capped 14,400 pt PDF page (#6865), with a warning; automatic mode stays unchanged. Scores and estimates unchanged. |
|
||||
| 2026-11-12 | minor | M7: Glyphs panel applies feature-valued alternates and unencoded glyphs while keeping Arabic joining (#5514). Scores and estimates unchanged. |
|
||||
| 2026-11-12 | minor | M14: numeric fields keep the caret when a focus click is released more than 1 pt from its press; a tap within 1 pt still selects all (#6659, follow-up to #1326); estimates unchanged. |
|
||||
|
||||
File diff suppressed because one or more lines are too long
+3
-2
@@ -1,6 +1,6 @@
|
||||
# UI and interaction parity
|
||||
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-13 · **Change:** minor (Graphic Styles list fills a taller panel, #2992; scores and estimates unchanged; previously: library panels' lists fill a taller panel, #2992; scores and estimates unchanged; previously: Swatches list fills a taller panel, #1638; scores and estimates unchanged; previously: icon-strip flyouts also resize from the top edge and the canvas-side top corner, keeping the moved top in workspaces (storytold/craft-libs#1094); scores and estimates unchanged; previously: macOS: the canvas cursor stays after the pointer moves, #6362; scores and estimates unchanged; previously minor: Remove Background in the Contextual Task Bar, Properties › Quick Actions and the Control bar; previously minor: Ruler origin: the corner drag snaps as a drawn point does; previously minor: Live Paint Bucket fills faces crossed in one drag (#6373); previously: #6404: transform-aware Eyedropper character copying; scores and estimates unchanged; previously: Outline view: images and gradient meshes are picked on what Outline draws, so a click inside them reaches the path behind, #6437; previously minor: a middle-click on a document tab closes it, #6506; previously minor: Blob Brush: a round tip's preview is the outline of the area it adds, round at both ends, as the stroke it commits (#4343); scores and estimates unchanged; previously:; ruler double-click adds a guide at the pointer, #5239; G5: Inventory Icons built-in symbol library (four built-ins); previously minor: files that record no units open in Preferences › Units › General, #5820; previously minor: interim macOS cursor delivery, #2292; native validation pending; scores and estimates unchanged; Control bar › Snapping includes the existing Snap to Glyph and Alignment Guides toggles (#6164); scores and estimates unchanged; floating tab groups collapse into the side icon rail and opened rail panels fold back into it, #5925 in part; numeric fields step on wheel hover without taking keyboard focus, #5949; Character Styles panel: a double-click on a style's row opens its Character Style Options; the dialog keeps a fixed width and scrolls its sections, so its buttons stay on screen; Selection QoL: marquee modes and visible feedback, #5313; #3380 deletion-only review follow-up: independent survivors keep gradient placement, owned subpaths avoid discarded copies, and contracts/status/evidence are clarified; endpoint highlighting remains open; scores and estimates unchanged; Drop Shadow and glow dialogs: spinner arrows, #5367, #5368; Stroke Weight Up and Down shortcuts, #5797; Layers: Rename (`ui.rename`) opens the name field of the selected layer, group or object, #5324; Properties in Edit Artboards: Transform section above the Artboards section, #5219; scrubby labels: the Control bar's Stroke: and Opacity: links and the Properties panel's Stroke link scrub their fields, #4088; Properties: Quick Actions has Repeat Options for one selected repeat, #5181; Direct Selection: Shift-click picks several blend spine points, which drag together, #5285; Direct Selection: Cmd/Ctrl held lends the Selection tool and shows its bounding box, #3901; Join tool trims two crossing open paths and joins them at the crossing, #5844; Control bar: Paragraph: link and Align left/center/right while type is selected, #5372; shape tools: a press on the selection's centre point moves it and one in the rotate zone outside a box corner turns it, #5477; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x; Units › East Asian Type acts, with Q and Ha units; scores unchanged)
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-14 · **Change:** minor (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: Graphic Styles list fills a taller panel, #2992; scores and estimates unchanged; previously: library panels' lists fill a taller panel, #2992; scores and estimates unchanged; previously: Swatches list fills a taller panel, #1638; scores and estimates unchanged; previously: icon-strip flyouts also resize from the top edge and the canvas-side top corner, keeping the moved top in workspaces (storytold/craft-libs#1094); scores and estimates unchanged; previously: macOS: the canvas cursor stays after the pointer moves, #6362; scores and estimates unchanged; previously minor: Remove Background in the Contextual Task Bar, Properties › Quick Actions and the Control bar; previously minor: Ruler origin: the corner drag snaps as a drawn point does; previously minor: Live Paint Bucket fills faces crossed in one drag (#6373); previously: #6404: transform-aware Eyedropper character copying; scores and estimates unchanged; previously: Outline view: images and gradient meshes are picked on what Outline draws, so a click inside them reaches the path behind, #6437; previously minor: a middle-click on a document tab closes it, #6506; previously minor: Blob Brush: a round tip's preview is the outline of the area it adds, round at both ends, as the stroke it commits (#4343); scores and estimates unchanged; previously:; ruler double-click adds a guide at the pointer, #5239; G5: Inventory Icons built-in symbol library (four built-ins); previously minor: files that record no units open in Preferences › Units › General, #5820; previously minor: interim macOS cursor delivery, #2292; native validation pending; scores and estimates unchanged; Control bar › Snapping includes the existing Snap to Glyph and Alignment Guides toggles (#6164); scores and estimates unchanged; floating tab groups collapse into the side icon rail and opened rail panels fold back into it, #5925 in part; numeric fields step on wheel hover without taking keyboard focus, #5949; Character Styles panel: a double-click on a style's row opens its Character Style Options; the dialog keeps a fixed width and scrolls its sections, so its buttons stay on screen; Selection QoL: marquee modes and visible feedback, #5313; #3380 deletion-only review follow-up: independent survivors keep gradient placement, owned subpaths avoid discarded copies, and contracts/status/evidence are clarified; endpoint highlighting remains open; scores and estimates unchanged; Drop Shadow and glow dialogs: spinner arrows, #5367, #5368; Stroke Weight Up and Down shortcuts, #5797; Layers: Rename (`ui.rename`) opens the name field of the selected layer, group or object, #5324; Properties in Edit Artboards: Transform section above the Artboards section, #5219; scrubby labels: the Control bar's Stroke: and Opacity: links and the Properties panel's Stroke link scrub their fields, #4088; Properties: Quick Actions has Repeat Options for one selected repeat, #5181; Direct Selection: Shift-click picks several blend spine points, which drag together, #5285; Direct Selection: Cmd/Ctrl held lends the Selection tool and shows its bounding box, #3901; Join tool trims two crossing open paths and joins them at the crossing, #5844; Control bar: Paragraph: link and Align left/center/right while type is selected, #5372; shape tools: a press on the selection's centre point moves it and one in the rotate zone outside a box corner turns it, #5477; scores and estimates unchanged) · **Target:** Adobe Illustrator 2026 (30.x; Units › East Asian Type acts, with Q and Ha units; scores unchanged)
|
||||
>
|
||||
> Vector Halftone preview update (2026-11-10): temporary dot selection marks are hidden, and the bounding box stays available (#6369).
|
||||
>
|
||||
@@ -210,7 +210,7 @@ tools, never checked side by side) isn't captured row by row.
|
||||
| Drag a curved segment to bend it, a straight one to move its anchors | done | |
|
||||
| Drag by an anchor of a path selected whole moves the whole path; Alt-drag by an anchor or a segment copies it, Alt toggles the copy during the drag, and the copy snaps by the anchor pressed, onto the original too | done | #1104 |
|
||||
| Handles shown are the handles that drag; tolerance from Selection & Anchor Display | done | #494 |
|
||||
| Drag a handle with Shift (45° about its anchor), Alt (move one handle alone) | done | handles snap to smart guides; handle and anchor drags no longer stall when the pointer leaves and re-enters the window, and a move in the release's frame lands (#834) |
|
||||
| Drag a handle with Shift (45° about its anchor), Alt (move one handle alone), Space (ordinary paths: move its anchor and both handles) | done | handles snap to smart guides; handle and anchor drags no longer stall when the pointer leaves and re-enters the window, and a move in the release's frame lands (#834); Space pressed during an ordinary path's handle drag moves its owning anchor and both handles; releasing Space while keeping the mouse down resumes handle adjustment. This also applies while Cmd/Ctrl lends Direct Selection to the Pen, which then continues the same path (#7237, request 3 only) |
|
||||
| Show handles when multiple anchors are selected; Highlight anchors on mouse over; anchor and handle size | done | Preferences › Selection & Anchor Display |
|
||||
| Convert selected anchors to corner/smooth from the Control bar and Properties | done | |
|
||||
| Cut path at selected anchors, Remove Anchor Points, Delete removes segments | done | Open-path anchor Delete removes adjoining segments without bridging the gap; #3380 (deletion only): disconnected survivors of an ordinary contour become independent selected sibling objects, while multi-subpath paths and compound members stay intact; targeted core and full-frame Delete/Backspace regressions pass for survivor selection and Undo/Redo. Explicit Remove Anchor Points keeps its reconnect/refit behavior; #1278: segment Delete preserves neighboring edges and endpoint anchors; a second Delete removes all selected surviving objects; explicit anchor Delete retains its behavior; #1674: Delete removes every selected anchor of a closed path and objects selected whole along with them, and keeps the surviving objects selected; #2241: Remove Anchor Points then selects the next anchor along the path (the one before at an open end), so it can be run again without picking each anchor |
|
||||
@@ -536,6 +536,7 @@ before release (#6373). [Paint faces and edges](https://helpx.adobe.com/illustra
|
||||
|
||||
| Date | Change | Summary |
|
||||
|---|---|---|
|
||||
| 2026-11-14 | minor | Direct Selection: Space during an ordinary path's direction-handle drag moves its anchor and both handles; releasing Space resumes handle adjustment, and a Cmd/Ctrl loan preserves Pen continuation (#7237, request 3 only). Handle-hover labels remain open; scores and estimates unchanged. |
|
||||
| 2026-11-12 | minor | Numeric fields: a focus click released more than 1 pt from its press keeps the caret; a tap within 1 pt still selects the whole value (#6659, follow-up to #1326). Scores and estimates unchanged. |
|
||||
| 2026-11-12 | minor | Remove Background for a selected image in the Contextual Task Bar, Properties › Quick Actions and the Control bar, which runs at once with its defaults. Scores and estimates unchanged. |
|
||||
| 2026-11-12 | minor | Live Paint Bucket fills faces crossed in one drag (#6373). Scores and estimates unchanged. |
|
||||
|
||||
Reference in New Issue
Block a user