From 2bd6f372c5e95a510a0c866c692611e6b60d7709 Mon Sep 17 00:00:00 2001 From: Martin Ball <98639962+benandez@users.noreply.github.com> Date: Mon, 16 Nov 2026 11:07:57 +0100 Subject: [PATCH] =?UTF-8?q?File=20=E2=80=BA=20Print:=20reopened,=20the=20p?= =?UTF-8?q?age=20doesn't=20repeat=20the=20last=20job's=20message=20(#5597)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * File › Print: opened again, the page doesn't repeat the last job's message "Print job submitted…" (or a failure) stayed on the Print page the next time it was opened. The job's outcome is said once in the status bar, so a fresh open drops it; a failure arriving while the page is open stays, and printer status (finding printers, none found) still shows. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01FypgCYPZSei56X4AGFPSu5 * Print page: the last job's marker is kept per window, since egui counts passes per viewport Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01FypgCYPZSei56X4AGFPSu5 * #5597: decide the Print page's hidden job message per window The shared printing.message is no longer cleared on reopening Print (ui.printSettings and other windows still report it). Each window remembers what it said (status bar or Print page) and hides only that; a result that arrived under File's other pages is not counted as said. Tests: failure-on-open-page now depends on reopen detection, never-said and two-window state. Co-Authored-By: Claude Sonnet 5.5 * #5597: follow the job message by generation, not by text A retry that fails again with the same words is a new result and shows. A generation (WordApp::print_gen) is bumped when a job starts and when the message changes; each window's Print memo stores generations, so cross-window comparison is by identity too. Also: update the print_memo doc comment, drop an empty branch, align the docs row date. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01FypgCXtSjB6e5jmy9Uq7u8 --------- Co-authored-by: Martin Ball Co-authored-by: Claude Opus 5.5 --- crates/ui-egui/src/app.rs | 3 + crates/ui-egui/src/app/files.rs | 7 ++ crates/ui-egui/src/lib.rs | 6 ++ crates/ui-egui/src/print_page.rs | 38 ++++++++- crates/ui-egui/src/printing.rs | 7 +- crates/ui-egui/src/tests.rs | 142 +++++++++++++++++++++++++++++++ crates/ui-egui/src/window_ui.rs | 5 ++ docs/ui-parity.md | 3 +- 8 files changed, 206 insertions(+), 5 deletions(-) diff --git a/crates/ui-egui/src/app.rs b/crates/ui-egui/src/app.rs index 210f265b2a..297c0080a9 100644 --- a/crates/ui-egui/src/app.rs +++ b/crates/ui-egui/src/app.rs @@ -58,6 +58,7 @@ impl WordApp { seen_full_screen, escape_free, status_counts, + print_memo, missing_fonts, export_error, last_autosave, @@ -105,6 +106,7 @@ impl WordApp { clipboard_published: false, printing: Default::default(), print_feedback_seen: None, + print_gen: 0, integrated_titlebar: false, mac_titlebar: chrome::MacTitleBar::default(), updates_rt: updates_ui::Runtime::default(), @@ -179,6 +181,7 @@ impl WordApp { seen_full_screen, escape_free, status_counts, + print_memo, missing_fonts, export_error, last_autosave, diff --git a/crates/ui-egui/src/app/files.rs b/crates/ui-egui/src/app/files.rs index 2cf1692c90..a3b1bc0076 100644 --- a/crates/ui-egui/src/app/files.rs +++ b/crates/ui-egui/src/app/files.rs @@ -320,6 +320,8 @@ impl WordApp { return; } self.print_feedback_seen = self.printing.message.clone(); + // A new message: what any window said before no longer stands for it. + self.print_gen = self.print_gen.wrapping_add(1); let Some(message @ (printing::Feedback::Submitted(_) | printing::Feedback::Failed(_) | printing::Feedback::WorkerStopped)) = self.printing.message.clone() else { @@ -334,6 +336,11 @@ impl WordApp { self.ui.backstage = false; self.canvas.want_focus = true; } + // Said only where the status bar is drawn: not under File's other pages, and a failure on + // the Print page is the page's to show. + if !self.ui.backstage { + self.print_memo.said = Some(self.print_gen); + } } /// Files dropped on the native window. Raw input is taken only in the first UI pass: a diff --git a/crates/ui-egui/src/lib.rs b/crates/ui-egui/src/lib.rs index 9774ae0301..357f141b9f 100644 --- a/crates/ui-egui/src/lib.rs +++ b/crates/ui-egui/src/lib.rs @@ -656,6 +656,9 @@ pub struct WordApp { pub clipboard_published: bool, pub printing: printing::State, print_feedback_seen: Option, + /// Which job message is current: bumped when a job starts and whenever the message changes, + /// so a window can tell a new result from one it already said even when the text is the same. + print_gen: u64, pub canvas: canvas::CanvasState, /// Content control frames, check boxes and lists on the page. pub controls: content_controls::ControlUi, @@ -787,6 +790,9 @@ pub struct WordApp { pub export_error: String, /// The document's [`StatusCounts`] and the key they were computed for; see [`WordApp::cached_status_counts`]. pub status_counts: (u64, StatusCounts), + /// What this window's Print page knows of the last job's message (the viewport and pass it was + /// last drawn in, and the generations of the result it said and holds back); per window. + print_memo: crate::print_page::Memo, last_autosave: f64, /// The tab shown before the Equation tab came up (restored when editing ends). pub(crate) equation_prev_tab: Option, diff --git a/crates/ui-egui/src/print_page.rs b/crates/ui-egui/src/print_page.rs index 2f4c28ff1c..ee0b9a51c7 100644 --- a/crates/ui-egui/src/print_page.rs +++ b/crates/ui-egui/src/print_page.rs @@ -170,6 +170,18 @@ fn return_prints(ctx: &egui::Context) -> bool { }) } +/// Per window: what the Print page needs to know about the last job's message. +#[derive(Default)] +pub struct Memo { + /// The viewport and pass the page was last drawn in: a gap means it was just opened. + pass: Option<(egui::ViewportId, u64)>, + /// The generation (`WordApp::print_gen`) of the job result this window has already said, in + /// its status bar or on this page: a result of the same text from a later job is another one. + pub(crate) said: Option, + /// The generation of the result held back on this opening of the page. + hidden: Option, +} + /// The Print page: settings on the left, the preview on the right. pub fn show(app: &mut WordApp, ui: &mut Ui) { let t = Tokens::get(ui.ctx()); @@ -178,6 +190,30 @@ pub fn show(app: &mut WordApp, ui: &mut Ui) { let total = lay.pages.len(); let current = app.session.current_pages(&lay); app.ui.print.preview = app.ui.print.preview.min(total.saturating_sub(1)); + // Opened afresh, the page doesn't repeat how the last job went when this window already said + // it (its status bar, or this page): `printing.message` itself stays, as `ui.printSettings` + // and other windows still report it. What the printers are doing (finding them, none found) + // always shows. Passes are counted per viewport, so the marker is per window. + let here = (ctx.viewport_id(), ctx.cumulative_pass_nr()); + let opened = app.print_memo.pass.is_none_or(|(viewport, last)| viewport != here.0 || last.saturating_add(1) < here.1); + app.print_memo.pass = Some(here); + let result = |m: &Option| { + matches!(m, Some(crate::printing::Feedback::Submitted(_) | crate::printing::Feedback::Failed(_) | crate::printing::Feedback::WorkerStopped)) + }; + let message = app.printing.message.clone(); + let generation = app.print_gen; + if opened { + app.print_memo.hidden = (result(&message) && app.print_memo.said == Some(generation)).then_some(generation); + } + // A later message (a job started again, then failed the same way) is shown afresh. + if app.print_memo.hidden != Some(generation) { + app.print_memo.hidden = None; + } + let hide_message = app.print_memo.hidden.is_some(); + if !hide_message { + // Shown here, so the next opening needn't repeat it. + app.print_memo.said = result(&message).then_some(generation); + } let settings = |app: &mut WordApp, ui: &mut Ui| { { @@ -206,7 +242,7 @@ pub fn show(app: &mut WordApp, ui: &mut Ui) { } if native { if let Some(discover) = &app.services.printers { - crate::printing::show(&mut app.printing, ui, discover, |label| crate::i18n::t(label).to_owned()); + crate::printing::show(&mut app.printing, ui, discover, hide_message, |label| crate::i18n::t(label).to_owned()); } // A job can wait long on a sleeping printer's driver; Cancel frees the page. if app.printing.busy() && app.services.cancel_print.is_some() && ui.button(tl!("Cancel printing")).clicked() { diff --git a/crates/ui-egui/src/printing.rs b/crates/ui-egui/src/printing.rs index 619b1c1dc7..1fcdb32664 100644 --- a/crates/ui-egui/src/printing.rs +++ b/crates/ui-egui/src/printing.rs @@ -23,8 +23,8 @@ pub fn commands(app: &crate::WordApp) -> Vec { } /// Builds translated print labels, draws the shared print-settings panel, and shows the current -/// feedback message. -pub fn show(state: &mut State, ui: &mut egui::Ui, discover: &Discover, translate: impl Fn(&str) -> String) { +/// feedback message (unless `hide_message`: this window has already said it). +pub fn show(state: &mut State, ui: &mut egui::Ui, discover: &Discover, hide_message: bool, translate: impl Fn(&str) -> String) { let labels = Labels { printer: &translate("Printer"), select_printer: &translate("Select a printer"), @@ -38,7 +38,7 @@ pub fn show(state: &mut State, ui: &mut egui::Ui, discover: &Discover, translate grayscale: &translate("Grayscale"), }; state.show(ui, egui::Id::unique("wordcraft_print_settings"), discover, &labels); - if let Some(message) = &state.message { + if let Some(message) = state.message.as_ref().filter(|_| !hide_message) { ui.label(feedback(message, translate)); } } @@ -243,6 +243,7 @@ pub fn submit(app: &mut crate::WordApp, params: &serde_json::Value) -> Result) -> egui_kittest::Harness<'static, WordApp> { + let mut a = app(); + a.ui.language = "en".into(); + a.services.printers = Some(Box::new(|| { + let (sender, receiver) = std::sync::mpsc::channel(); + let _ = sender.send(vec![printing::Printer { name: "Test queue".into(), label: String::new(), default: true }]); + receiver + })); + a.services.print_native = Some(Box::new(|_, _, _, _| std::sync::mpsc::channel().1)); + let mut h = egui_kittest::Harness::builder().with_size(egui::vec2(1440.0, 900.0)).build_ui_state( + |ui, app: &mut WordApp| { + let ctx = ui.ctx().clone(); + app.logic(&ctx); + app.ui(ui); + }, + a, + ); + // The page's first drawing starts discovery, which replaces the message: draw it once, leave, + // and let the printers arrive. + let _ = h.state_mut().run("file.print", json!({})); + h.run_steps(4); + let _ = h.state_mut().run("ui.backstage", json!({"value": false})); + h.run_steps(3); + set_print_message(&mut h, message); + h.state_mut().print_memo = Default::default(); + h +} + +/// A job message that arrives without the app's own `print_feedback` acting on it (a submitted job +/// would close the Print page); what the window has said is set by the test. +fn set_print_message(h: &mut egui_kittest::Harness<'_, WordApp>, message: Option) { + h.state_mut().printing.message = message.clone(); + h.state_mut().print_feedback_seen = message; + h.state_mut().print_gen += 1; +} + +fn leave_and_reopen_print(h: &mut egui_kittest::Harness<'_, WordApp>) { + let _ = h.state_mut().run("ui.backstage", json!({"value": false})); + h.run_steps(2); + let _ = h.state_mut().run("file.print", json!({})); + h.run_steps(3); +} + +/// Opened again, the Print page doesn't repeat how the last job went when the window already said +/// it (in its status bar), but a failure that comes in while it is open stays, and what the +/// printers are doing (none found) shows each time. The shared message is never cleared, so +/// `ui.printSettings` still reports it. +#[test] +fn the_print_page_opens_without_the_last_jobs_message() { + use crate::printing::Feedback; + use egui_kittest::kittest::Queryable; + let mut h = print_page_harness(Some(Feedback::Submitted("job 7".into()))); + // A job went away earlier: its message was said in this window's status bar, and the page closed. + h.state_mut().print_memo.said = Some(h.state().print_gen); + let _ = h.state_mut().run("file.print", json!({})); + h.run_steps(4); + assert!(h.query_by_label_contains("job 7").is_none(), "the last job's message isn't repeated"); + assert_eq!(h.state().printing.message, Some(Feedback::Submitted("job 7".into())), "but the shared message stays"); + // A failure arrives while the page is open, said (by the status bar) in the very frame, so + // only the page being open keeps it showing: wrong reopen detection would hide it. + let failure = Some(Feedback::Failed("no paper".into())); + set_print_message(&mut h, failure.clone()); + h.state_mut().print_memo.said = Some(h.state().print_gen); + h.run_steps(3); + assert!(h.query_by_label_contains("no paper").is_some(), "a failure on the open page stays"); + leave_and_reopen_print(&mut h); + assert!(h.query_by_label_contains("no paper").is_none(), "reopened, the failure isn't repeated"); + assert_eq!(h.state().printing.message, failure, "but it is still the shared message"); + set_print_message(&mut h, Some(Feedback::NoPrinters)); + leave_and_reopen_print(&mut h); + assert!(h.query_by_label_contains("No printers found").is_some(), "no printers still shows"); +} + +/// A retry that fails again with the very same text is a new result: it shows, though the window +/// said the same words for the job before. +#[test] +fn a_retry_that_fails_the_same_way_shows_again() { + use crate::printing::Feedback; + use egui_kittest::kittest::Queryable; + let mut h = print_page_harness(None); + // Every job is refused at once, with the same words. + h.state_mut().services.print_native = Some(Box::new(|_, _, _, _| { + let (sender, receiver) = std::sync::mpsc::channel(); + let _ = sender.send(Err("no paper".to_owned())); + receiver + })); + let _ = h.state_mut().run("file.print", json!({})); + h.run_steps(3); + h.state_mut().run("ui.print", json!({})).unwrap(); + h.run_steps(3); + assert_eq!(h.state().printing.message, Some(Feedback::Failed("no paper".into()))); + assert!(h.query_by_label_contains("no paper").is_some(), "the first failure shows"); + leave_and_reopen_print(&mut h); + assert!(h.query_by_label_contains("no paper").is_none(), "reopened, it isn't repeated"); + h.state_mut().run("ui.print", json!({})).unwrap(); + h.run_steps(3); + assert_eq!(h.state().printing.message, Some(Feedback::Failed("no paper".into()))); + assert!(h.query_by_label_contains("no paper").is_some(), "the same failure of a new job shows"); +} + +/// A result nobody has said yet isn't dropped: a failure that arrived while File showed another +/// page (so no status bar was drawn) shows when Print opens. +#[test] +fn the_print_page_shows_a_result_that_was_never_said() { + use crate::printing::Feedback; + use egui_kittest::kittest::Queryable; + let mut h = print_page_harness(None); + h.state_mut().ui.backstage = true; + h.state_mut().ui.backstage_page = "home".into(); + h.run_steps(2); + // Through the app's own `print_feedback` (run each frame), which says it in a status bar that isn't drawn. + h.state_mut().printing.message = Some(Feedback::Failed("no paper".into())); + h.run_steps(3); + assert_eq!(h.state().print_memo.said, None, "File's home page doesn't say it"); + let _ = h.state_mut().run("file.print", json!({})); + h.run_steps(4); + assert!(h.query_by_label_contains("no paper").is_some()); +} + +/// Per window: what one window has said of the last job isn't another window's, and the shared +/// message is the same in both. (The harness draws one viewport, which re-enters a window of its +/// own, so the per-window state is checked where windows swap; `the_print_page_opens_without_the_last_jobs_message` +/// and `the_print_page_shows_a_result_that_was_never_said` show what each state does on the page.) +#[test] +fn the_print_pages_of_two_windows_decide_separately() { + use crate::printing::Feedback; + let failure = Some(Feedback::Failed("no paper".into())); + let mut a = app(); + a.printing.message = failure.clone(); + let first = a.windows.shown(); + a.print_gen = 1; + a.print_memo.said = Some(a.print_gen); + a.new_window(); + assert_ne!(first, a.windows.shown()); + assert_eq!(a.print_memo.said, None, "the second window never said it, so its page shows it"); + assert_eq!(a.printing.message, failure, "the message is shared, and still there"); + assert!(a.enter_window(first)); + assert_eq!(a.print_memo.said, Some(1), "the first window said it, so its page doesn't repeat it"); + assert_eq!(a.printing.message, failure); +} + /// Return on the Print page prints, as in Word, where ⌘P opens on Print as the default /// button; the document isn't typed into. #[test] diff --git a/crates/ui-egui/src/window_ui.rs b/crates/ui-egui/src/window_ui.rs index 57a2a9fa48..dbb05cb5dd 100644 --- a/crates/ui-egui/src/window_ui.rs +++ b/crates/ui-egui/src/window_ui.rs @@ -39,6 +39,7 @@ pub(crate) struct WindowUi { pub(crate) seen_full_screen: Option, pub(crate) escape_free: bool, pub(crate) status_counts: (u64, crate::StatusCounts), + pub(crate) print_memo: crate::print_page::Memo, /// Per window, as each window shows its own layout: one shared list would be read again /// on every frame of every window. pub(crate) missing_fonts: crate::chrome::MissingFontsMemo, @@ -114,6 +115,7 @@ impl WindowUi { seen_full_screen: None, escape_free: false, status_counts: NOT_COUNTED, + print_memo: Default::default(), missing_fonts: Default::default(), export_error: String::new(), last_autosave: 0.0, @@ -167,6 +169,7 @@ impl WordApp { services: _, printing: _, print_feedback_seen: _, + print_gen: _, font_generation: _, integrated_titlebar: _, mac_titlebar: _, @@ -246,6 +249,7 @@ impl WordApp { seen_full_screen, escape_free, status_counts, + print_memo, missing_fonts, export_error, last_autosave, @@ -353,6 +357,7 @@ impl WordApp { seen_full_screen, escape_free, status_counts, + print_memo, missing_fonts, export_error, last_autosave, diff --git a/docs/ui-parity.md b/docs/ui-parity.md index 8e72a19436..1265e8b0bb 100644 --- a/docs/ui-parity.md +++ b/docs/ui-parity.md @@ -1,6 +1,6 @@ # UI parity with Microsoft Word -> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-16 · **Change:** trivial (Save As and Export offer Browse in WordCraft… on Linux/BSD, as Open does, #3535); previously trivial (Language dialog: whole-document OK sends Do not check only when the box was clicked, so per-run proofing state is not flattened; glossary skipped while Track Formatting is on and reported as `glossarySkipped`, #3518); previously trivial (Language dialog: Apply to the whole document sets the proofing language or no-proof for every story in one undo step, #3518); previously trivial (Ctrl/Cmd+Shift+V pastes the formatting picked up with Ctrl/Cmd+Shift+C or the Format Painter, or text only when none was, as in Word, #1537); previously trivial (Auto interface size capped to the screen, Ctrl+Shift+0 returns to Auto, #4030); previously trivial (clipboard: a copied picture reaches the system clipboard as PNG, with HTML where the host writes it, while a copy of only shapes stays in WordCraft, #6205); previously trivial (Save As on Linux: the desktop portal's Save dialog reports the file type picked, updating the extension so saving as PDF writes a .pdf, #6180); previously trivial (Vertical scrollbar track: clicking above the elevator moves one screen up and clicking below it moves one screen down, as in Word (#5853)); previously trivial (a press the canvas handles, such as Ctrl+click on a link, no longer also shows the link tooltip that frame, #4683); previously trivial (the window moves by its title bar behind a modal dialog, as in Word for Mac, #5124); previously trivial (pointer zoom stretches page rasters until it stops); previously trivial (dark-theme interface text on Linux and the BSDs no longer looks semi-bold); previously trivial (the document's scroll bars show wherever the pointer is, not only at the window's edge, #5746); previously trivial (Protected typing boundary lookup counts preceding objects once and indexes editable permission IDs (#3614); caret movement and enforcement policy are unchanged; previously trivial: Custom Document Properties dialog from File › Info › Properties › Advanced Properties…, #2982; previously trivial: View › Window › New Window opens another window on the document, each with its own caret and view; previously trivial: mail merge: First Record, Last Record and a record number box in Preview Results; Finish & Merge asks which records to merge or print, #3028; previously trivial: selection bar for right-to-left paragraphs and table rows; previously trivial: read only and comments-only protection grey out edits; previously trivial: the Font dialog previews "NaN" or "inf" in the Size box at 12 pt, #3663; previously trivial: File › Options disables the User name field while Restrict Editing is active; previously trivial: while editing a header or footer, a click in the other one edits it there without scrolling; previously trivial: explicit documents keep the editor when recovery discovery finishes; readable recovery controls; previously trivial: Insert Table of Figures dialog: any caption label, #3013; previously trivial: Home › Underline drop-down shows its lines, #2738; previously trivial: the text context menu includes the formatting mini toolbar, #2959; previously trivial: personal templates in File › New and Save as Word Template, #2852; previously trivial: the scrollbar page tip stays on one line as the page number grows, #3341; previously trivial: File › Home and New: templates and recent documents are buttons named for screen readers, #3176; previously trivial: forms protection greys out the Developer tab's control buttons and Properties; previously trivial: AltGr doesn't open KeyTips, #2388; previously trivial: closing the header or footer puts the caret back where it was in the body, #3331; previously trivial: Format Page Numbers dialog: number format and Continue from previous section / Start at, #1113; previously trivial: inline pictures drag to a dashed insertion cursor and stay inline, #2233, #2234; previously trivial: Save Changes prompt: a text file saved over itself closes, #2376; previously trivial: the equation being edited is framed as in Word: an outline as tall as its line, a grip, an options strip that opens its menu, and its current argument shaded; previously trivial: the table handles show while the caret is in the table, #2428; previously trivial: legacy menu keys, #1697; previously trivial: Shape Fill › Gradient and the Format Shape pane, #1500; previously trivial: Focus fills the screen, and Full Screen View shows the pages alone, #1678; previously trivial: the text pointer over the page is drawn black or white on Windows, #1746; previously trivial: a click in the header/footer band from the body no longer scrolls to the body text, #2103; previously trivial: File › Recover follows the app theme, #3243; previously trivial: long navigation headings wrap onto further lines within the pane, #3015; previously trivial: clearing a no-match font query keeps the recent heading visible, #2068; previously trivial: dragging the vertical scrollbar names the page at the top of the window, #2551; previously trivial: Add Font imports every selected font file, #1789); previously trivial (dragging an In Line with Text object shows a bold insertion cursor, as in Word, instead of a faint dashed one, #4195); previously trivial (the shapes, pictures and text boxes inside a Drawing Canvas are picked, moved and resized on their own, #2637); previously trivial (Shape Format › Size shows the interface unit and takes any typed unit, #4196); previously trivial (over a turned picture, shape or text box the resize arrows turn with it, #3932); previously trivial (the status bar's count is words by default and can be characters with or without spaces, chosen from its right-click menu or File › Options › Display and kept between runs, #2797); previously trivial (Linux display server setting in File › Options › Advanced, #2184); previously trivial (dialogs are modal except Find and Replace, Symbol, Mark Index Entry, Cross-reference and Insert Merge Field, and a press beside one shakes it, #3859); previously trivial (showing the Format Shape pane leaves a gradient angle above 359.9° as it is, #3955); previously trivial (Return on File › Print prints, as Word's default Print button does); previously trivial (N-up and booklet printing, #641; readiness unchanged); previously trivial (missing fonts flagged in the font box and status bar, read from what layout drew; metric-compatible substitutes and symbol fonts not flagged); previously minor (Options › Language redesign: Your languages, Add a language…, Set as default; the Dictionaries folder moved from Proofing); previously trivial (a long comment's card and balloon stop at ten lines, #3382); previously minor (Arabic mirrored interface: ribbon, panes, File page, dialogs, menus; document canvas independent, #1195); previously trivial (Alt, F badges the Backstage pages; Alt, F, P and V open Print, #4960); previously trivial (View › Macros opens a Macros dialog with Run, Delete and Record, #4327); previously trivial (aligned-copy review fixes retain the document axis through scrolling and include secondary selections (#4764)); previously trivial (Table Properties: row, column and cell settings apply to the selected rows, columns and cells; mixed row check boxes, #4857); previously trivial (Insert › Shapes shows the basic shapes as a grid of drawn icon tiles, #4349); previously trivial (File › Options › Proofing › AutoCorrect Options opens with no document open, #4585); previously trivial (the Shading buttons show the last picked colour, #4412); previously trivial (a blank User Name in File › Options stays blank after a restart, #4368); previously trivial (window size falls back to the screen rectangle when the reported inner size is invalid; equation symbol tooltips no longer repeat a missing glyph's name); previously trivial (window titles and suggested file names omit NUL characters, #3634); previously trivial (Recipient labels continue across product-sized sheets instead of stopping after the first sheet (#4880)); previously trivial (Custom Document Properties dialog from File › Info › Properties › Advanced Properties…, #2982; previously trivial: View › Window › New Window opens another window on the document, each with its own caret and view; previously trivial: mail merge: First Record, Last Record and a record number box in Preview Results; Finish & Merge asks which records to merge or print, #3028; previously trivial: selection bar for right-to-left paragraphs and table rows; previously trivial: read only and comments-only protection grey out edits; previously trivial: the Font dialog previews "NaN" or "inf" in the Size box at 12 pt, #3663; previously trivial: File › Options disables the User name field while Restrict Editing is active; previously trivial: while editing a header or footer, a click in the other one edits it there without scrolling; previously trivial: explicit documents keep the editor when recovery discovery finishes; readable recovery controls; previously trivial: Insert Table of Figures dialog: any caption label, #3013; previously trivial: Home › Underline drop-down shows its lines, #2738; previously trivial: the text context menu includes the formatting mini toolbar, #2959; previously trivial: personal templates in File › New and Save as Word Template, #2852; previously trivial: the scrollbar page tip stays on one line as the page number grows, #3341; previously trivial: File › Home and New: templates and recent documents are buttons named for screen readers, #3176; previously trivial: forms protection greys out the Developer tab's control buttons and Properties; previously trivial: AltGr doesn't open KeyTips, #2388; previously trivial: closing the header or footer puts the caret back where it was in the body, #3331; previously trivial: Format Page Numbers dialog: number format and Continue from previous section / Start at, #1113; previously trivial: inline pictures drag to a dashed insertion cursor and stay inline, #2233, #2234; previously trivial: Save Changes prompt: a text file saved over itself closes, #2376; previously trivial: the equation being edited is framed as in Word: an outline as tall as its line, a grip, an options strip that opens its menu, and its current argument shaded; previously trivial: the table handles show while the caret is in the table, #2428; previously trivial: legacy menu keys, #1697; previously trivial: Shape Fill › Gradient and the Format Shape pane, #1500; previously trivial: Focus fills the screen, and Full Screen View shows the pages alone, #1678; previously trivial: the text pointer over the page is drawn black or white on Windows, #1746; previously trivial: a click in the header/footer band from the body no longer scrolls to the body text, #2103; previously trivial: File › Recover follows the app theme, #3243; previously trivial: long navigation headings wrap onto further lines within the pane, #3015; previously trivial: clearing a no-match font query keeps the recent heading visible, #2068; previously trivial: dragging the vertical scrollbar names the page at the top of the window, #2551; previously trivial: Add Font imports every selected font file, #1789); previously trivial (File › Close keeps the window, #1712; previously trivial: the Spike: Ctrl+F3 and Ctrl+Shift+F3; previously trivial: Ctrl+wheel zoom no longer scrolls the document, #1743; previously trivial: a mouse drag on a table leaves the view where it is, #1738; previously trivial: numbered headings, #1793; previously trivial: Navigation Find exposes Results, #2096; previously trivial: the tab strip never draws tabs over Comments / Editing / Share, #2026; previously trivial: Columns on selected text, #2024; previously trivial: Different First Page headers reachable from page 1, #2826; previously trivial: a copied equation also goes in the clipboard's MathML formats, #1297; previously trivial: Read Mode keeps the keyboard, shows whole columns and keeps text clear of the page-turn bar, #1772); previously trivial: font list entries of tall-ascent fonts sit in their row, not cut off, #2570); previously trivial: Split Cells and Convert Text to Table dialogs follow Word's merged-cell limits and Initial column width, #2592; previously trivial: a new source's Tag is made like Word's, three letters of the author and two digits of the year with a number added when taken, and an edit keeps the Tag, #2094; previously trivial: Web Layout text fills the window width, #1876; previously trivial: Language dialog keeps inherited proofing language and no-proof choices (#2717)); previously trivial: comment balloons readable in the dark theme, #2045; previously trivial: Recently Used Fonts section at the top of the font list, #2068; previously trivial: web preferences kept between visits, #2132; previously trivial: dialog close control: a Windows-style box at the title bar's right end, the whole box clickable, red on hover, #1885); previously trivial (Modify Table Style formats every table style part, #714); previously trivial: a click on the ribbon chrome hands the keyboard to the page in the same frame, #1093 follow-up; previously trivial: Page Setup vertical alignment, #1320; previously trivial: the app opens on the Home tab every launch, as in Word; previously trivial: no document behind the Start screen, #1129; previously trivial: equation pictures share a few textures, #1002; previously trivial: selection bar in the left margin, #856; previously trivial: table column and row markers on the rulers, #700; previously trivial: table borders and the resize handle drag on the page, #217; previously major: first version; ribbon, dialogs, shortcuts and on-canvas interaction measured from `crates/ui-egui` and the command registry) · **Target:** Microsoft Word (Microsoft 365) for Mac 16.113.4 +> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-16 · **Change:** trivial (File › Print opened again no longer shows the last job's "submitted" or failure message when that window already said it; decided per window, the shared message and `ui.printSettings` untouched); previously trivial (Save As and Export offer Browse in WordCraft… on Linux/BSD, as Open does, #3535); previously trivial (Language dialog: whole-document OK sends Do not check only when the box was clicked, so per-run proofing state is not flattened; glossary skipped while Track Formatting is on and reported as `glossarySkipped`, #3518); previously trivial (Language dialog: Apply to the whole document sets the proofing language or no-proof for every story in one undo step, #3518); previously trivial (Ctrl/Cmd+Shift+V pastes the formatting picked up with Ctrl/Cmd+Shift+C or the Format Painter, or text only when none was, as in Word, #1537); previously trivial (Auto interface size capped to the screen, Ctrl+Shift+0 returns to Auto, #4030); previously trivial (clipboard: a copied picture reaches the system clipboard as PNG, with HTML where the host writes it, while a copy of only shapes stays in WordCraft, #6205); previously trivial (Save As on Linux: the desktop portal's Save dialog reports the file type picked, updating the extension so saving as PDF writes a .pdf, #6180); previously trivial (Vertical scrollbar track: clicking above the elevator moves one screen up and clicking below it moves one screen down, as in Word (#5853)); previously trivial (a press the canvas handles, such as Ctrl+click on a link, no longer also shows the link tooltip that frame, #4683); previously trivial (the window moves by its title bar behind a modal dialog, as in Word for Mac, #5124); previously trivial (pointer zoom stretches page rasters until it stops); previously trivial (dark-theme interface text on Linux and the BSDs no longer looks semi-bold); previously trivial (the document's scroll bars show wherever the pointer is, not only at the window's edge, #5746); previously trivial (Protected typing boundary lookup counts preceding objects once and indexes editable permission IDs (#3614); caret movement and enforcement policy are unchanged; previously trivial: Custom Document Properties dialog from File › Info › Properties › Advanced Properties…, #2982; previously trivial: View › Window › New Window opens another window on the document, each with its own caret and view; previously trivial: mail merge: First Record, Last Record and a record number box in Preview Results; Finish & Merge asks which records to merge or print, #3028; previously trivial: selection bar for right-to-left paragraphs and table rows; previously trivial: read only and comments-only protection grey out edits; previously trivial: the Font dialog previews "NaN" or "inf" in the Size box at 12 pt, #3663; previously trivial: File › Options disables the User name field while Restrict Editing is active; previously trivial: while editing a header or footer, a click in the other one edits it there without scrolling; previously trivial: explicit documents keep the editor when recovery discovery finishes; readable recovery controls; previously trivial: Insert Table of Figures dialog: any caption label, #3013; previously trivial: Home › Underline drop-down shows its lines, #2738; previously trivial: the text context menu includes the formatting mini toolbar, #2959; previously trivial: personal templates in File › New and Save as Word Template, #2852; previously trivial: the scrollbar page tip stays on one line as the page number grows, #3341; previously trivial: File › Home and New: templates and recent documents are buttons named for screen readers, #3176; previously trivial: forms protection greys out the Developer tab's control buttons and Properties; previously trivial: AltGr doesn't open KeyTips, #2388; previously trivial: closing the header or footer puts the caret back where it was in the body, #3331; previously trivial: Format Page Numbers dialog: number format and Continue from previous section / Start at, #1113; previously trivial: inline pictures drag to a dashed insertion cursor and stay inline, #2233, #2234; previously trivial: Save Changes prompt: a text file saved over itself closes, #2376; previously trivial: the equation being edited is framed as in Word: an outline as tall as its line, a grip, an options strip that opens its menu, and its current argument shaded; previously trivial: the table handles show while the caret is in the table, #2428; previously trivial: legacy menu keys, #1697; previously trivial: Shape Fill › Gradient and the Format Shape pane, #1500; previously trivial: Focus fills the screen, and Full Screen View shows the pages alone, #1678; previously trivial: the text pointer over the page is drawn black or white on Windows, #1746; previously trivial: a click in the header/footer band from the body no longer scrolls to the body text, #2103; previously trivial: File › Recover follows the app theme, #3243; previously trivial: long navigation headings wrap onto further lines within the pane, #3015; previously trivial: clearing a no-match font query keeps the recent heading visible, #2068; previously trivial: dragging the vertical scrollbar names the page at the top of the window, #2551; previously trivial: Add Font imports every selected font file, #1789); previously trivial (dragging an In Line with Text object shows a bold insertion cursor, as in Word, instead of a faint dashed one, #4195); previously trivial (the shapes, pictures and text boxes inside a Drawing Canvas are picked, moved and resized on their own, #2637); previously trivial (Shape Format › Size shows the interface unit and takes any typed unit, #4196); previously trivial (over a turned picture, shape or text box the resize arrows turn with it, #3932); previously trivial (the status bar's count is words by default and can be characters with or without spaces, chosen from its right-click menu or File › Options › Display and kept between runs, #2797); previously trivial (Linux display server setting in File › Options › Advanced, #2184); previously trivial (dialogs are modal except Find and Replace, Symbol, Mark Index Entry, Cross-reference and Insert Merge Field, and a press beside one shakes it, #3859); previously trivial (showing the Format Shape pane leaves a gradient angle above 359.9° as it is, #3955); previously trivial (Return on File › Print prints, as Word's default Print button does); previously trivial (N-up and booklet printing, #641; readiness unchanged); previously trivial (missing fonts flagged in the font box and status bar, read from what layout drew; metric-compatible substitutes and symbol fonts not flagged); previously minor (Options › Language redesign: Your languages, Add a language…, Set as default; the Dictionaries folder moved from Proofing); previously trivial (a long comment's card and balloon stop at ten lines, #3382); previously minor (Arabic mirrored interface: ribbon, panes, File page, dialogs, menus; document canvas independent, #1195); previously trivial (Alt, F badges the Backstage pages; Alt, F, P and V open Print, #4960); previously trivial (View › Macros opens a Macros dialog with Run, Delete and Record, #4327); previously trivial (aligned-copy review fixes retain the document axis through scrolling and include secondary selections (#4764)); previously trivial (Table Properties: row, column and cell settings apply to the selected rows, columns and cells; mixed row check boxes, #4857); previously trivial (Insert › Shapes shows the basic shapes as a grid of drawn icon tiles, #4349); previously trivial (File › Options › Proofing › AutoCorrect Options opens with no document open, #4585); previously trivial (the Shading buttons show the last picked colour, #4412); previously trivial (a blank User Name in File › Options stays blank after a restart, #4368); previously trivial (window size falls back to the screen rectangle when the reported inner size is invalid; equation symbol tooltips no longer repeat a missing glyph's name); previously trivial (window titles and suggested file names omit NUL characters, #3634); previously trivial (Recipient labels continue across product-sized sheets instead of stopping after the first sheet (#4880)); previously trivial (Custom Document Properties dialog from File › Info › Properties › Advanced Properties…, #2982; previously trivial: View › Window › New Window opens another window on the document, each with its own caret and view; previously trivial: mail merge: First Record, Last Record and a record number box in Preview Results; Finish & Merge asks which records to merge or print, #3028; previously trivial: selection bar for right-to-left paragraphs and table rows; previously trivial: read only and comments-only protection grey out edits; previously trivial: the Font dialog previews "NaN" or "inf" in the Size box at 12 pt, #3663; previously trivial: File › Options disables the User name field while Restrict Editing is active; previously trivial: while editing a header or footer, a click in the other one edits it there without scrolling; previously trivial: explicit documents keep the editor when recovery discovery finishes; readable recovery controls; previously trivial: Insert Table of Figures dialog: any caption label, #3013; previously trivial: Home › Underline drop-down shows its lines, #2738; previously trivial: the text context menu includes the formatting mini toolbar, #2959; previously trivial: personal templates in File › New and Save as Word Template, #2852; previously trivial: the scrollbar page tip stays on one line as the page number grows, #3341; previously trivial: File › Home and New: templates and recent documents are buttons named for screen readers, #3176; previously trivial: forms protection greys out the Developer tab's control buttons and Properties; previously trivial: AltGr doesn't open KeyTips, #2388; previously trivial: closing the header or footer puts the caret back where it was in the body, #3331; previously trivial: Format Page Numbers dialog: number format and Continue from previous section / Start at, #1113; previously trivial: inline pictures drag to a dashed insertion cursor and stay inline, #2233, #2234; previously trivial: Save Changes prompt: a text file saved over itself closes, #2376; previously trivial: the equation being edited is framed as in Word: an outline as tall as its line, a grip, an options strip that opens its menu, and its current argument shaded; previously trivial: the table handles show while the caret is in the table, #2428; previously trivial: legacy menu keys, #1697; previously trivial: Shape Fill › Gradient and the Format Shape pane, #1500; previously trivial: Focus fills the screen, and Full Screen View shows the pages alone, #1678; previously trivial: the text pointer over the page is drawn black or white on Windows, #1746; previously trivial: a click in the header/footer band from the body no longer scrolls to the body text, #2103; previously trivial: File › Recover follows the app theme, #3243; previously trivial: long navigation headings wrap onto further lines within the pane, #3015; previously trivial: clearing a no-match font query keeps the recent heading visible, #2068; previously trivial: dragging the vertical scrollbar names the page at the top of the window, #2551; previously trivial: Add Font imports every selected font file, #1789); previously trivial (File › Close keeps the window, #1712; previously trivial: the Spike: Ctrl+F3 and Ctrl+Shift+F3; previously trivial: Ctrl+wheel zoom no longer scrolls the document, #1743; previously trivial: a mouse drag on a table leaves the view where it is, #1738; previously trivial: numbered headings, #1793; previously trivial: Navigation Find exposes Results, #2096; previously trivial: the tab strip never draws tabs over Comments / Editing / Share, #2026; previously trivial: Columns on selected text, #2024; previously trivial: Different First Page headers reachable from page 1, #2826; previously trivial: a copied equation also goes in the clipboard's MathML formats, #1297; previously trivial: Read Mode keeps the keyboard, shows whole columns and keeps text clear of the page-turn bar, #1772); previously trivial: font list entries of tall-ascent fonts sit in their row, not cut off, #2570); previously trivial: Split Cells and Convert Text to Table dialogs follow Word's merged-cell limits and Initial column width, #2592; previously trivial: a new source's Tag is made like Word's, three letters of the author and two digits of the year with a number added when taken, and an edit keeps the Tag, #2094; previously trivial: Web Layout text fills the window width, #1876; previously trivial: Language dialog keeps inherited proofing language and no-proof choices (#2717)); previously trivial: comment balloons readable in the dark theme, #2045; previously trivial: Recently Used Fonts section at the top of the font list, #2068; previously trivial: web preferences kept between visits, #2132; previously trivial: dialog close control: a Windows-style box at the title bar's right end, the whole box clickable, red on hover, #1885); previously trivial (Modify Table Style formats every table style part, #714); previously trivial: a click on the ribbon chrome hands the keyboard to the page in the same frame, #1093 follow-up; previously trivial: Page Setup vertical alignment, #1320; previously trivial: the app opens on the Home tab every launch, as in Word; previously trivial: no document behind the Start screen, #1129; previously trivial: equation pictures share a few textures, #1002; previously trivial: selection bar in the left margin, #856; previously trivial: table column and row markers on the rulers, #700; previously trivial: table borders and the resize handle drag on the page, #217; previously major: first version; ribbon, dialogs, shortcuts and on-canvas interaction measured from `crates/ui-egui` and the command registry) · **Target:** Microsoft Word (Microsoft 365) for Mac 16.113.4 > **Page Setup update:** 2026-11-07 · Page Setup number boxes keep long input inside the field, including accepted margin values after focus leaves (#5650); accepted ranges and readiness estimates are unchanged. @@ -128,6 +128,7 @@ Page Setup's margin, paper-size and document-grid number boxes scroll long text | Date | Change | Summary | |---|---|---| +| 2026-11-15 | trivial | File › Print opened again no longer shows how the last job went ("Print job submitted…", a failure): that was said once in the status bar. A failure that comes in while the page is open stays, and printer status (finding printers, none found) shows each time. Decided per window: a result a window never said (it arrived under File's other pages, or in another window) still shows there, and the shared message that `ui.printSettings` reports is never cleared | | 2026-11-14 | trivial | Save As and Export (also the formats on the Print page) offer Browse in WordCraft… on Linux/BSD, as Open does; exporting there lists Export's formats as the types, whose extension replaces a known document extension on the name; an export refusal or failure shows on the Export page, as Save As's does (#3535) | | 2026-11-16 | trivial | Language dialog whole-document OK: Do not check sent only when clicked; `review.language` document scope returns the caret result with `scope`; glossary skipped while tracking formatting (result says `glossarySkipped`) (#3518) | | 2026-11-14 | trivial | Language dialog: Apply to the whole document sets the proofing language or Do not check for every story (body, headers, footers, notes, comments, text boxes, tables, glossary) in one undo step; `review.language` takes `scope: "document"` (#3518) |