Closed Bug 1368637 Opened 8 years ago Closed 6 years ago

Print preview email doesn't open. Status line "Print Previewing message..."

Categories

(MailNews Core :: Printing, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: felix.schroeter, Unassigned)

References

()

Details

(Whiteboard: [Support])

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0 Build ID: 20170518000419 Steps to reproduce: Right-click on a mail and clicked on print preview Actual results: Nothing....It does not open the print preview. At the bottom left corner is shown "print preview: Message" but nothing happens. Expected results: It should open the print preview.
Does it happen if you start thunderbird in safe mode? What about right after you start Thunderbird?
Flags: needinfo?(felix.schroeter)
(In reply to Wayne Mery (:wsmwk, NI for questions) from comment #1) > Does it happen if you start thunderbird in safe mode? > What about right after you start Thunderbird? I tried it in safe mode but again nothing happens. I also tried it with TB 45.
Flags: needinfo?(felix.schroeter)
Works for me on Windows 7 in TB 52 and TB 55 Daily.
fwiw, the list of "print" bugs with recent activity https://mzl.la/2u1YB3b this happens with all emails? what do you see in tools > error console?
Summary: Print preview doesn't open → Print preview email doesn't open. Status line "Print Previewing message..."
Felix... (In reply to Wayne Mery (:wsmwk) from comment #4) > fwiw, the list of "print" bugs with recent activity https://mzl.la/2u1YB3b > > this happens with all emails? > what do you see in tools > error console?
Flags: needinfo?(felix.schroeter)
Performed a check to test for possible reasons for this error/bug to help developers and users. Win Vista Thunderbird: 52.8.0 Tested Offline and online mode and Thunderbird SAfe Mode: 'File; > 'Print Preview' Status Bar: "print preview: Message" Same result. Error console: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getBoolPref] printEngineWindowOverlay.js:41 [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIPrintSettingsService.initPrintSettingsFromPrinter]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/content/browser-content.js :: getPrintSettings :: line 486" data: no] (unknown) [Exception... "Component returned failure code: 0x80480002 (NS_ERROR_GFX_PRINTER_NAME_NOT_FOUND) [nsIWebBrowserPrint.printPreview]" nsresult: "0x80480002 (NS_ERROR_GFX_PRINTER_NAME_NOT_FOUND)" location: "JS frame :: chrome://global/content/browser-content.js :: enterPrintPreview :: line 652" data: no] (unknown) NS_ERROR_NOT_AVAILABLE: Cannot call openModalWindow on a hidden window Used: 'Run' > 'services.msc' Located 'Print Spooler' Started print spooler In Thunderbird: 'File; > 'Print Preview' All worked ok. Suggestion: Does the 'error console produce similar to the above'? If yes: check Print Spooler in Services to see it is running correctly.
OS = MS 10 Home, version = 10.0.17134 Build = 17134 Thunderbird version = 52.8.0 (32 bit) Print Preview fails. 1] reset Print Spooler: still fails; 2] accessed "developer tools, error console"; unable to clear all entries [may be my ignorance]; tried print preview - still fails: "print previewing message" displays in lower left of screen. Last error in error console 12:41:44.874 NS_ERROR_NOT_AVAILABLE: Cannot call openModalWindow on a hidden window 1 nsPrompter.js:351 Many thanks for any assist. Larry
Did the error console clear. Tried Print preview the result in Error Console is: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIPrintSettingsService.initPrintSettingsFromPrinter]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/content/browser-content.js :: getPrintSettings :: line 486" data: no] (unknown) [Exception... "Component returned failure code: 0x80480002 (NS_ERROR_GFX_PRINTER_NAME_NOT_FOUND) [nsIWebBrowserPrint.printPreview]" nsresult: "0x80480002 (NS_ERROR_GFX_PRINTER_NAME_NOT_FOUND)" location: "JS frame :: chrome://global/content/browser-content.js :: enterPrintPreview :: line 652" data: no] (unknown) NS_ERROR_NOT_AVAILABLE: Cannot call openModalWindow on a hidden window nsPrompter.js:351 Many thanks for pursuing Larry

Sorry for the delay

For everyone included in this bug, please see the URL that Wayne added to the ticket. Here it is again if you can't find it
https://support.mozilla.org/questions/1222914

Please update TB to the latest stable version or try the latest beta, and follow the suggestions in the link above to verify the bug is resolved.

Stable: https://www.thunderbird.net

Beta: https://www.thunderbird.net/channel/

Component: Untriaged → OS Integration
Component: OS Integration → Printing
Product: Thunderbird → MailNews Core
Version: 52 Branch → 52

OS Windows 10
TB version 60.8.0
Print Preview failure.
Steps to reproduce:
Right-click on a mail and clicked on print preview

Actual results:
A windows flashes in and out of view at speed as if calling the function. At the bottom left corner is shown "print preview: Message" but print preview window does open.

Tests:

  1. Using 'services.msc' to reset print spooler had no effect.
  2. Using Thunderbird Safe Mode had same results.
  3. Uninstalled and reinstalled from fresh version 60.8.0 from these links:
    https://www.thunderbird.net/en-US/thunderbird/all/
    English (British) for Windows OS.
    https://www.thunderbird.net/en-GB/
    Still same results for both.
  4. Uninstalled then downloaded and installed from advised beta channel.
    Version 69.0b3
    Same failure.

Error console information from 60.8.0 version
Error:
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIPrintSettingsService.initPrintSettingsFromPrinter]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/content/browser-content.js :: getPrintSettings :: line 606" data: no] (unknown)
getPrintSettings chrome://global/content/browser-content.js:606:7
enterPrintPreview chrome://global/content/browser-content.js:756:27
receiveMessage chrome://global/content/browser-content.js:570:9
[Exception... "Component returned failure code: 0x80480002 (NS_ERROR_GFX_PRINTER_NAME_NOT_FOUND) [nsIWebBrowserPrint.printPreview]" nsresult: "0x80480002 (NS_ERROR_GFX_PRINTER_NAME_NOT_FOUND)" location: "JS frame :: chrome://global/content/browser-content.js :: printPreviewInitialize :: line 770" data: no] (unknown)
printPreviewInitialize chrome://global/content/browser-content.js:770:11
TypeError: printPreviewTB is null[Learn More] printUtils.js:348:11
receiveMessage chrome://global/content/printUtils.js:348:11
NS_ERROR_NOT_AVAILABLE: Cannot call openModalWindow on a hidden window nsPrompter.js:340
GET
XHR
https://aus5.mozilla.org/update/6/Thunderbird/60.8.0/20190703133823/WINNT_x86-msvc-x64/en-GB/release/Windows_NT%2010.0.0.0.17763.678%20(x64)/ISET:SSE4_2,MEM:16191/default/default/update.xml
[HTTP/2.0 200 OK 359ms]

Error console information from 69.0b3 version:
NS_ERROR_NOT_AVAILABLE: Cannot call openModalWindow on a hidden window Prompter.jsm:437
NS_ERROR_NOT_AVAILABLE: Cannot call openModalWindow on a hidden window Prompter.jsm:437
openModalWindow resource://gre/modules/Prompter.jsm:437
openPrompt resource://gre/modules/Prompter.jsm:698
alert resource://gre/modules/Prompter.jsm:747
alert resource://gre/modules/Prompter.jsm:60
_displayPrintingError chrome://global/content/printUtils.js:323
receiveMessage chrome://global/content/printUtils.js:328

Well, print preview works fine for me on TB 68 and TB 69 beta. I think your print settings got themselves into a knot. You should open the config editor and check for print.printer. What you will see are preferences for any installed printers, potentially accumulated over the years (like I have nine ancient printers still in the profile). You should reset all those preferences, or easier, edit the prefs.js file in your profile while TB isn't running. Do this carefully and make a backup of the file.

Or, just create a new text profile (starting thunderbird -p) and see whether the print preview also doesn't work there.

Correct Jorg - totally in a knot. Printer not detected. Printer driver not detected. Then told not compatible with Windows 10 so ditch printer. But eventually after many attempts got computer to recognise printer and installed everything. Reset all print in config editor and bingo. How Windows 10 duffed that one up is crazy.
Now just need to remove the beta version in order to get Thunderbird back to normal.

Let's close this one. I'm quite convinced that all these problems are due to bad/old configuration.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Whiteboard: [Support]
Flags: needinfo?(felix.schroeter)
You need to log in before you can comment on or make changes to this bug.