Closed Bug 165888 Opened 22 years ago Closed 6 years ago

graphic is duplicated in print output

Categories

(Core :: Print Preview, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dgb97, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file, 2 obsolete files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; gl-ES; rv:1.1) Gecko/20020826
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; gl-ES; rv:1.1) Gecko/20020826

The print output (even in the preview) duplicates the graphic containing the
charts. It seems not depend on printer driver, because the preview is erroneous
also, and I have tried it with at least 3 different printers.

Reproducible: Always

Steps to Reproduce:
1.Open the mentionated page
2.Print or preview print 
3.Look the results ;)



Expected Results:  
Print what is shown in screen

Mozilla is running in Debian 3.0 (Woody). Packages are all to day. Print system
used is CUPS.
I'm surprised you get anything. On Linux with todays cvs my
browser hangs always... This is my stack (seems to be looping
in NSGetModule())


(gdb) bt
#0  0x411b45bd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#1  0x411c6c9d in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#2  0x411c5b5f in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#3  0x4119215d in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#4  0x41191f35 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#5  0x41191d35 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#6  0x41191bde in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#7  0x41190544 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#8  0x4118fd58 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#9  0x4118e9c1 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#10 0x41196a41 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#11 0x411965aa in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#12 0x4119158f in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#13 0x411901e5 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#14 0x4118fd58 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#15 0x4118e9c1 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#16 0x4119d0dd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#17 0x4125e6c8 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#18 0x4119d0dd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#19 0x41276f01 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#20 0x41277d41 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#21 0x4119d0dd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#22 0x4127ad30 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#23 0x4127b129 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#24 0x4119d0dd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#25 0x412678ee in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#26 0x4126535d in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#27 0x41264f5a in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#28 0x4119d0dd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#29 0x41272ba0 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#30 0x4127491f in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#31 0x41196a41 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#32 0x411965aa in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#33 0x4119158f in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#34 0x411901e5 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#35 0x4118fd58 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#36 0x4118e9c1 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#37 0x4119d0dd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#38 0x4125e6c8 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#39 0x4119d0dd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#40 0x41276f01 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#41 0x41277d41 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#43 0x4127ad30 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#44 0x4127b129 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#45 0x4119d0dd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#46 0x412678ee in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#47 0x4126535d in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#48 0x41264f5a in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#49 0x4119d0dd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#50 0x41272ba0 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#51 0x4127491f in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#52 0x41196a41 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#53 0x411965aa in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#54 0x41194035 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#55 0x41197ee9 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#56 0x41197b85 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#57 0x411c552a in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#58 0x4119215d in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#59 0x41191f35 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#60 0x41191d35 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#61 0x41191bde in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#62 0x41190544 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#63 0x4118fd58 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#64 0x4118e9c1 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#65 0x4119d0dd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#66 0x4125e6c8 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#67 0x4119d0dd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#68 0x41276f01 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#69 0x41277d41 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#70 0x4119d0dd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#71 0x4127ad30 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#72 0x4127b129 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#73 0x4119d0dd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#74 0x412678ee in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#75 0x4126535d in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#76 0x41264f5a in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#77 0x4119d0dd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#78 0x41272ba0 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#79 0x4127491f in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#80 0x41196a41 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#81 0x411965aa in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#82 0x4119158f in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#83 0x411901e5 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#84 0x4118fd58 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#85 0x4118e9c1 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#86 0x41196a41 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#87 0x411965aa in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#88 0x4119158f in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#89 0x411901e5 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#90 0x4118fd58 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#91 0x4118e9c1 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#92 0x4119d0dd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#93 0x411d7992 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#94 0x4119d0dd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#95 0x411d5e42 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#96 0x4119d0dd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#97 0x411eb0af in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#98 0x4119d0dd in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#99 0x411fd20c in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#100 0x411dcc36 in NSGetModule ()
   from /usr/local/mozilla/components/libgklayout.so
#101 0x40a707fa in NSGetModule ()
   from /usr/local/mozilla/components/libgkcontent.so
#102 0x40a6f9c0 in NSGetModule ()
   from /usr/local/mozilla/components/libgkcontent.so
#103 0x40a6f558 in NSGetModule ()
   from /usr/local/mozilla/components/libgkcontent.so
#104 0x40a6d7fa in NSGetModule ()
   from /usr/local/mozilla/components/libgkcontent.so
#105 0x40a73e1a in NSGetModule ()
   from /usr/local/mozilla/components/libgkcontent.so
#106 0x40702fe2 in NSGetModule ()
   from /usr/local/mozilla/components/libembedcomponents.so
#107 0x40192ea8 in XPTC_InvokeByIndex () from /usr/local/mozilla/libxpcom.so
#108 0x4077648a in NSGetModule ()
   from /usr/local/mozilla/components/libxpconnect.so
#109 0x4077c7c8 in NSGetModule ()
   from /usr/local/mozilla/components/libxpconnect.so
#110 0x40090b45 in js_Invoke () from /usr/local/mozilla/libmozjs.so
#111 0x400981f5 in js_Interpret () from /usr/local/mozilla/libmozjs.so
#112 0x40090ba0 in js_Invoke () from /usr/local/mozilla/libmozjs.so
#113 0x40090db8 in js_InternalInvoke () from /usr/local/mozilla/libmozjs.so
#114 0x4007075e in JS_CallFunctionValue () from /usr/local/mozilla/libmozjs.so
#115 0x40f5a475 in NSGetModule ()
   from /usr/local/mozilla/components/libjsdom.so
#116 0x40f6ba98 in NSGetModule ()
   from /usr/local/mozilla/components/libjsdom.so
#117 0x40f6c31c in NSGetModule ()
   from /usr/local/mozilla/components/libjsdom.so
#118 0x4017df64 in nsTimerImpl::Fire () from /usr/local/mozilla/libxpcom.so
#119 0x4017e02d in handleTimerEvent () from /usr/local/mozilla/libxpcom.so
#120 0x401794f8 in PL_HandleEvent () from /usr/local/mozilla/libxpcom.so
#121 0x401793df in PL_ProcessPendingEvents ()
   from /usr/local/mozilla/libxpcom.so
#122 0x4017a600 in nsEventQueueImpl::ProcessPendingEvents ()
   from /usr/local/mozilla/libxpcom.so
#123 0x40c3f864 in NSGetModule ()
   from /usr/local/mozilla/components/libwidget_gtk.so
#124 0x40c3f56b in NSGetModule ()
   from /usr/local/mozilla/components/libwidget_gtk.so
#125 0x404700a9 in g_io_unix_dispatch () from /usr/local/lib/libglib-1.2.so.0
#126 0x40471866 in g_main_dispatch () from /usr/local/lib/libglib-1.2.so.0
#127 0x40471e93 in g_main_iterate () from /usr/local/lib/libglib-1.2.so.0
#128 0x4047204c in g_main_run () from /usr/local/lib/libglib-1.2.so.0
#129 0x4038f7fb in gtk_main () from /usr/local/lib/libgtk-1.2.so.0
#130 0x40c3fd15 in NSGetModule ()
   from /usr/local/mozilla/components/libwidget_gtk.so
#131 0x40c21c37 in NSGetModule ()
   from /usr/local/mozilla/components/libnsappshell.so
#132 0x08051db9 in getCountry ()
#133 0x080526de in main ()
#134 0x405d756d in __libc_start_main () from /lib/libc.so.6
(gdb) 
(gdb) quit

% /usr/local/mozilla/mozilla -version
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020831, build 2002083111
I don't see any of these problems with Linux build from cvs.
Also it seems to work winth Mozilla rel.1.1 on Windows NT.
Can confirm the preview does show the graphic twice on linux cvs 20020831,

However if i try and print to a file (mozilla.ps) the browser hands indefinetly
with the stack shown below. A strace on the process shows constant stream
of brk() system calls, showing mozilla allocating more and more memory for
ever..
Not duplicated on Windows
Assignee: rods → dcone
Nightly 2002110822 on solaris 8/sparc. I only get one copy of the chart.

Davide, can you reproduce this problem with a current copy of mozilla?
I'm sorry,  Kenneth. I have not received emails regarding this bug since
additional comment #4.

I still (as of Mozilla 1.2.1, Debian testing) see duplicated graph, at least in
print preview. I'll try to print it to confirm if print output is duplicated too.

I have tried it again with the following configuration:

-Mozilla 1.3- Mozilla/5.0 (X11; U; Linux i686; gl-ES; rv:1.3) Gecko/20030312
in both:
- Debian Woody (stable), cups 1.1.14, kernel 2.4.20 
and
- Debian Sarge (testing), cups 1.1.15, kernel 2.4.20

I have tried too to print it without galician language installed.

I still get duplicated graph in both print preview and print.
Reporter can you reproduce this bug with a newer build (1.4 final)?
If not, then please close this bug as worksforme. Thanks.
I have tried again with the following configuration:

Mozilla 1.4
Mozilla/5.0 (X11; U; Linux i686; gl-ES; rv:1.4) Gecko/20030624
 
Debian stable, cups Version: 1.1.14-5

I still obtain duplicated graphic even in print preview.
Attached file testcase (obsolete) —
with linux turnk 20030803 print preview, the top half is shown twice (the
bottom half is the top all over again)
marking NEW
Assignee: dcone → printing
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
I just tested this on linux using CVS build 2004021507. The effect still occurs
in print preview, but not when printing.

Can anyone else still produce the effect when printing? If not, the component
should be changed to "print preview".
The bug still occurs when printing with XPrint, but not the PS module.
I filed bug 234475 for XPrint.

moving this to print preview.
Component: Printing → Print Preview
I strongly doubt that this is a PrintPreview-only bug.
Xprint output matches (or better: is much closer to PP than the PS module
output) the output made by PrintPreview so I guess the problem hides within
layout/ and not gfx/ (that the PostScript module behaves differently here may
either a simple sideeffect of the different page size or one of the many image
rendering bugs in gfx/src/ps/).

bz:
Can you check this problem on Windows, please ?
Roland, why would I be able to test anything on Windows?  I'm not....

When this doubling happens, is it all on one page?  Or on two pages (one copy
per page)?
> When this doubling happens, is it all on one page?  Or on two pages (one copy
> per page)?

the doubling is happening on a single page (see testcase)
Attached file Possibly smaller testcase (obsolete) —
Note the way the image is sheared in print preview...
roc, any idea what's up here?
Guess ... the image drawing snafu on GTK that causes images that break across
pages to paint their continuations starting at the top of the image again?
In the end, yes; but why are we getting a continuation at all?
Assignee: printing → nobody
QA Contact: sujay → printing
Attached file Updated testcase
(Linked images in old testcases are 404.)
Attachment #129199 - Attachment is obsolete: true
Attachment #185191 - Attachment is obsolete: true
Attachment #8941573 - Attachment mime type: text/plain → text/html
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: