Closed Bug 197441 Opened 21 years ago Closed 21 years ago

Images which appear at page breaks print twice, with 1st image squished

Categories

(Core :: Printing: Output, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 125276

People

(Reporter: arnold, Unassigned)

References

()

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312

If an image appears at the bottom of the page and there isn't room for it, it
gets printed squished horizontally so it fits in the available space. It then
gets printed in normal size at the top of the next page. I've seen this happen
in the Gnome 2.2 user guide as well as the above example. The problem seems
similar to, but not quite the same as bugs 125276 and 146799. I happen to be
printing on 8.5 by 11 paper in portrait mode.

Reproducible: Always

Steps to Reproduce:
1. Navigate to the URL http://mrproject.codefactory.se/user-guide.php
2. Select File->Print
3. Print.

Actual Results:  
The images at bottoms of pages get duplicated with the 1st copy squished.

Expected Results:  
The image should have printed on the next page.
there are several similar bugs
bug 131970, bug 125276, bug 128923, bug 111386, bug 133998
Whiteboard: DUPEME
Attached file Trivial test case
Attaching trivial test case.  This reproduced the problem on...
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030811

I think bug 209452 is a duplicate of this bug.	I think bug 133998 may be just
a special case of this bug.

(Apologies for the large image size. I was going to link to it off the mozilla
homepage then realized it might disappear in the next redesign.)
*** Bug 209452 has been marked as a duplicate of this bug. ***
Summary
-------
The summary
  "Images which appear at page breaks print twice, with 1st image squished"
is wrong. Both printings of the image are squeezed/squished and it may happen in
the middle of a page far away from any page break. A new corrected summary
should be something like:
  "Image is printed twice in the space the image should occupy, both copies are
   squeezed/squished"

Problem description
-------------------
The initial problem description and comments of duplicate bug# 209452 was better
and more complete. A new corrected and expanded problem description should be
something like:

  A picture which doesn't fit fully on a page is printed wrong. Instead of
  cutting it or inserting a page break (probably the best option), Mozilla
  squeezes the picture so that it fits on the first page and creates a second
  squeezed copy of the same picture on the second page.

  Mozilla sometimes prints 2 squeezed copies of a picture in the middle of a
  page far away from any page break even when an unsqueezed copy of the picture
  would fit on the page.

  In both cases the sum of the heights of both squeezed copies of a picture
  seems roughly to be the height the picture should have as a single picture if
  it wasn't squeezed.

OS
--
The OS field is wrong. The symptoms of bug# 197441 and duplicate bug# 209452
have been observed on computers running:
- Microsoft Windows 2000
- Microsoft Windows XP Professional SP1 English
- Linux

Versions
--------
I have experienced the problem with a lot of web pages in Mozilla version 1.2.1
and 1.4.

Reproducible
------------
Always.

Examples
--------
Image at page break:
  http://www.tech-report.com/reviews/2003q3/abit-ic7-g/index.x?pg=2
    Image 1: Biggest on first page, a bit on the second
    Image 3: Biggest on first page, a tiny bit on the second
    Image 5: Approximately two equal

Image in the middle of a page far away from any page break:
  http://www.tomshardware.com/network/20030630/home_network-31.html
    - 2 approximately equal sized parts (55% 45%?)
  http://www.tomshardware.com/network/20030630/home_network-32.html
    - Split approximately 80% 20%
  Both are reproducible every time.

System information
------------------
Mozilla 1.4 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
Microsoft Windows XP SP1 English
Printers:
  HP LaserJet 9000 dn, PCL driver
  HP Color LaserJet 4500, PCL driver

*** This bug has been marked as a duplicate of 125276 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: