Closed Bug 74738 Opened 24 years ago Closed 24 years ago

[FIX] not printing out full directions

Categories

(Core :: Printing: Output, defect)

defect
Not set
major

Tracking

()

VERIFIED FIXED
mozilla0.9.2

People

(Reporter: sujay, Assigned: attinasi)

References

()

Details

(Keywords: dataloss, Whiteboard: rtm stopper: temp patch, critical for 0.9.2)

Attachments

(3 files)

using 4/4 build of netscape 1) launch netscape 2) jump to Netscape home page 3) click on Maps 4) enter FROM and TO fields 5) Click Map It! 6) File | Print go look at the output. you'll notice it prints out only partial driving directions.
Sujay: Is this happening with a recent build?
Target Milestone: --- → mozilla0.9.2
I cannot verify this because of this blocker bug 77733
fixed with the blank page problem.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
still not working...I only get half of the driving directions... tried on 5/9 build on windows.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
this is a table pagination bug.. its breaking the pages up wrong..
Assignee: dcone → karnaze
Status: REOPENED → NEW
I got directions from 12233 Pomerado Rd, San Diego, CA to 4000 El Camino Way, Palo Alto, CA and not all of the directions printed out and the map was started on the 2nd page, wasting a lot of paper. Adding dataloss keyword.
Status: NEW → ASSIGNED
Keywords: dataloss
Reassigning to attinasi and moving to m0.9.2 (although it may not make it until m0.9.3). It appears that blocks always reflow a floater with an unconstrained height during printing, which doesn't allow the floater to return an incomplete status. I tried a simple fix in nsBlockFrame::ReflowFloater, substituting NS_UNCONSTRAINEDSIZE with aState.mAvailSpaceRect.height, but it didn't work.
Assignee: karnaze → attinasi
Severity: normal → major
Status: ASSIGNED → NEW
Is this a regression from my floater changes? If so, I'd be happy to look at it...
Attached file simpler test case
Whiteboard: rtm stopper
The testcase was broken back to NS6.01, although the driving instructions crashed NS6.01 so I couldn;t verify that it was broken back then. It is not a regression from waterson's changes though, it is just plain broken. Accepting and investigating now.
Status: NEW → ASSIGNED
karnaze, I noticed that with the testcase you attached there is a problem even without the floating table (no align=left attr). The second page comes out blank. Of course, with the table floating there is no second page at all.
Marc, it looks like a table with a height (maybe the height needs to be larger than the natural height of the table) doesn't split correctly. I filed bug 85738. I also verified that the original page of driving directions does not have a table with a specified height, so bug 85738 should not block you.
So, the 1st attachment is a valid test case that doesn't hit bug 85738.
Bug 85768 has been opened to on the larger issue: any floated block is not continued on the next page. The table with the driving instructions is a special case of that problem.
Depends on: 85768
I have a temporary fix for this bug. Until the larger problem of floated blocks not continuing is solved, I put in a '@media print' rule to un-float aligned tables. The testcase, the driving instructions, and many other sites using long tables now print fine. I'll attach a patch for comments and/or ridicule.
status whiteboard graffiti: need reviews for temporary patch, please.
Keywords: patch
Whiteboard: rtm stopper → rtm stopper: temp patch, needs r/sr/a
Heh. Okay with me. [r/sr]=waterson
Whiteboard: rtm stopper: temp patch, needs r/sr/a → rtm stopper: temp patch, needs a
a=blizzard on behalf of drivers for 0.9.2. Please make sure that in bug 85768 that you note that you need to remove the hacks to html.css.
Whiteboard: rtm stopper: temp patch, needs a → rtm stopper: temp patch, needs a, critical for 0.9.2
OK, hack noted in depends on bug 85768
Summary: not printing out full directions → [FIX] not printing out full directions
Whiteboard: rtm stopper: temp patch, needs a, critical for 0.9.2 → rtm stopper: temp patch, critical for 0.9.2
/cvsroot/mozilla/layout/html/document/src/html.css,v <-- html.css new revision: 3.130; previous revision: 3.129 done
Status: ASSIGNED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
I'm verifying this bug...everything but the last page gets printed out. should I reopen this bug ?
Hard to say if this one should be reopened. Since removing my patch makes MapQuest complete the printjob (even though the directions are truncated to whatever fits on the first page), it appears that the problem is somehow related to my patch. I'll open a new bug on the new problem. This bug is really about continuing tables past the first page, and that has been hacked, er, fixed as demonstrated by the testcase (and MapQuest to some extent).
Thanks Marc, can you Cc: me on the new bug? I will close this out and mark it VERIFIED-FIXED....
Status: RESOLVED → VERIFIED
Marc opened a new bug for the other issue, bug 87374 marking this one verified-fixed.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: