mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-28 01:10:54 +01:00
Merge pull request #8779 from yoriswind/codex/8687-status-bar-snapping
Status bar: add quick snapping controls
This commit is contained in:
7 files changed
+227
-18
No files matched your search
@@ -165,6 +165,21 @@ fn command_rows(ui: &mut Ui, rows: &[CommandRow]) -> Option<(&'static str, Value
|
||||
/// The Control bar's snapping quick access; every change uses its existing command, and Pixel
|
||||
/// Snapping Options… opens the dialog of `view.snapToPixel.options`.
|
||||
fn snapping_menu(app: &mut VectorcraftApp, ui: &mut Ui) {
|
||||
let label = tl!("Snapping");
|
||||
let mut ran = None;
|
||||
ranked(ui, rank::FIELDS, |ui| {
|
||||
let button = Button::new(label).trailing_icon(IconId::new("chevron-down")).show(ui);
|
||||
Menu::new(label).opened_by(&button, Trigger::Click).show(ui, |ui, _| {
|
||||
ran = snapping_menu_contents(app, ui);
|
||||
});
|
||||
});
|
||||
if let Some((id, params)) = ran {
|
||||
crate::menus::invoke(app, id, params);
|
||||
}
|
||||
}
|
||||
|
||||
/// The same live command menu in the Control and Status bars.
|
||||
pub(super) fn snapping_menu_contents(app: &VectorcraftApp, ui: &mut Ui) -> Option<(&'static str, Value)> {
|
||||
let toggle = |label, id, on| CommandRow { label, check: Some(on), id, params: json!({}) };
|
||||
let preference =
|
||||
|label, key: &'static str, on: bool| CommandRow { label, check: Some(on), id: "prefs.set", params: json!({"key": key, "value": !on}) };
|
||||
@@ -185,22 +200,14 @@ fn snapping_menu(app: &mut VectorcraftApp, ui: &mut Ui) {
|
||||
preference(tl!("Snap to Perpendicular"), "snapPerpendicular", prefs.snap_perpendicular),
|
||||
],
|
||||
];
|
||||
let label = tl!("Snapping");
|
||||
let mut ran = None;
|
||||
ranked(ui, rank::FIELDS, |ui| {
|
||||
let button = Button::new(label).trailing_icon(IconId::new("chevron-down")).show(ui);
|
||||
Menu::new(label).opened_by(&button, Trigger::Click).show(ui, |ui, _| {
|
||||
for (i, rows) in sections.iter().enumerate() {
|
||||
if i > 0 {
|
||||
Divider::horizontal().show(ui);
|
||||
}
|
||||
ran = command_rows(ui, rows).or(ran.take());
|
||||
}
|
||||
});
|
||||
});
|
||||
if let Some((id, params)) = ran {
|
||||
crate::menus::invoke(app, id, params);
|
||||
for (i, rows) in sections.iter().enumerate() {
|
||||
if i > 0 {
|
||||
Divider::horizontal().show(ui);
|
||||
}
|
||||
ran = command_rows(ui, rows).or(ran.take());
|
||||
}
|
||||
ran
|
||||
}
|
||||
|
||||
/// The Control bar's isolation action: icon, name and command. In isolation mode it is Exit Isolation Mode,
|
||||
|
||||
@@ -49,25 +49,44 @@ pub fn status_bar(app: &mut VectorcraftApp, ui: &mut Ui) {
|
||||
|
||||
let (mut zoom_to, mut rotate_to, mut go, mut show_pick, mut stop) = (None, None, None, None, false);
|
||||
let mut invalid_zoom = None;
|
||||
// The readouts end the bar, the pointer's position and then the timings; a narrow bar leaves out the timings
|
||||
// first, then the position, before the message.
|
||||
let mut snapping = None;
|
||||
// Convenience controls leave first: direct toggles, then the menu. The existing timings and pointer position
|
||||
// retain their priority, and all trailing groups leave before the navigation, info field or message narrows.
|
||||
let readouts = |ui: &mut Ui, _: &mut BodyCx<'_>| {
|
||||
// With no hover point the axes stay empty and keep their width.
|
||||
let origin = app.ruler_origin();
|
||||
Row::new().gap(Gap::Item).fit_rank(2).show(ui, |ui, _| {
|
||||
Row::new().gap(Gap::Item).fit_rank(4).show(ui, |ui, _| {
|
||||
for (axis, value) in [("X", app.hover_doc.map(|p| p.x - origin.x)), ("Y", app.hover_doc.map(|p| p.y - origin.y))] {
|
||||
let text = value.map(|v| format!("{axis}: {}", unit.readout(v))).unwrap_or_default();
|
||||
Text::new(text).role(TypeRole::Mono).shade(Shade::Muted).sample(format!("{axis}: -8888.88 {}", unit.suffix())).show(ui);
|
||||
}
|
||||
});
|
||||
let readout = |text: String, sample: String| Text::new(text).shade(Shade::Faint).sample(sample);
|
||||
Row::new().gap(Gap::Item).fit_rank(1).show(ui, |ui, _| {
|
||||
Row::new().gap(Gap::Item).fit_rank(3).show(ui, |ui, _| {
|
||||
readout(format!("{render} {:.1} ms", app.perf.render_ms), format!("{render} 8888.8 ms")).show(ui);
|
||||
readout(format!("{ui_name} {:.1} ms", app.perf.frame_ms), format!("{ui_name} 8888.8 ms")).show(ui);
|
||||
// No rate until the window has drawn continuously for a moment (`frame_rate`).
|
||||
let fps = if app.perf.fps > 0.0 { format!("{:.0} fps", app.perf.fps) } else { "\u{2013} fps".into() };
|
||||
readout(fps, "8888 fps".into()).show(ui);
|
||||
});
|
||||
Row::new().gap(Gap::Item).fit_rank(1).show(ui, |ui, _| {
|
||||
for (icon, label, command, on) in [
|
||||
("sparkles", tl!("Smart Guides"), "view.smartGuides", app.ui.view.smart_guides),
|
||||
("dc-reference-point", tl!("Snap to Point"), "view.snapToPoint", app.ui.view.snap_to_point),
|
||||
("grid-3x3", tl!("Snap to Grid"), "view.snapToGrid", app.ui.view.snap_to_grid),
|
||||
] {
|
||||
if IconButton::new(IconId::new(icon)).label(label).selected(on).show(ui).clicked() {
|
||||
snapping = Some((command, json!({})));
|
||||
}
|
||||
}
|
||||
});
|
||||
Row::new().fit_rank(2).show(ui, |ui, _| {
|
||||
let label = tl!("Snapping");
|
||||
let button = Button::new(label).trailing_icon(IconId::new("chevron-down")).show(ui);
|
||||
Menu::new(label).opened_by(&button, Trigger::Click).show(ui, |ui, _| {
|
||||
snapping = super::control_bar::snapping_menu_contents(app, ui).or(snapping.take());
|
||||
});
|
||||
});
|
||||
};
|
||||
// PLAN: assumed VectorcraftApp::canvas_view() -> Option<CanvasView> (cv.S4) and the label msgid "Status Bar".
|
||||
Bar::new(tl!("Status Bar"), BarKind::Status).trailing(readouts).show(ui, |ui, _| {
|
||||
@@ -144,6 +163,9 @@ pub fn status_bar(app: &mut VectorcraftApp, ui: &mut Ui) {
|
||||
if stop {
|
||||
app.session.script_interrupt().set();
|
||||
}
|
||||
if let Some((id, params)) = snapping {
|
||||
crate::menus::invoke(app, id, params);
|
||||
}
|
||||
// It fails only without a document, when there is no view to turn or zoom.
|
||||
if let Some(zoom) = zoom_to {
|
||||
app.run("view.setZoom", json!({"zoom": zoom})).ok();
|
||||
|
||||
@@ -184,6 +184,182 @@ impl Shown {
|
||||
}
|
||||
}
|
||||
|
||||
/// #8687: the framework buttons and the shared menu run the existing commands, retain their live accessible
|
||||
/// state, and leave the document, selection, history, tool, view and unconfirmed pixel options untouched.
|
||||
#[test]
|
||||
fn review_8687_status_snapping_uses_existing_commands_and_accessible_state() {
|
||||
let mut bar = status_readout_app();
|
||||
bar.room(egui::vec2(2200.0, 300.0));
|
||||
let (document, selection, history, tool, camera) = {
|
||||
let mut app = bar.app();
|
||||
app.run("shape.rectangle", json!({"x": 10, "y": 10, "width": 20, "height": 30})).unwrap();
|
||||
app.ui.view.smart_guides = false;
|
||||
app.ui.view.snap_to_point = false;
|
||||
app.ui.view.snap_to_grid = false;
|
||||
app.ui.view.snap_to_pixel = false;
|
||||
app.ui.view.snap_to_glyph = false;
|
||||
app.run("prefs.set", json!({"key": "alignmentGuides", "value": true})).unwrap();
|
||||
let st = app.session.active().unwrap();
|
||||
(
|
||||
json!(st.doc.as_ref()),
|
||||
st.selection.clone(),
|
||||
(st.history.undo.len(), st.history.redo.len()),
|
||||
app.session.tool_id().to_owned(),
|
||||
app.view().map(|v| (v.zoom, v.rotation)),
|
||||
)
|
||||
};
|
||||
for (name, command) in [("Smart Guides", "view.smartGuides"), ("Snap to Point", "view.snapToPoint"), ("Snap to Grid", "view.snapToGrid")] {
|
||||
let button = bar.settle().named(name);
|
||||
assert_eq!(bar.tree().role_of(button.node), Some(Role::BUTTON));
|
||||
// Native IconButton exposes its active state as pressed/toggled through its BUTTON role.
|
||||
assert_eq!(bar.tree().toggled_of(button.node), Some(Mixed::Same(false)));
|
||||
let before = bar.app().run_count;
|
||||
bar.click_on(&button).settle();
|
||||
assert_eq!(bar.app().run_count, before + 1, "direct {name} uses the existing command entry");
|
||||
assert_eq!(crate::menus::checked(&bar.app(), command, &json!({})), Some(true));
|
||||
let button = bar.named(name);
|
||||
assert_eq!(bar.tree().toggled_of(button.node), Some(Mixed::Same(true)));
|
||||
crate::menus::invoke(&mut bar.app(), command, json!({}));
|
||||
let button = bar.settle().named(name);
|
||||
assert_eq!(bar.tree().toggled_of(button.node), Some(Mixed::Same(false)), "reverse commands refresh the live button");
|
||||
}
|
||||
for (name, command) in [
|
||||
("Smart Guides", "view.smartGuides"),
|
||||
("Snap to Point", "view.snapToPoint"),
|
||||
("Snap to Grid", "view.snapToGrid"),
|
||||
("Snap to Pixel", "view.snapToPixel"),
|
||||
("Snap to Glyph", "view.snapToGlyph"),
|
||||
] {
|
||||
bar.click("Snapping").settle();
|
||||
// The menu follows the direct buttons in the tree; select the checked menu row by role.
|
||||
let row = review_8687_menu_row(&bar, name);
|
||||
assert!(!bar.checked(&row));
|
||||
let before = bar.app().run_count;
|
||||
bar.click_on(&row).settle();
|
||||
assert_eq!(bar.app().run_count, before + 1, "menu {name} uses the existing command entry");
|
||||
assert_eq!(crate::menus::checked(&bar.app(), command, &json!({})), Some(true));
|
||||
bar.key(egui::Key::Escape);
|
||||
crate::menus::invoke(&mut bar.app(), command, json!({}));
|
||||
bar.settle().click("Snapping").settle();
|
||||
assert!(!bar.checked(&review_8687_menu_row(&bar, name)), "menu rereads external command state");
|
||||
bar.key(egui::Key::Escape);
|
||||
}
|
||||
bar.click("Snapping").settle();
|
||||
let preferences = {
|
||||
let app = bar.app();
|
||||
[
|
||||
("Alignment Guides", app.session.prefs.alignment_guides),
|
||||
("Snap to Tangent", app.session.prefs.snap_tangent),
|
||||
("Snap to Perpendicular", app.session.prefs.snap_perpendicular),
|
||||
]
|
||||
};
|
||||
for (name, on) in preferences {
|
||||
assert_eq!(bar.checked(&review_8687_menu_row(&bar, name)), on);
|
||||
}
|
||||
let row = review_8687_menu_row(&bar, "Alignment Guides");
|
||||
let before = bar.app().run_count;
|
||||
bar.click_on(&row).settle();
|
||||
assert_eq!(bar.app().run_count, before + 1);
|
||||
assert!(!bar.app().session.prefs.alignment_guides);
|
||||
bar.key(egui::Key::Escape).click("Snapping").settle();
|
||||
let pixel = bar.app().session.prefs.pixel_snap;
|
||||
bar.click(tl!("Pixel Snapping Options…")).settle();
|
||||
{
|
||||
let app = bar.app();
|
||||
let dialogs = app.dialogs().expect("the native dialog host");
|
||||
let id = craft::ui::dialog::dialog_id(crate::dialogs::pixel_snap_options::KIND);
|
||||
dialogs.with(|host| {
|
||||
let dialog = host.open_dialogs().into_iter().find(|dialog| dialog.id == id).expect("the existing Pixel Snapping Options dialog");
|
||||
assert_eq!(dialog.key.as_deref(), Some(crate::dialogs::pixel_snap_options::KIND));
|
||||
assert_eq!(dialog.fields, Some(json!({"drawing": pixel.drawing, "moving": pixel.moving, "scaling": pixel.scaling})));
|
||||
assert!(host.cancel_by_id(bar.fixture.ctx(), id));
|
||||
assert!(!host.open_dialogs().iter().any(|dialog| dialog.id == id));
|
||||
});
|
||||
assert_eq!(app.session.prefs.pixel_snap, pixel, "closing without OK changes no option");
|
||||
let st = app.session.active().unwrap();
|
||||
assert_eq!(json!(st.doc.as_ref()), document);
|
||||
assert_eq!(st.selection, selection);
|
||||
assert_eq!((st.history.undo.len(), st.history.redo.len()), history);
|
||||
assert_eq!(app.session.tool_id(), tool);
|
||||
assert_eq!(app.view().map(|v| (v.zoom, v.rotation)), camera);
|
||||
}
|
||||
}
|
||||
|
||||
fn review_8687_menu_row(bar: &Shown, name: &str) -> Target {
|
||||
let tree = bar.tree();
|
||||
let rows: Vec<_> = tree
|
||||
.keys()
|
||||
.into_iter()
|
||||
.filter(|key| tree.role_of(*key) == Some(Role::MENU_ITEM_CHECK_BOX))
|
||||
.filter(|key| tree.name_of(*key) == Some(name) && tree.toggled_of(*key).is_some())
|
||||
.collect();
|
||||
assert_eq!(rows.len(), 1, "one live checked menu row named {name}");
|
||||
bar.fixture.target(rows[0]).unwrap()
|
||||
}
|
||||
|
||||
/// #8687: fit ranks replace raw pixel reservations. The direct group leaves whole, then the menu, while current
|
||||
/// main's navigation, info, message and higher-priority readouts keep their places and controls stay in the bar.
|
||||
#[test]
|
||||
fn review_8687_status_snapping_fits_full_menu_and_omitted_real_frames() {
|
||||
let mut bar = status_readout_app();
|
||||
bar.app().hover_doc = Some(vectorcraft_geom::Point::new(7.0, 5.0));
|
||||
let mut stages = Vec::new();
|
||||
let (mut message_origin, mut info_origin) = (None, None);
|
||||
for width in (400..=2200).rev().step_by(10).map(|w| w as f32) {
|
||||
bar.room(egui::vec2(width, 300.0)).settle();
|
||||
let direct: Vec<_> = ["Smart Guides", "Snap to Point", "Snap to Grid"].into_iter().filter_map(|name| bar.find(name)).collect();
|
||||
let menu = bar.find("Snapping");
|
||||
assert!(direct.is_empty() || direct.len() == 3, "the direct group remains whole at {width}");
|
||||
let stage = if !direct.is_empty() {
|
||||
2
|
||||
} else if menu.is_some() {
|
||||
1
|
||||
} else {
|
||||
0
|
||||
};
|
||||
assert!(stage != 2 || menu.is_some(), "full includes Snapping");
|
||||
if let Some(previous) = stages.last() {
|
||||
assert!(stage <= *previous, "controls cannot return as the bar narrows");
|
||||
}
|
||||
if stages.last() != Some(&stage) {
|
||||
stages.push(stage);
|
||||
}
|
||||
let texts = bar.texts();
|
||||
let message = status_text(&texts, "Saved recovery data");
|
||||
let info = status_text(&texts, "Selection");
|
||||
let controls_band = bar.find("Zoom").unwrap().rect.union(bar.find("Rotation").unwrap().rect);
|
||||
assert!(message.bounds.left() >= info.bounds.right());
|
||||
for (origin, at) in [(&mut message_origin, message.at), (&mut info_origin, info.at)] {
|
||||
if let Some(first) = *origin {
|
||||
assert_eq!(at, first, "snapping cannot displace core status content");
|
||||
} else {
|
||||
*origin = Some(at);
|
||||
}
|
||||
}
|
||||
for name in ["Zoom", "Rotation", "First Artboard", "Previous Artboard", "Next Artboard", "Last Artboard"] {
|
||||
assert!(bar.find(name).is_some(), "{name} remains at {width}");
|
||||
}
|
||||
let mut rects = Vec::new();
|
||||
for target in direct.into_iter().chain(menu) {
|
||||
let rect = target.rect;
|
||||
assert!(rect.left() >= info.bounds.right() && rect.right() <= width);
|
||||
assert!(rect.top() >= controls_band.top() && rect.bottom() <= controls_band.bottom(), "closed controls stay in the status bar's row");
|
||||
assert!(!rect.intersects(message.bounds), "controls leave the message its own rectangle");
|
||||
assert!(rects.iter().all(|old: &egui::Rect| !old.intersects(rect)), "controls do not overlap");
|
||||
rects.push(rect);
|
||||
}
|
||||
for field in texts.iter().filter(|t| t.text.starts_with("X:") || t.text.starts_with("Y:") || t.text.starts_with("render")) {
|
||||
assert!(field.bounds.left() >= info.bounds.right());
|
||||
assert!(!field.bounds.intersects(message.bounds));
|
||||
assert!(rects.iter().all(|r| !r.intersects(field.bounds)));
|
||||
}
|
||||
if stage == 0 {
|
||||
break;
|
||||
}
|
||||
}
|
||||
assert_eq!(stages, [2, 1, 0], "real frames reach full, dropdown-only, then omitted");
|
||||
}
|
||||
|
||||
/// A tab dropped on the strip lands at an index among all the open documents: the documents without a tab (the
|
||||
/// floating ones) keep their places in the documents' order, and a document with two views moves as one (#5663).
|
||||
#[test]
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
# Gaps
|
||||
|
||||
> Status-bar snapping quick access (#8687, #8779): the bottom right offers Smart Guides, Snap to Point and Snap to Grid toggles plus the same live Snapping menu as the Control bar. Both use existing commands. Framework fit ranks omit the direct group first, then the dropdown, before the existing readouts or core status content narrow. The native buttons expose their current selected state. Scores and estimates are unchanged.
|
||||
> **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: Document Info panel menu Selection Only (`ui.docInfo.selectionOnly`) counts the selection, and with no artwork selected it shows (No artwork selected) and artboards the Artboard tool has selected still show; scores and estimates unchanged; previously: G12: OpenType panel feature rows have an item context menu (Turn On / Turn Off, Reset OpenType Features); scores and estimates unchanged; previously: G3 lists shadows from the first light and graphics as done and drops angular cut caps, which Revolve's Cap closes, #8312; 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: G3 lists shadows from the first light and graphics as done and drops angular cut caps, which Revolve's Cap closes, #8312; scores and estimates unchanged; previously: G12: Asset Export tile context menus; scores and estimates unchanged; previously: M14/G12: Appearance panel: right-click item context menus for rows (Duplicate, Delete, Hide/Show, Edit Effect, Clear Appearance, Reduce to Basic Appearance) with selection handling, #8809; previously: G12: Properties panel Quick Actions include contextual text actions (Create Outlines, Retype, Find and Replace…); scores and estimates unchanged; previously: G12: Actions panel item context menus for action sets (New Action…, New Set…, Duplicate Set, Delete Set, Set Options…) and actions (Play, Record, Duplicate, Delete, Action Options…, Batch…) with selection handling; clicking Duplicate on an action duplicates that action; headless tests in `crates/ui-egui/src/panels/actions.rs`; 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: G12: Brushes panel: item right-click context menu (Brush Options, Duplicate Brush, Delete Brush) with selection handling; scores and estimates unchanged; previously: G12: Links panel row context menu (Relink…, Go To Link, Update Link, Edit Original, Show in Folder, Embed Image / Unembed…) with selection handling; 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: SVG export preserves document units on root width/height for physical units, #864; G11 estimate 8–15 → 6–13 h; G4 and G13 Missing lists drop the shipped Touch Type, Snap to Glyph and Dimension tool, and G13's snapping entry keeps only what is still missing, the partial Snapping panel and the items not yet checked (#8387); G13 keeps one estimate (13–23 h); estimates unchanged; previously: Retype phase 1 (#4934): Type › Retype (`type.retype`) turns outlined text that exactly matches an available font back into point text; 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: PDF export writes the document language as the catalog's `/Lang`, #3644; Recolor Artwork follow-up (#8031, remaining #4028): native Lab input, picker swatch libraries and Assign-row menus; UI interaction regression coverage; scores and estimates unchanged; previously: Eraser review: hidden Rasterize and Along/Across stroke rows do not block preserving visible gradients; scores and estimates unchanged; previously: Eraser review: ordinary Group/Layer paints and reproducible evaluated gradient placements are preserved; other placements retain existing fitting; scores and estimates unchanged; previously: Eraser: shared fill-only area cutting for fixed and varied tips and the Alt-drag marquee, #6582; scores and estimates unchanged; previously: G4 type: modal Check Spelling dialog (Edit › Spelling › Check Spelling…), #4936; spell check complete; previously: Type: the Middle Eastern & South Asian composers are done as a per-paragraph choice with the Standard composers (#4935); G5: built-in Neon & Glow graphic style library (Cyan Neon, Magenta Laser, Amber Tube, Electric Lime, Pulse Violet, Cobalt Phosphor); estimate unchanged (3–13 h); previously: Tech Circuit brush library, G5; previously: G5: built-in Weather Icons symbol library (Sun, Moon, Cloud, Rain, Thunder, Snow); estimate 5–15 → 4–14 h; previously: 3D: the seams of white-light Extrude & Bevel, Inflate and Rotate, and the face seams of the 3D (Classic) effects, have round joins instead of miters; previously: PDF import: preserve Type 3 font text runs as named groups <g>, or as lLine truncated
|
||||
|
||||
> Scissors snapping update (2026-11-11): with Alt released, hover and cuts use the Pen's path, alignment, intersection and anchor snaps (#6470). Scores and estimates unchanged.
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
# Roadmap: milestones and what's next
|
||||
|
||||
> Status-bar snapping quick access (#8687, #8779): the bottom right offers Smart Guides, Snap to Point and Snap to Grid toggles plus the same live Snapping menu as the Control bar. Both use existing commands. Framework fit ranks omit the direct group first, then the dropdown, before the existing readouts or core status content narrow. The native buttons expose their current selected state. Scores and estimates are unchanged.
|
||||
> **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: G12: Asset Export tile context menus; scores and estimates unchanged; previously: M14/G12: Appearance panel row context menus, #8809; previously: M1: 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: M11: 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: M5: In the web build, an edit while the view of a heavy document moves (a tool drag held at an edge of the canvas, #8551, or a wheel scroll during a drag) draws only the part it changed into the last frame, which stays drawn moved with the view, instead of rendering the whole canvas each frame (an edit that changes more than half of the frame, or a change of more than the view and the document, still renders it whole at once), and edits that go on once the view is still don't put off its render (#8688); scores and estimates unchanged; previously: Image Trace Ignore Color keeps the canvas View and stays armed on a missed pixel (#8068); M11: a tool drag held near an edge of the canvas scrolls the view, #8551; 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: Layers: selected guide rows stay highlighted after the pointer leaves (#7344); scores and estimates unchanged; previously: M4: PDF import: type filled and stroked after a page of type filled only comes in filled and stroked, #8549 follow-up; scores and estimates unchanged; previously: selected 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: M4: `.ai` and EPS import: an Art brush in Tints of a swatch-linked stroke color comes in brushed, #8200; 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: M4: `.ai` and EPS import: clipping paths grouped in a compound path are its subpaths, #8128; scores and estimates unchanged; previously: import: type filled and stroked by a `TJ` whose kerning starts a new line comes in filled and stroked, #8543; PDF Retype phase 1 (#4934): Type › Retype (`type.retype`) turns outlined text that exactly matches an available font back into point text; scores and estimates unchanged; previously: M1: 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); Production Preflight: output-aware fonts, text overflow, linked files and effective image resolution, clickable findings and automatic rechecking; scores and estimates unchanged; previously: PDF export writes the document language as the catalog's `/Lang`, #3644; M1: an Alt-drag in the Layers panel copies a row above or below its own place, #8237; scores and estimates unchanged; previously: PDF import: a glyph filled only after a glyph filled and stroked comes in filled only, not stroked, #8300; PDF import: translucent type filled and stroked comes in as a filled type object anLine truncated
|
||||
|
||||
>
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
Native saves on Unix flush the destination directory after writing or replacing a file. If the directory cannot be flushed, the save returns an error stating that the file was written.
|
||||
|
||||
> Status-bar snapping quick access (#8687, #8779): the bottom right offers Smart Guides, Snap to Point and Snap to Grid toggles plus the same live Snapping menu as the Control bar. Both use existing commands. Framework fit ranks omit the direct group first, then the dropdown, before the existing readouts or core status content narrow. The native buttons expose their current selected state. Scores and estimates are unchanged.
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-25 · **Change:** minor (Essentials readiness row: Shape Builder item names its remaining depth, #937's fix unconfirmed on the reporter's file, #8314; scores and estimates unchanged; previously: G12: History row context menus use shared Craft controls, snapshot targeting, keyboard access and document-switch dismissal (#8845); scores and estimates unchanged; previously: G12: Document Info Selection Only counts the selection, and with no artwork selected it shows (No artwork selected) and artboards the Artboard tool has selected still show; 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: M14/G12: Appearance panel: right-click item context menus for rows (Duplicate, Delete, Hide/Show, Edit Effect, Clear Appearance, Reduce to Basic Appearance) with selection handling, #8809; previously: Text styles panel: right-click item context menus for Character Styles and Paragraph Styles with Options, Duplicate, Delete, Redefine, Clear Overrides; scores and estimates unchanged; previously: G12: Actions panel item context menus for action sets (New Action…, New Set…, Duplicate Set, Delete Set, Set Options…) and actions (Play, Record, Duplicate, Delete, Action Options…, Batch…) with selection handling; clicking Duplicate on an action duplicates that action; headless tests in `crates/ui-egui/src/panels/actions.rs`; 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: G12: Brushes panel: item right-click context menu (Brush Options, Duplicate Brush, Delete Brush) with selection handling; 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: In the web build, an edit while the view of a heavy document moves (a tool drag held at an edge of the canvas, #8551, or a wheel scroll during a drag) draws only the part it changed into the last frame, which stays drawn moved with the view, instead of rendering the whole canvas each frame, and edits that go on once the view is still don't put off its render (#8688); scores and estimates unchanged; previously: G12: Links panel row context menu (Relink…, Go To Link, Update Link, Edit Original, Show in Folder, Embed Image / Unembed…) with selection handling; 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); 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: Layers: selected guide rows stay highlighted after the pointer leaves (#7344); scores and estimates unchanged; previously: PDF import: type filled and stroked after a page of type filled only comes in filled and stroked, #8549 follow-up; scores and estimates unchanged; previously: selected 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: #8200: `.ai` and EPS import: an Art brush in Tints of a swatch-linked stroke color comes in brushed, its tints linked to the swatch; scores and estimates unchanged; previously: Ellipse: Up/Down changes Anchors while drawing (#7840); scores and esLine truncated
|
||||
>
|
||||
> Outline Stroke is available in the canvas context menu when the selection has an outlinable stroke (#5267), excluding the command's protected linked dimensions and plain butt-capped paths that paint no area. Painting round and square caps remain eligible. Scores and estimates unchanged.
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
# UI and interaction parity
|
||||
|
||||
> Status-bar snapping quick access (#8687, #8779): the bottom right offers Smart Guides, Snap to Point and Snap to Grid toggles plus the same live Snapping menu as the Control bar. Both use existing commands. Framework fit ranks omit the direct group first, then the dropdown, before the existing readouts or core status content narrow. The native buttons expose their current selected state. Scores and estimates are unchanged.
|
||||
> **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
|
||||
>
|
||||
> Outline Stroke is available in the canvas context menu when the selection has an outlinable stroke (#5267). A linked dimension selected with its source keeps its lines; those protected lines do not make a fill-only source eligible, including inside a group. Coincident-point paths with a plain butt-capped stroke do not make the selection eligible either; round and square caps still paint and can be outlined. Scores and estimates unchanged.
|
||||
|
||||
Reference in new issue
Block a user