Closed Bug 285310 Opened 21 years ago Closed 20 years ago

Print and Print Preview freezes on certain pages containing CSS to do with printers.

Categories

(SeaMonkey :: General, defect)

1.7 Branch
x86
Windows XP
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: null, Unassigned)

References

()

Details

(Keywords: hang)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217 The page at http://www.sgtwilko.f9.co.uk/inspectionSheet.html contains CSS so DIVs only print, and do not show on screen. With this line of CSS the html the page will not get past the preparing to print popup, either from print or from print preview. A smaller file will print, also removing some of the CSS will also allow the file to print. This problem happens on Windows and on Linux (Moz 1.7.5). Under Linux I noticed almost a gigabyte of memory being used by mozilla when left to print for about 20 minutes. Reproducible: Always Steps to Reproduce: 1. Goto http://www.sgtwilko.f9.co.uk/inspectionSheet.html 2. Click eiter print or print preview 3. wait until all the memory in your computer is taken Actual Results: Mozilla freezes, you have to kill it. Expected Results: Printed!
Version: unspecified → 1.7 Branch
Summary: Print and Print Preview freezes on certain pages containg CSS to do with printers. → Print and Print Preview freezes on certain pages containing CSS to do with printers.
Keywords: hang
Confirm with Mozilla 1.8b1 on GNU/Linux
Martijn, got time for a minimal testcase?
Attached file Testcase
My debug build with the patch from bug 263825 doesn't give endless assertions anymore with the testcase in print preview (although I still get a lot of assertions).
Depends on: 263825
Well, it doesn't freeze for me anymore in the 20050323 trunk build, so this is fixed, I think. But the print preview looks really odd. Probably better to file a new bug about that, not?
Yeah, if you can file a separate bug on that, that would be great.
Actually, I'm beginning to think the printing/print preview of the url is correct (it's more the css that is odd). But the testcase looks odd on print preview. I've submitted bug 287702 for that.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: