Closed Bug 360697 Opened 19 years ago Closed 4 years ago

Printing nested framesets spools infinite pages

Categories

(Core :: Printing: Output, defect)

1.8 Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Jason.Karcz, Unassigned)

References

()

Details

Attachments

(9 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 This is a simplified example, but whet the user presses the "Go" link in my demonstrative page, the bottom frame is selected. However, this frame is then expanded into another frameset. When the user prints that page, the default selection is "The Selected Frame". This causes Firefox to endlessly spool pages to the printer (easily >1000pp if not caught). Reproducible: Always Steps to Reproduce: 1. Press "Go" on my demo page 2. Select File->Print 3. Print using default settings Actual Results: Pages are spooled endlessly (until all FF windows are closed) Expected Results: The page should be printed as displayed. In a computer lab setting where students don't realize what will happen and a web application is being used that triggers this flaw, it can turn into a massive waste of physical resources. Additionally, this was not an issue in FF 1.0.7, but is in FF 1.5.0.6 and above (I haven't tested any versions between 1.0.7 and 1.5.0.6)
Assignee: nobody → printing
Component: General → Printing
Product: Firefox → Core
QA Contact: general
Version: unspecified → 1.8 Branch
After you click "Go", firefox gets confused which frame is focused and should be printed. IE6 prints both frames Left and Right with "Only the selected frame" checked. This kind of implies that IE selects two frames. Tested with Firefox 2.0 on Win2k and Adobe PDF as Printer.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached file Left frame
Attached file Right frame
Attached file Frameset 2
Attached file Crap frame
Attached file Go frame
Attached file Testcase
The latest trunk 20061115 does not spool pages endlessly anymore. I'll post some history how trunk behaviour changed wrt the testcase.
This latest printout has dark background. It must be a regression from bug 332927.
(In reply to comment #12) > This latest printout has dark background. It must be a regression from bug > 332927. Hmm, yeah, my fault. I guess nobody noticed because the default setting for printing is no background. It was a while ago, but I think I pertly fixed an issue with the background. The cause of it is pretty simple: http://lxr.mozilla.org/seamonkey/source/layout/style/ua.css#196. It shouldn't be too hard to fix, but I'll file another bug so I don't clutter this one. About the original report: I have no idea what's causing infinite spooling. I'm not likely to try and diagnose it either (I generally don't do patches for branch, so I don't have a branch debug build; also, it's hard to get fixes into an incremental release). BTW, what excatly does pages being spooled endlessly mean? Just an inifinite number of completely blank pages coming out of the printer? Or pages with just a header? Or the same page over and over? This is the first bug I've seen of that sort. I can imagine the print code behaving oddly because it doesn't really expect the currently focused frame to be a frameset, but I don't see how it could keep on printing forever unless it somehow kept on printing the same document over and over.
Basically it prints the first two pages as they appear in "Printout with 20060223 trunk" over and over.
Assignee: printing → nobody
QA Contact: printing

Hello! I have tried to reproduce the issue with the latest versions of Firefox 93.0 on windows 10
Marking this as Resolved > Worksforme since the issue no longer is reproducible.

Status: NEW → RESOLVED
Closed: 4 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: