Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firefox: stuck in "Preparing Preview" when opening the print dialog #272907

Open
raboof opened this issue Dec 8, 2023 · 2 comments
Open

firefox: stuck in "Preparing Preview" when opening the print dialog #272907

raboof opened this issue Dec 8, 2023 · 2 comments
Labels
0.kind: bug Something is broken

Comments

@raboof
Copy link
Member

raboof commented Dec 8, 2023

Describe the bug

When I hit 'Ctrl+P' in Firefox, the print preview dialog opens, but shows a spinner and the text 'Preparing Preview'. I can close the dialog with 'Escape'.

Additional context

Removing all printers from 'system-config-printer' seems to have helped (there was one hplip printer in there), and was sufficient for me as I wanted to 'Save to PDF' anyway.

Saw the same behavior both with 'firefox-bin' and 'firefox'.

Metadata

nixpkgs-unstable at 2c7f3c0

Add a 👍 reaction to issues you find important.

@raboof raboof added the 0.kind: bug Something is broken label Dec 8, 2023
@gaudren
Copy link

gaudren commented Sep 17, 2024

I also had this problem. I was able to work around it by setting print.prefer_system_dialog to true in about:config

@Saghetti0
Copy link

For my system, I narrowed this down to a problem where Firefox hangs when trying to talk with cups. The moment I stopped cups (sudo systemctl stop cups and sudo systemctl stop cups.socket), Firefox was freed from whatever deadlock it was in, and my print dialog and PDF downloads immediately came back. I ended up stopping cups, deleting /var/lib/cups and /var/spool/cups, and starting cups again, which fixed the problem for me. Maybe some state files that cups stores were corrupted or otherwise problematic?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

3 participants