Closed Bug 1515657 Opened 3 years ago Closed 3 years ago

Firefox hangs when entering print preview

Categories

(Core :: Printing: Setup, defect)

x86_64
Windows 7
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox64 --- affected
firefox65 --- affected
firefox66 --- affected

People

(Reporter: bogdan_maris, Unassigned)

Details

Attachments

(1 file)

Attached file about:support info
[Affected versions]:
- Firefox Release 64.0
- Firefox Beta 65.0b5
- Latest Nightly 66.0a1

[Affected platforms]:
- Windows 7 x64

[Steps to reproduce]:
1. Start Firefox with a new profile
2. Open any webpage (eg. wikipedia.org) - this step is totally extra, it does take longer if a webpage is opened.
3. Open hamburger menu and click print.

[Expected result]:
- Print preview opens without issues

[Actual result]:
- There is a huge hang when entering print preview (~1 minute)

[Regression range]:
- Not sure if this is a regression, will investigate ASAP.

[Additional notes]:
- Here is a profile capture https://perfht.ml/2PNSpTf
- I did tried on multiple machines but for some reason only this one is affected, on others the pages goes into print preview in 2-3 seconds.
- File attached has the about:support info.
- I did tried with both 32bit and 64bit build.
Do you have a network printer set up on a slow network, or anything like that?

At first glance, it looks like your profile shows that we're hanging in a Windows-provided DLL, which we call into from functions like nsPrinterEnumeratorWin::InitPrintSettingsFromPrinter and nsresult nsDeviceContextSpecWin::GetDataFromPrinter.

That sounds like Windows is taking forever to get us some answers.
Flags: needinfo?(bogdan.maris)
Also: does a normal "Print" operation have the same issue? (Reclassifying on the assumption that it does.)

And do other programs (e.g. Notepad, Chrome) show the same issue with their own "print" functions?
Component: Print Preview → Printing: Setup
Yap, you were right, other programs had the same issue, even notepad. I checked where my printer was (in another city...at another office) so I uninstalled it and connected to the one from my actual office and now it works as expected. Thanks for pointing that out! I can now use the printer \o/. Closing as worksforme.
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(bogdan.maris)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.