Closed Bug 348846 Opened 19 years ago Closed 15 years ago

Print Preview and Print: missing pages (page 2 shows only header / footer)

Categories

(Core :: Printing: Output, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: G.Hossinger, Unassigned)

References

()

Details

(Whiteboard: [closeme 2010-06-15])

Attachments

(3 files, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6 When booking flights with RYANAIR, the resulting ITINERARY page is truncated in preview and print: Page 1 is OK, page 2 only shows/prints header and footer, any further page is missing. The same page works with IE (otherwise Ryanair had a major problem ;-) and also with a modified Page Setup (see below) of the Firefox. Thinking back I remember that I could print my ITINERARY pages with earlier versions of FF (and/or Mozilla), the problem only showed up maybe within the last 12-24 month... Before writing the report, I was testing extensively and found that the error is depending on ... - the printable Width (Page-Width minus Left/Right margin) - The selected Scale for printing (Shrink to fit, 90%, 100%, Custom ...) Because I only got this error after a completed flight booking (ryanair.com), I saved the ITINERARY-pages as HTML files. Luckily, this HTML file is enough to reproduce the error (so no external CSS involved). Reproducible: Always Steps to Reproduce: 1. Go to http://oneye.co.uk/bugreport/ (where I have saved three pages) (I will also try to upload the same files as attachment to this bug report) 2. Click on "2002-06-07_SZG_HA1JA..>" (old page from year 2002) When you test with the other pages, be aware that an annoying pop-up shows up which you have to cancel (ESC / Cancel) to continue. 3. Select Print Preview 4. If necessary adjust your Page Settings to reproduce the error ... Page Setup: - Format - Orientation: Portrait (A4 or Legal) Scale: at least 90% or higher, or possible "Shrink to fit page width" - Margins - Top: 12.7mm (0.5") Bottom: 12.7mm (0.5") Left: at least 12.7mm (0.5") or more Right: at least 12.7mm (0.5") or more If you don't got the error yet, do following: - increase the Scale to 100%, 120% or more - increase Left/Right margin to 25.0mm (1") or more On the other hand, you can (again) get a correct Preview as well as Printout by following steps: - change Orientation to Landscape (gives much more total page width) - decrease Scale to 80% or lower (for me 85% worked, but not 90%) - decrease Left/Right margin Actual Results: When the error is reproduced you get a correct first page but the second page only contains header and footer, any further pages are missing. This concers both, Print Preview and the actual Printing of the page. Expected Results: Preview and Print should give all pages with the same information as shown on the web-page (normal Browser mode). The above described bug looks quite similar to bug 317665. So I reproduced the bug 317665 and tried to tweek the Settings to the maximum (Scale = 10% with the Orientation = Landscape) to show more pages as I could succeed with my Ryanair ITINERARY pages. Still, I could not make it show all pages, it always gave the error.
This file ie most convenient because it does not have the annoying pop-up as the other files.
Attached file Test case 2
Attached file Test case 3
Reporter, do you still see this problem with the latest Firefox 2? If not, can you please close this bug as WORKSFORME. Thanks!
Whiteboard: CLOSEME 07/05
Version: unspecified → 1.5.0.x Branch
Same result with my latest FF 2.0.0.4 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 I just opened attachment 1 [details] [diff] [review] "Test case 1 (file from year 2002)" and could reproduce the problem. This problem has to do with the printer/paper width compared to the rendered output width. By manipulating the printable width you can make the error appear or disappear: - changing between Landscape and Portrait orientation - changing the Scale (30% ... 100% ... 150% or "Shrink to Fit") - by changing the printer margins (left & right) The tested page has inline CSS-styles. There could be some kind of "bug" in the CSS of the page, but I cannot verify the CSS (nor the HTML). Thank you. Gerhard
Component: General → Printing
Product: Firefox → Core
QA Contact: general → printing
Whiteboard: CLOSEME 07/05
Version: 1.5.0.x Branch → Trunk
Version: Trunk → 1.8 Branch
Attached file Test Case 4 (obsolete) —
a simple test case that will show the print preview failing on windows xp media center.
I have reproduced this many times in FF2 and FF3. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 I was printing some webpages from FF3 and noticed that it was getting cut off at page 2 or 3 depending on the page I was printing. Looking further into it, the "Print Preview" shows the exact same behavior. Basically it boils down that this fails: <table height="100%"><tr><td> <table><tr><td> ... </td></tr></table> </td></tr></table> but this works: <table><tr><td> <table><tr><td> ... </td></tr></table> </td></tr></table> and this works: <table height="100%"><tr><td> ... </td></tr></table> I have attached "test case 4" to demonstrate a failed case and you can toggle the simple html to see it working or failing.
Comment on attachment 337108 [details] Test Case 4 Testcase 4 works in FF2 and is broken in FF3. Hence, while it's interesting, it's distinct from this bug here (a FF2 bug). I just filed bug 453871 on the issue with testcase 4.
Attachment #337108 - Attachment is obsolete: true
Does this work in version 3.6? If it does work, please close the bug and set resolution to WORKSFORME. If it does not work, please update the bug. (generally speaking, printing is greatly improved in v3.5 and v3.6)
Whiteboard: [closeme 2010-06-15]
now using Ubuntu 10.4 + FF 3.6.3 ... Print Preview shows all pages of the three test cases correctly for Scale... "Shrink to Fit", "100%" and even "125%" (cuts off on right border is expected), also print (last page) works as well. When I reported the bug, I still had WinXP but recently it crashed so I installed Ubuntu (which works like a charm :-) At work I have WinXP + FF 3.6.3 installed so I will do a quick test there. Thanks a lot /Gerhard
Status: UNCONFIRMED → RESOLVED
Closed: 15 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: