Merge pull request #8771 from storytold/train/carry8755

Graphic Styles panel: add item right-click context menu (Options, Duplicate, Delete, Redefine, Break Link) (#8755)
This commit is contained in:
BFlat
2026-11-20 02:47:53 +07:00
committed by GitHub
5 changed files with 272 additions and 11 deletions
+262 -8
View File
@@ -26,7 +26,10 @@ use serde_json::{Value, json};
use vectorcraft_color::{BlendMode, Color, Paint};
use vectorcraft_doc::style_libs::STYLE_LIBRARIES;
use vectorcraft_doc::text::{CharStyle, TextObject};
use vectorcraft_doc::{Appearance, AppearanceItem, Document, FillLayer, GraphicStyle, Node, NodeId, NodeKind, PatternDef, StrokeLayer, StyleLibrary};
use vectorcraft_doc::{
Appearance, AppearanceItem, DEFAULT_GRAPHIC_STYLE, Document, FillLayer, GraphicStyle, Node, NodeId, NodeKind, PatternDef, StrokeLayer,
StyleLibrary,
};
use vectorcraft_engine::cmd::stylelib;
use vectorcraft_engine::cmd::swatchlib::LibraryInfo;
use vectorcraft_geom::{Affine, Point, shapes};
@@ -486,21 +489,84 @@ fn zone_input(ui: &Ui, zone: &Response, d: &Document, ev: &mut Events) {
}
}
/// An item's right-click context menu in the Graphic Styles panel.
fn item_context_menu(app: &mut VectorcraftApp, ui: &mut Ui, name: &str, sel: &[String]) {
let is_default = name == DEFAULT_GRAPHIC_STYLE;
let is_multi = sel.len() > 1 && sel.contains(&name.to_string());
let targets: Vec<String> = if is_multi {
let doc = app.session.active().map(|st| st.doc.clone());
if let Some(d) = &doc { d.graphic_styles.iter().filter(|g| sel.contains(&g.name)).map(|g| g.name.clone()).collect() } else { sel.to_vec() }
} else {
vec![name.to_string()]
};
let doomed: Vec<String> = targets.iter().filter(|s| *s != DEFAULT_GRAPHIC_STYLE).cloned().collect();
let can_options = !is_default && !is_multi;
if menu_item(ui, tl!("Graphic Style Options…"), can_options, false) {
if let Err(e) = app.run("ui.graphicStyleOptions", json!({ "name": name })) {
app.status(e);
}
ui.close();
}
let duplicate_label = if is_multi { tl!("Duplicate Graphic Styles") } else { tl!("Duplicate Graphic Style") };
if menu_item(ui, duplicate_label, true, false) {
duplicate(app, ui.ctx(), &targets);
ui.close();
}
let delete_label = if is_multi { tl!("Delete Graphic Styles") } else { tl!("Delete Graphic Style") };
let can_delete = !is_default && !doomed.is_empty();
if menu_item(ui, delete_label, can_delete, false) {
let res = if doomed.len() == 1 {
app.run("graphicStyle.delete", json!({ "name": doomed[0] }))
} else {
app.run("graphicStyle.delete", json!({ "names": doomed }))
};
if res.is_ok() {
set_pstate(ui.ctx(), "gs-sel", Vec::<String>::new());
}
ui.close();
}
ui.separator();
let has_art_sel = selection_len(app) > 0;
if menu_item(ui, tl!("Redefine Graphic Style"), has_art_sel, false) {
if let Err(e) = app.run("graphicStyle.redefine", json!({ "name": name })) {
app.status(e);
}
ui.close();
}
let is_linked = app.session.selection_graphic_style().is_some_and(|(g, linked)| linked && g.name == name);
if menu_item(ui, tl!("Break Link to Graphic Style"), is_linked, false) {
if let Err(e) = app.run("graphicStyle.breakLink", json!({})) {
app.status(e);
}
ui.close();
}
}
/// The thumbnail grid (Thumbnail View and the Control bar's picker), `sel` outlined.
fn tiles(app: &VectorcraftApp, ui: &mut Ui, s: &Shown, sel: &[String], ev: &mut Events) {
fn tiles(app: &mut VectorcraftApp, ui: &mut Ui, s: &Shown, sel: &mut Vec<String>, ev: &mut Events, in_panel: bool) {
ui.horizontal_wrapped(|ui| {
ui.spacing_mut().item_spacing = vec2(3.0, 3.0);
for (i, g) in s.d.graphic_styles.iter().enumerate() {
let (r, resp) = ui.allocate_exact_size(vec2(TILE, TILE), Sense::click_and_drag());
s.paint(app, ui, r, i);
outline(ui, r, sel.contains(&g.name), resp.hovered());
cell_input(ui, &resp.on_hover_text(&g.name), s.d, i, false, ev);
let resp = resp.on_hover_text(&g.name);
cell_input(ui, &resp, s.d, i, false, ev);
if in_panel {
if resp.secondary_clicked() && !sel.contains(&g.name) {
*sel = vec![g.name.clone()];
set_pstate(ui.ctx(), "gs-anchor", g.name.clone());
set_pstate(ui.ctx(), "gs-sel", sel.clone());
}
resp.context_menu(|ui| item_context_menu(app, ui, &g.name, sel));
}
}
});
}
/// The list views' rows (`row`: height and thumbnail side), `sel` highlighted.
fn rows(app: &VectorcraftApp, ui: &mut Ui, s: &Shown, sel: &[String], row: (f32, f32), ev: &mut Events) {
fn rows(app: &mut VectorcraftApp, ui: &mut Ui, s: &Shown, sel: &mut Vec<String>, row: (f32, f32), ev: &mut Events) {
let t = Tokens::get(ui.ctx());
let (h, side) = row;
for (i, g) in s.d.graphic_styles.iter().enumerate() {
@@ -514,7 +580,14 @@ fn rows(app: &VectorcraftApp, ui: &mut Ui, s: &Shown, sel: &[String], row: (f32,
s.paint(app, ui, th, i);
ui.painter().rect_stroke(th, 0.0, Stroke::new(1.0, t.border), StrokeKind::Outside);
ui.painter().text(pos2(th.right() + 8.0, r.center().y), egui::Align2::LEFT_CENTER, &g.name, egui::FontId::proportional(12.0), t.text);
let resp = resp.on_hover_text(&g.name);
cell_input(ui, &resp, s.d, i, true, ev);
if resp.secondary_clicked() && !sel.contains(&g.name) {
*sel = vec![g.name.clone()];
set_pstate(ui.ctx(), "gs-anchor", g.name.clone());
set_pstate(ui.ctx(), "gs-sel", sel.clone());
}
resp.context_menu(|ui| item_context_menu(app, ui, &g.name, sel));
}
}
@@ -588,7 +661,7 @@ pub fn show(app: &mut VectorcraftApp, ui: &mut Ui) {
};
let looks = look_hashes(ui.ctx(), app);
let shown = Shown { d: &doc, looks: &looks, preview: pstate(ui.ctx(), "gs-preview") };
let sel = selected(ui.ctx(), &doc);
let mut sel = selected(ui.ctx(), &doc);
let view = app.ui.graphic_styles_view;
let mut ev = Events::default();
// In a sized panel the list fills the space above the footer (#2992), as the Artboards list
@@ -609,8 +682,8 @@ pub fn show(app: &mut VectorcraftApp, ui: &mut Ui) {
return;
}
match view.row() {
Some(row) => rows(app, ui, &shown, &sel, row, &mut ev),
None => tiles(app, ui, &shown, &sel, &mut ev),
Some(row) => rows(app, ui, &shown, &mut sel, row, &mut ev),
None => tiles(app, ui, &shown, &mut sel, &mut ev, true),
}
});
// The drop zone is the part of the list on screen: when the list shrinks to its rows,
@@ -674,8 +747,9 @@ pub(crate) fn picker(app: &mut VectorcraftApp, ui: &mut Ui) {
let looks = look_hashes(ui.ctx(), app);
let shown = Shown { d: &doc, looks: &looks, preview: pstate(ui.ctx(), "gs-preview") };
let mut ev = Events::default();
let mut sel = Vec::new();
ui.set_max_width(6.0 * (TILE + 3.0));
tiles(app, ui, &shown, &[], &mut ev);
tiles(app, ui, &shown, &mut sel, &mut ev, false);
act(app, ui, &shown, ev, true);
}
@@ -1755,4 +1829,184 @@ mod tests {
frame_with(&ctx, click(false), |ui| picker(&mut app, ui));
assert_eq!(app.session.selection_graphic_style().map(|(g, linked)| (g.name.clone(), linked)), Some((name, true)));
}
#[test]
fn right_click_context_menu_in_graphic_styles_panel() {
use egui_kittest::kittest::{NodeT, Queryable};
let mut app = app();
app.run("graphicStyle.new", json!({"name": "Style A"})).unwrap();
app.run("graphicStyle.new", json!({"name": "Style B"})).unwrap();
let mut h = egui_kittest::Harness::builder().with_size(vec2(260.0, 400.0)).with_accessibility_check(false).build_ui_state(
|ui, app: &mut VectorcraftApp| {
show(app, ui);
},
app,
);
h.run_steps(2);
// Initially "Style B" was added last; "Style A" is unselected.
let pos_a = h.get_by_label("Style A").rect().center();
// 1. Right-click unselected "Style A"
h.event(egui::Event::PointerMoved(pos_a));
h.event(egui::Event::PointerButton { pos: pos_a, button: egui::PointerButton::Secondary, pressed: true, modifiers: Default::default() });
h.event(egui::Event::PointerButton { pos: pos_a, button: egui::PointerButton::Secondary, pressed: false, modifiers: Default::default() });
h.run_steps(2);
// Right-clicking unselected "Style A" selects it.
let doc = h.state().session.active().unwrap().doc.clone();
assert_eq!(selected(&h.ctx, &doc), vec!["Style A"]);
// Context menu items are displayed
let options = h.get_by_label(" Graphic Style Options…");
let duplicate = h.get_by_label(" Duplicate Graphic Style");
let delete = h.get_by_label(" Delete Graphic Style");
let redefine = h.get_by_label(" Redefine Graphic Style");
let break_link = h.get_by_label(" Break Link to Graphic Style");
assert!(!options.accesskit_node().is_disabled());
assert!(!duplicate.accesskit_node().is_disabled());
assert!(!delete.accesskit_node().is_disabled());
assert!(!redefine.accesskit_node().is_disabled()); // Art is selected
assert!(break_link.accesskit_node().is_disabled()); // Art not linked to Style A
// 2. Click "Duplicate Graphic Style"
duplicate.click();
h.run_steps(3);
let doc = h.state().session.active().unwrap().doc.clone();
assert!(doc.graphic_style("Style A copy").is_some());
assert_eq!(selected(&h.ctx, &doc), vec!["Style A copy"]);
// 3. Apply Style A to the active art and verify Break Link
h.state_mut().run("graphicStyle.apply", json!({"name": "Style A"})).unwrap();
// Modify appearance so style is out of sync (not linked)
h.state_mut().run("paint.setFill", json!({"color": "#ff0000"})).unwrap();
h.run_steps(2);
let pos_a = h.get_by_label("Style A").rect().center();
h.event(egui::Event::PointerMoved(pos_a));
h.event(egui::Event::PointerButton { pos: pos_a, button: egui::PointerButton::Secondary, pressed: true, modifiers: Default::default() });
h.event(egui::Event::PointerButton { pos: pos_a, button: egui::PointerButton::Secondary, pressed: false, modifiers: Default::default() });
h.run_steps(2);
let break_link = h.get_by_label(" Break Link to Graphic Style");
assert!(break_link.accesskit_node().is_disabled(), "Break link is disabled when style is out of sync");
// Close menu
h.event(egui::Event::Key { key: egui::Key::Escape, physical_key: None, pressed: true, repeat: false, modifiers: Default::default() });
h.run_steps(2);
// Reapply Style A so it is in sync
h.state_mut().run("graphicStyle.apply", json!({"name": "Style A"})).unwrap();
h.run_steps(2);
let pos_a = h.get_by_label("Style A").rect().center();
h.event(egui::Event::PointerMoved(pos_a));
h.event(egui::Event::PointerButton { pos: pos_a, button: egui::PointerButton::Secondary, pressed: true, modifiers: Default::default() });
h.event(egui::Event::PointerButton { pos: pos_a, button: egui::PointerButton::Secondary, pressed: false, modifiers: Default::default() });
h.run_steps(2);
let break_link = h.get_by_label(" Break Link to Graphic Style");
assert!(!break_link.accesskit_node().is_disabled(), "Break link is enabled when style is in sync");
break_link.click();
h.run_steps(3);
assert!(h.state().session.selection_graphic_style().is_none());
// 4. Right-click Style A and click "Delete Graphic Style"
let pos_a = h.get_by_label("Style A").rect().center();
h.event(egui::Event::PointerMoved(pos_a));
h.event(egui::Event::PointerButton { pos: pos_a, button: egui::PointerButton::Secondary, pressed: true, modifiers: Default::default() });
h.event(egui::Event::PointerButton { pos: pos_a, button: egui::PointerButton::Secondary, pressed: false, modifiers: Default::default() });
h.run_steps(2);
let delete = h.get_by_label(" Delete Graphic Style");
assert!(!delete.accesskit_node().is_disabled());
delete.click();
h.run_steps(3);
let doc = h.state().session.active().unwrap().doc.clone();
assert!(doc.graphic_style("Style A").is_none());
// Verify one undo step restores it
h.state_mut().run("edit.undo", json!({})).unwrap();
let doc = h.state().session.active().unwrap().doc.clone();
assert!(doc.graphic_style("Style A").is_some());
}
#[test]
fn right_click_context_menu_default_style_disables_options_and_delete() {
use egui_kittest::kittest::{NodeT, Queryable};
let app = app();
let mut h = egui_kittest::Harness::builder().with_size(vec2(260.0, 400.0)).with_accessibility_check(false).build_ui_state(
|ui, app: &mut VectorcraftApp| {
show(app, ui);
},
app,
);
h.run_steps(2);
let pos_def = h.get_by_label(DEFAULT_GRAPHIC_STYLE).rect().center();
h.event(egui::Event::PointerMoved(pos_def));
h.event(egui::Event::PointerButton { pos: pos_def, button: egui::PointerButton::Secondary, pressed: true, modifiers: Default::default() });
h.event(egui::Event::PointerButton { pos: pos_def, button: egui::PointerButton::Secondary, pressed: false, modifiers: Default::default() });
h.run_steps(2);
let options = h.get_by_label(" Graphic Style Options…");
let duplicate = h.get_by_label(" Duplicate Graphic Style");
let delete = h.get_by_label(" Delete Graphic Style");
assert!(options.accesskit_node().is_disabled(), "Options disabled on Default Graphic Style");
assert!(!duplicate.accesskit_node().is_disabled(), "Duplicate enabled on Default Graphic Style");
assert!(delete.accesskit_node().is_disabled(), "Delete disabled on Default Graphic Style");
}
#[test]
fn right_click_context_menu_preserves_multiselection_and_works_in_list_view() {
use egui_kittest::kittest::{NodeT, Queryable};
let mut app = app();
app.ui.graphic_styles_view = View::SmallList;
app.run("graphicStyle.new", json!({"name": "Style 1"})).unwrap();
app.run("graphicStyle.new", json!({"name": "Style 2"})).unwrap();
let mut h = egui_kittest::Harness::builder().with_size(vec2(260.0, 400.0)).with_accessibility_check(false).build_ui_state(
|ui, app: &mut VectorcraftApp| {
show(app, ui);
},
app,
);
h.run_steps(2);
set_pstate(&h.ctx, "gs-sel", vec!["Style 1".to_string(), "Style 2".to_string()]);
h.run_steps(1);
let pos_2 = h.get_by_label("Style 2").rect().center();
h.event(egui::Event::PointerMoved(pos_2));
h.event(egui::Event::PointerButton { pos: pos_2, button: egui::PointerButton::Secondary, pressed: true, modifiers: Default::default() });
h.event(egui::Event::PointerButton { pos: pos_2, button: egui::PointerButton::Secondary, pressed: false, modifiers: Default::default() });
h.run_steps(2);
let doc = h.state().session.active().unwrap().doc.clone();
assert_eq!(selected(&h.ctx, &doc), vec!["Style 1", "Style 2"]);
let options = h.get_by_label(" Graphic Style Options…");
let duplicate = h.get_by_label(" Duplicate Graphic Styles");
let delete = h.get_by_label(" Delete Graphic Styles");
assert!(options.accesskit_node().is_disabled(), "Options disabled on multi-selection");
assert!(!duplicate.accesskit_node().is_disabled());
assert!(!delete.accesskit_node().is_disabled());
duplicate.click();
h.run_steps(3);
let doc = h.state().session.active().unwrap().doc.clone();
assert!(doc.graphic_style("Style 1 copy").is_some());
assert!(doc.graphic_style("Style 2 copy").is_some());
}
}
+3
View File
@@ -50,6 +50,7 @@ Artboard Options forwards the active Artboard tool's Scale Artwork with Artboard
| Date | Change | Summary |
|---|---|---|
| 2026-11-19 | minor | G12: Graphic Styles panel item context menus (Options…, Duplicate, Delete, Redefine, Break Link); regression tests in crates/ui-egui/src/panels/graphic_styles.rs; scores and estimates unchanged. |
| 2026-11-19 | minor | G12: Place: show progress window with Cancel for slow placed files exceeding 0.4 s (part of #5930, `file.cancelPlace`); indeterminate moving bar, Cancel (Esc) leaves the document unmodified without undo steps; scores and estimates unchanged. |
| 2026-11-18 | minor | G11: SVG export writes physical unit suffixes on the root <svg width="..." height="..."> for documents with physical units (mm, cm, in, pc), preventing drawings from scaling to 75% in external tools and preserving units across round-trips (#864; general unit preference on restart remains open under #864). Estimate 8–15 → 6–13 h. |
| 2026-11-18 | minor | G5: Media Controls joins Basic Shapes, UI Frames, Map Markers, Inventory Icons, Skill Icons and Weather Icons as a seventh built-in symbol library (Play, Pause, Stop, Skip Next, Shuffle, Repeat; original procedural vector symbols generated in code, no default 9-slice); estimate decremented (3–13 → 2–12 h). |
@@ -509,6 +510,8 @@ macOS cursor delivery (#2292) is narrowed to a native host adapter using the exi
## G12 Preferences and panels that don't act yet
- **Implemented and tested (2026-11-19):** Graphic Styles panel thumbnail and list views have item context menus with Graphic Style Options…, Duplicate Graphic Style, Delete Graphic Style, Redefine Graphic Style, and Break Link to Graphic Style. Right-click on an unselected style selects it first; existing multi-selections are preserved and offer plural commands ("Duplicate Graphic Styles", "Delete Graphic Styles"). Default Graphic Style disables Options and Delete; large preview remains accessible when holding the secondary button. Regression tests in `crates/ui-egui/src/panels/graphic_styles.rs` verify right-click selection, command dispatch, and one-step undo. Scores and estimates unchanged.
- **Production workflow addition (2026-11-18):** Window > Production Preflight brings existing output-aware font/overflow checks, linked-file probes and effective image resolution into one panel. Findings select and zoom to affected art, and results recheck after edits, Undo/Redo and external link changes. Resource-art resolution is explicitly not checked. This does not close the remaining G12 gaps or change estimates.
- **Implemented and tested (2026-11-15):** Swatches list rows and thumbnail cells have item context menus with Swatch Options…, Duplicate Swatch and Delete Swatch. Right-click selects the target without painting art; actions use that item's name and are disabled for reserved or missing swatches. All 39 Swatches tests pass, covering all five views, command dispatch, selection and Undo; the regression fails with the menu hooks removed. Rendered list and thumbnail menus were inspected. Full workspace CI passed on Linux/WSL on the merged branch (all 13 gates), including the test-helper correction for the upstream compile error tracked in #7727; native Windows full CI has two unchanged engine-test failures. Other panels without context menus remain in G12; estimate unchanged.
+2 -1
View File
@@ -71,6 +71,7 @@ M7 type: Touch Type moves a right-to-left character along its line and up from i
| Date | Change | Summary |
|---|---|---|
| 2026-11-19 | minor | M14/G12: Graphic Styles panel item context menus in thumbnail and list views (Options…, Duplicate, Delete, Redefine, Break Link); regression tests in crates/ui-egui/src/panels/graphic_styles.rs; scores and estimates unchanged. |
| 2026-11-18 | minor | M10/G5: Media Controls joins Basic Shapes, UI Frames, Map Markers, Inventory Icons, Skill Icons and Weather Icons as a seventh built-in symbol library (Play, Pause, Stop, Skip Next, Shuffle, Repeat; original procedural vector symbols generated in code, no default 9-slice); G5 estimate decremented to 2–12 h, milestone estimates unchanged |
| 2026-11-18 | minor | M14: PDF export writes the document language (Document Setup) as the catalog's `/Lang` (#3644). Scores and estimates unchanged. |
| 2026-11-13 | minor | Layers: selected guide rows stay highlighted after the pointer leaves (#7344); scores and estimates unchanged. |
@@ -190,7 +191,7 @@ Gujarati interface follow-up (2026-11-14): the catalog and zero/one plural rule
| M11 | Artboards & views (selected-set deletion shared by Artboards menu, trash and Properties, retaining artboard 1 when all are selected; Artboard deletion keys keep the first of an all-selected set and protect artwork; history prunes invalid indices while preserving valid multiselection (history tests and full workspace CI pass); click-to-fit objects with the Artboard tool (#1227), artboard escape routing and document setup modal handoff done; artboard panel/tool with Move Artwork for X/Y fields and Artboard Options, Trim View, middle-button pan, print tiling and the status bar's artboard navigator with synchronized Artboard tool selection done; Window › Arrange › Tile and Consolidate All Windows done; multiple windows, presentation polish) (cached canvas reprojection preserves scale during resize, rotation and DPI changes; regression-tested and contributor-confirmed 2026-10-19; estimates unchanged) (cached canvas dimensions match the renderer limit before cache-key creation, view construction and worker submission; regression-tested; estimates unchanged); status-bar pointer coordinates follow the active ruler origin and General units | 🟡; Artboard Options shares existing presets and orientation controls and can fit artwork without moving it; artwork fitting includes all drawn document art across artboards and off-board; artwork bounds are cached by active document and revision, and selection uses the shared bounds cache across artboards | 15–25 |
| M12 | Advanced color & art (CMYK/ICC, separations, Gradient Mesh, Live Paint, Image Trace, Graphs) | 🟡 Gradient Mesh, Live Paint, Image Trace (junction-returning pieces retain their positioned boundaries; a simpler contour walk with identical output; an edge's sub-pixel shift is the same from either side; notches read only their own piece; collapsed loops keep few segments; large images trace with a warning; Auto Color keeps rare distinct colours; quick presets trace at once and the Image Trace button opens the adjustment controls; Properties reopens them; tiny fitted contours retain islands and holes; Create Strokes: exact crop EDT, Guo–Hall thinning and maximal-disc graph simplification; 15 presets, the 14 documented ones each with an enhanced version; Ignore Color (manual picker and canvas eyedropper from original pixels, no canvas View change, missed pixels keep the pick armed, Preview/Undo retained; #8068), Shapes, Auto Grouping and Gradients options; measured in `image-trace-quality.md`; closed outlines retain their interior after straightening; the Flat Logo mode places edges to a fraction of a pixel, restores sharp corners, snaps lines and circles, and refuses gradients; live trace result bounds and selection highlights exclude the retained bitmap except in source-image views), Recolor Artwork, colour management (ICC, soft proofing, separations preview), Graphs (all 9 tools, Graph Data/Type, group-selected series colours persist through regenerate/save/open) done; Graph Design and Marker designs, Transpose and Switch x/y, `\|` label line breaks, the pie options, drop shadows, the legend across the top, overlapping widths, First Row/Column in Front, filled lines, kept label formatting and the Graph Data worksheet done; graph Column designs pending; Vector Halftone Preview keeps the selection box without drawing dot selection marks (#6369); Live Paint Bucket fills faces crossed in one drag (#6373) | 6–10 |
| M13 | Automation (Actions ✅ record/playback, persisted; variables, scripting, batch) | 🟡 MCP `add_text` exposes existing vertical point, area and path type; `script.run` and File › Scripts › Other Script… run JavaScript files, and Window › Script Console shows their output; the script document model and batch work remain | 18–27 |
| M14 | 1.0 polish (preferences, shortcut editor, workspaces, accessibility, packaging for all OSes) (status messages and readouts use stable responsive allocations sized for localized labels and ordinary coordinates; sample widths cached by language/unit/DPI; regression-tested and contributor-confirmed 2026-10-19; estimates unchanged) | 🟡 Icon-strip flyouts resize on their free edges and retain sizes (#5713); interim macOS cursor delivery (#2292) uses existing artwork and host-owned AppKit cursors; headless coverage only, native menu/focus/handback and display validation pending. Dock groups collapse to their tabs by a double-click on a tab (UI.8); Preferences › General › Constrain Angle acts for the arrow keys, Shift drags and new objects (#394, 2026-10-21); numeric-field pointer selection and focus regression-tested (#1326; a release more than 1 pt from the press keeps the caret, a tap within 1 pt selects all, #6659); RPM runtime capabilities and glibc floor checked (#1275; real-distro install/start-up pending), Eyedropper cursor with precise-setting checks (#1269), Preferences, shortcut editor (chords with Shift and a punctuation key fire as typed; other apps' text shortcut sets imported), workspaces (each keeps its layout changes until Reset <name>, UI.7), Window › Help Bar shown or hidden apart from the status bar and kept in saved workspaces, panels docked by dragging into any dock group (as tabs or a top/bottom split) or into the icon column, and closed from a dock tab's context menu (UI.6), a custom title bar on Windows/Linux with a Home button, content-sized dialogs, menus that scroll when longer than the window and macOS native menu dismissal done (M14.8), and native macOS save sheets with a Format menu (#866); titled PDF exports set `DisplayDocTitle` for viewers and accessibility checkers (#3646) and give the document language as the catalog's `/Lang` (#3644); accessibility and broader Windows/Linux packaging/QA pending; floating tab groups collapse into the side icon rail and opened rail panels fold back into it (#5925, in part), with pointer and native-window regression coverage; estimates unchanged; numeric spinner arrows keep repeating while held with the mouse (#6307); Swatches item context menus tested in all five views and rendered layouts inspected; Linux full CI passed, Windows engine baseline limitations documented (G12); Window > Toolbars > Compact Tools offers optional denser main Tools spacing in one or two columns, with the existing layout still the default (#7234) | 18–28 |
| M14 | 1.0 polish (preferences, shortcut editor, workspaces, accessibility, packaging for all OSes) (status messages and readouts use stable responsive allocations sized for localized labels and ordinary coordinates; sample widths cached by language/unit/DPI; regression-tested and contributor-confirmed 2026-10-19; estimates unchanged) | 🟡 Icon-strip flyouts resize on their free edges and retain sizes (#5713); interim macOS cursor delivery (#2292) uses existing artwork and host-owned AppKit cursors; headless coverage only, native menu/focus/handback and display validation pending. Dock groups collapse to their tabs by a double-click on a tab (UI.8); Preferences › General › Constrain Angle acts for the arrow keys, Shift drags and new objects (#394, 2026-10-21); numeric-field pointer selection and focus regression-tested (#1326; a release more than 1 pt from the press keeps the caret, a tap within 1 pt selects all, #6659); RPM runtime capabilities and glibc floor checked (#1275; real-distro install/start-up pending), Eyedropper cursor with precise-setting checks (#1269), Preferences, shortcut editor (chords with Shift and a punctuation key fire as typed; other apps' text shortcut sets imported), workspaces (each keeps its layout changes until Reset <name>, UI.7), Window › Help Bar shown or hidden apart from the status bar and kept in saved workspaces, panels docked by dragging into any dock group (as tabs or a top/bottom split) or into the icon column, and closed from a dock tab's context menu (UI.6), a custom title bar on Windows/Linux with a Home button, content-sized dialogs, menus that scroll when longer than the window and macOS native menu dismissal done (M14.8), and native macOS save sheets with a Format menu (#866); titled PDF exports set `DisplayDocTitle` for viewers and accessibility checkers (#3646) and give the document language as the catalog's `/Lang` (#3644); accessibility and broader Windows/Linux packaging/QA pending; floating tab groups collapse into the side icon rail and opened rail panels fold back into it (#5925, in part), with pointer and native-window regression coverage; estimates unchanged; numeric spinner arrows keep repeating while held with the mouse (#6307); Swatches item context menus tested in all five views and rendered layouts inspected; Linux full CI passed, Windows engine baseline limitations documented (G12); Graphic Styles item context menus in thumbnail and list views with Options, Duplicate, Delete, Redefine, Break Link (#8755); Window > Toolbars > Compact Tools offers optional denser main Tools spacing in one or two columns, with the existing layout still the default (#7234) | 18–28 |
| — | Interaction fidelity pass (every tool's modifiers, Properties panel per context, isolation, nuance; width-point creation and adjoining adjustment regression-tested; dialog layout reviewed) | ⬜ (new ruler-guide Alt orientation implemented; existing-guide Escape cancellation regression-tested; broader pass remains) | 60–90 |
| — | Hardening at scale (big-file corpus, fuzzing, cross-platform + browser QA) | 🟡 PngSuite integrity and bounded fetching verified (#1729); real-world corpus/manual QA remain | 50–80 |
| M14 follow-up | Color Picker layout (#2008) | ✅ Compact controls, centered header, stacked actions, aligned fields and screen sampling; narrow windows scroll vertically | Included above |
File diff suppressed because one or more lines are too long
+3 -1
View File
File diff suppressed because one or more lines are too long