Skip to content

feat(windows): print the recovery key - #4731

Merged
datlechin merged 3 commits into
mainfrom
feat/windows-recovery-key-print
Nov 29, 2026
Merged

datlechin merged 3 commits into
mainfrom
feat/windows-recovery-key-print

Conversation

@datlechin

Copy link
Copy Markdown
Member

Summary

  • Print... beside Copy where a new recovery key first shows, at set-up and on Replace, as on the Mac.
  • Prints one page through PrintManagerInterop and Microsoft.UI.Xaml.Printing.PrintDocument: the title, the date, the 14 numbered groups and the Mac's note, black on white in any theme.
  • One job at a time: Print stays off until PrintTask.Completed, the job then drops the page and its handlers, and a dialog that never opened ends the job at once.
  • Windows ADR 0044, which supersedes 0030's No print.

Test plan

  • TablePro.App.Model.Tests on macOS with a placeholder core: LocalizationTests read the new strings; the failures left are the tests that load the core.
  • The WinUI build and the Native AOT publish run in CI's Windows jobs; a Windows 11 Arm64 VM run follows on main.
  • The UI tests run signed out and never reach the recovery key, so the print path is checked by hand on the VM.
  • Codex review and security pass: two findings (a failed launch kept the key, an overlapping job), both fixed.

datlechin added a commit that referenced this pull request Nov 29, 2026
@datlechin
datlechin force-pushed the feat/windows-recovery-key-print branch from e04da1b to af6550f Compare November 29, 2026 18:44
@datlechin
datlechin merged commit 612552b into main Nov 29, 2026
1 check passed
@datlechin
datlechin deleted the feat/windows-recovery-key-print branch November 30, 2026 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant