Closed Bug 297700 Opened 20 years ago Closed 19 years ago

postscript print shifted to right 2inch per page

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED EXPIRED

People

(Reporter: jakobi, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

View e.g. page http://gamblincolors.com/newsletters/newsletter12.html

- Renders fine in browser.
- Html is fine (no spurious <div>, <table>, ...)
- anything print-related shows a bug shifting the contents
  after page 3 to the right out of the visible area.


Reproducible: Always

Steps to Reproduce:
1. view specified page
2. set media size to A4 
   (probably necessary to force the page boundary to
    catch the picture "just right", if I guess correctly
    * please check this *
    setting media size to letter or legal seems to just
    catch other pictures at page break time for me; 
    still triggering the error, though not necessarily
    between page 3/4.)
3. either print this page
   or     print to file and ghostview the result
   or     print-preview

Actual Results:  
page output is shifted to right a constant offset
per page after the bug is being triggered. 

Media setting is A4, with default borders.

Pages 1,2: ok
Page  3:   <2 images side by side>
           top of the left image is shown, cut off
Page  4:   everything shifted 1+ inch to the right,
           top contains both pictures, with the top
           of the left one "blanked"
Page  5:   shifted 2+ inches, though no more pictures
           across page boundary 

Expected Results:  
printed without the text/pictures being shifted-to-right out
of visible page.

optional: it shouldn't have printed partial pictures at all, but
          moved them to the next page (splitting only makes sense,
          if picture size is a significant fraction of page size)

really optional: 
          would be nice, if a mode <try to avoid truncating/shrinking
          but use a new page instead for the whole picture> would be
          available in the options.

possibly 294591 is a dupe of this one 
(but I couldn't locate its example and verify this).


The output for legal was interesting: 

page 1 ends with a paragraph between 2 pictures.
This paragraph and both pictures are "cut" correctly
between the pages, without triggering the shift.
(images part of <p>)

page 2 ends with a cut image without text by its side
(actually: <div><img1><img2></div>), where img1 is
cut as per the bug above, with the remnant on page 3).
And page 3 displays the first shift-to-right. 


another tidbit:

all the text is in cascaded <div> paragraphs,
so divs with <p>embedded text</p> seem to be save,
even if containing pictures.

The trigger I suspect <div><img1><img2></div>,
centers the pictures in both print and 
browser window.

At page break time, it centers ONLY img1 and just
displays the top of it (INSTEAD of centering
both images and displaying their topmost portions).

The next page (and all following, regardless of
pictures) are shifted.

I aligned the next page below, assuming both
images would have been centered, and it looked
ok.
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.