mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-09 11:53:49 +00:00
* M10: Correct recognized text keeps the window's tabs and toolbar and shows the page (ocr.correct-recognized-text) Scan & OCR > Correct recognized text drew the OCR Verify screen before the tab strip and the mode bar and returned, so it took the whole window: the tabs, menus and toolbar went away (on macOS the traffic lights landed on the PAGES caption). Its source pane drew only a document the screen had recognized itself, so opened on a document (already searchable or not) it was blank until a run. The screen now takes the document area under the tab strip and the mode bar; the command palette shows over it too. Before a run, and after a review is accepted or rejected, the source pane shows the document in front at the page it is on. Another mode or the Home tab puts the screen away, as Exit does; the command brings it back with its review as it was. A run now shows the first page it reads (the current page for that scope) instead of page 1. Fixes #6485 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn * M10: OCR Verify keeps its review when the document is closed and shows a page it read (ocr.correct-recognized-text) - Closing a document whose OCR review is still open (File > Close, the tab's Close, the snapshot bar's Close, Close all) brings the review forward with a notice to accept or reject it first, instead of closing the document under it. - After a run the source pane shows a page that was read, over one skipped for its text; a run that read no pages keeps the page it was started on. - PAGE shows the page's number over the document's page count. - A cached preview of another document or page is dropped before rendering. - The re-entry test checks a review and its correction survive another mode and Correct recognized text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn * M10: OCR Verify holds Quit for an open review, lets a failed Accept be rejected, and survives a worker that cannot start (ocr.correct-recognized-text) - Quit and closing the window bring a document under OCR review forward with its review instead of exiting, as Close all does. - Reject also throws away a reading whose Accept failed. - A run or re-read whose worker thread cannot start leaves the screen usable and an existing review as it was. - A page preview that fails to render is not rendered again on every repaint, only once the document changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn * M10: the web build's leave warning asks while an OCR review is open (ocr.correct-recognized-text) A browser reload or a closed tab cannot be held the way Close and Quit are, so the beforeunload flag the web page reads now also counts an OCR review that is not yet accepted or rejected, by the same check that holds Close all and Quit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn * M10: keep LF line endings in the files the leave-warning change touched (ocr.correct-recognized-text) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn * M10: an OCR review holds a deferred close, a run on another document, and the embedding page's leave warning (ocr.correct-recognized-text) A close that waited for a save checks again for an OCR review started meanwhile: the reviewed document stays open, and Close all and Quit stop. Run OCR on another document while a review is held is refused with a notice, so the review keeps its corrections. The embedding page's `host_dirty` hears an open review as work at risk, as the reload warning does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyCHD1R3rywQBPCHXZA --------- Co-authored-by: mtlcl410 <chuanlin@niar.org.tw> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>