mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-18 00:15:44 +00:00
File › Print: reopened, the page doesn't repeat the last job's message (#5597)
* 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 <noreply@anthropic.com> 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 <noreply@anthropic.com> 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 <noreply@anthropic.com> * #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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FypgCXtSjB6e5jmy9Uq7u8 --------- Co-authored-by: Martin Ball <martin.ball@ucsmedical.co.uk> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
8 files changed
+206
-5
No files matched your search
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -656,6 +656,9 @@ pub struct WordApp {
|
||||
pub clipboard_published: bool,
|
||||
pub printing: printing::State,
|
||||
print_feedback_seen: Option<printing::Feedback>,
|
||||
/// 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<String>,
|
||||
|
||||
@@ -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<u64>,
|
||||
/// The generation of the result held back on this opening of the page.
|
||||
hidden: Option<u64>,
|
||||
}
|
||||
|
||||
/// 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<crate::printing::Feedback>| {
|
||||
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() {
|
||||
|
||||
@@ -23,8 +23,8 @@ pub fn commands(app: &crate::WordApp) -> Vec<serde_json::Value> {
|
||||
}
|
||||
|
||||
/// 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<se
|
||||
}
|
||||
app.printing.begin(submit(bytes, settings, collate, print_options)).map_err(|_| "A print job is already being submitted.".to_owned())?;
|
||||
app.print_feedback_seen = None;
|
||||
app.print_gen = app.print_gen.wrapping_add(1);
|
||||
} else if let Some(print) = &app.services.print {
|
||||
print(&bytes)?;
|
||||
}
|
||||
|
||||
@@ -3767,6 +3767,148 @@ fn the_print_button_shows_only_with_a_print_hook() {
|
||||
}
|
||||
}
|
||||
|
||||
/// A Print page with printers found (so it draws the job message), in English.
|
||||
fn print_page_harness(message: Option<crate::printing::Feedback>) -> 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<crate::printing::Feedback>) {
|
||||
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]
|
||||
|
||||
@@ -39,6 +39,7 @@ pub(crate) struct WindowUi {
|
||||
pub(crate) seen_full_screen: Option<bool>,
|
||||
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,
|
||||
|
||||
+2
-1
@@ -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 fontLine truncated
|
||||
> **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 bodyLine truncated
|
||||
|
||||
> **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) |
|
||||
|
||||
Reference in new issue
Block a user