Closed Bug 592405 Opened 10 years ago Closed 10 years ago

printing causes a "print preview" to flash in the browser window while page is printing

Categories

(Core :: Layout, defect)

x86_64
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- final+

People

(Reporter: dbaron, Assigned: tnikkel)

References

Details

(Keywords: regression)

Attachments

(1 file)

When I print (just File -> Print, not from print preview), a display that looks a bit like the print preview display although I think without the edges (although I'm not sure if that's what it is) flashes in the browser window as the progress meter ticks up.  Then when printing is done, the normal page display flashes back into place.

Steps to reproduce:
 1. load http://hacks.mozilla.org/2010/08/fun-with-fast-javascript/
 2. choose File -> Print
 3. select print to file (to avoid wasting paper), and print it

Actual results: a printed display flashes in part of the browser window while the progressmeter for the printing is displayed

Expected results: page display doesn't change while the print progress is being shown

I'm testing in 2010-08-30-03-mozilla-central Linux x86_64 nightly.

Probably a regression from bug 130078 or related.
blocking2.0: --- → final+
The same thing happens when you print from print preview.

The printed output looks fine. I think we must be doing an extra call to one of the functions in DocumentViewer that turns on printing mode for the wrong document.
Blocks: 592891
Attached patch patchSplinter Review
We link in the view manager for the print document into the screen view manager, so it gets drawn for a brief period.
Assignee: nobody → tnikkel
Attachment #472191 - Flags: review?(roc)
Blocks: 585697
http://hg.mozilla.org/mozilla-central/rev/08aab2f52228
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
No longer blocks: 585697
Duplicate of this bug: 592891
You need to log in before you can comment on or make changes to this bug.