Skip to content

Show the printing snackbar once - #784

Merged
andiwand merged 1 commit into
mainfrom
fix-printing-snackbar
Nov 28, 2026
Merged

andiwand merged 1 commit into
mainfrom
fix-printing-snackbar

Conversation

@andiwand

@andiwand andiwand commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

🤖 Generated with Claude Code

Fixes #484.

PrintingManager polls the print job every second and called SnackbarHelper.show on each poll, so a new "Printing…" bar slid in every second until the job ended, and the last one stayed up to 20 s after. It is now shown once, indefinitely, and dismissed when the job completes, fails or is cancelled.

Checked on an API 36 emulator: "Printing…" is up while the print dialog is open, and gone as soon as the dialog is cancelled.

The print job's poll showed the "Printing…" snackbar again every second, so a new bar slid in
each second until the job ended. It is now shown once when printing starts and dismissed when the
job completes, fails or is cancelled.

Fixes #484

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FW6WZZfQGJ4fuTzVR4DhYg
@andiwand andiwand mentioned this pull request Nov 28, 2026
@andiwand
andiwand merged commit 0595601 into main Nov 28, 2026
2 checks passed
@andiwand
andiwand deleted the fix-printing-snackbar branch November 28, 2026 18:50
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.

fix toast popup for printing document

1 participant