From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050921 Red Hat/1.0.7-1.4.1 Firefox/1.0.7 Description of problem: When trying to print, the user reports they get an error: "You cannot print while in print preview". The user has never opened print preview. Originally, this was only after the first few prints, but now it happens on the very first print after restarting the client. I set user_pref("print.whileInPrintPreview", true); in their prefs.js, and that appeared to solve the problem, but the problem is now back. Version-Release number of selected component (if applicable): thunderbird-1.0.7-1.4.1 How reproducible: Sometimes Steps to Reproduce: 1. Open Thunderbird 2. Select Email 3. File->Print 4. Print dialog appears, hit print Actual Results: Pop up error: "You cannot print while in print preview" Expected Results: Printer prints. Additional info: We normally attach printing to gtklp, but I removed that to no avail. It fails no matter what email it is. I also noticed, previously, that a single click on 'Print' was opening multiple "preparing..." windows, and closing these did no good. A new profile did not solve the issue.
Hm. It seems the mail was HTML, and there was an HTML attachment. It was trying to print the attachment, even though it was not displaying inline. Turning off "Display Attachments inline" allows printing to continue normally.
We found that this bug has been already registered in the upstream database (https://bugzilla.mozilla.org/show_bug.cgi?id=348444) and believe that it is more approriate to let be resolved upstream. Red Hat will continue to track the issue in the centralized upstream bug tracker, and will review any bug fixes that become available for consideration in future updates. Thank you for the bug report.