Closed Bug 72216 Opened 23 years ago Closed 23 years ago

Xprint does not print any pages with HTML (SELECT) widgets correctly...

Categories

(Core Graveyard :: Printing: Xprint, defect)

Sun
Solaris
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.3

People

(Reporter: roland.mainz, Assigned: roland.mainz)

References

()

Details

Attachments

(2 files)

Xprint module does not render any pages from *.sun.com corretly. Snapshots from
PostScript viewer are also (nearly) unuseable, only the first page let's me
guess that I see the "SELECT A TOPIC" form widget in it's activated state
spanning over the whole 1st page.
Raw guessing: I assume that the widget simply does not know how large it should
be and likes to use width=height=(unsigned)-1; or something like this... ;-((

Should I post the 1st page as *.gif anyway ?

CC:'ing Don Cone in the hope that he may have an idea what's going wrong... ;-(
Going to attach a PostScript file from todays build showing a bugzilla bug (I
have reduced textzoom to 1.0 to get a "better" demonstration of this bug).

The SELECT-form widgets are all showing their full content... blizzard - did you
ever see such a problem ?
Log while printing http://www.sun.de/
-- snip --
####---- :nsXPrintContext::SetupWindow
nsXPrintContext::SetupWindow: x=75 y=75 width=2330 height=3357
####---- :nsXPrintContext::GetPrintResolution
###!!! ASSERTION: nsFontMetricsXP::gDisplay cannot be NULL!!!:
'nsFontMetricsXP::gDisplay!=nsnull', file
../../../../../../../../tmp/moz_2001-03-25-08/mozilla/gfx/src/xprint/nsDeviceContextXP.cpp,
line 256
###!!! Break: at file
../../../../../../../../tmp/moz_2001-03-25-08/mozilla/gfx/src/xprint/nsDeviceContextXP.cpp,
line 256
###!!! ASSERTION: no window in frame tree: 'nsnull != window', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/base/src/nsFrame.cpp,
line 2085
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/base/src/nsFrame.cpp,
line 2085
nsFontXP::LoadFont: loading font
'-itc-avantgarde-book-r-normal--38-*-*-*-p-*-iso8859-1'
nsFontXP::LoadFont: loading font
'-linotype-helvetica-medium-r-normal--200-*-*-*-p-*-iso8859-1'
nsFontXP::LoadFont: loading font
'-linotype-helvetica-bold-r-normal--200-*-*-*-p-*-iso8859-1'
nsFontXP::LoadFont: loading font
'-linotype-helvetica-medium-r-normal--180-*-*-*-p-*-iso8859-1'
nsFontXP::LoadFont: loading font
'-linotype-helvetica-medium-r-normal--80-*-*-*-p-*-iso8859-1'
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
####---- :nsXPrintContext::BeginDocument
nsXPrintContext::BeginDocument: document title: 'Sun Microsystems'
XpuCheckSupported: XpGetOneAttribute(job-attributes-supported) returned
'job-name job-owner notification-profile xp-spooler-command-options '
XpuCheckSupported: probing 'job-name'=='job-name'
XpStartJob(mPDisplay, XPSpool)
XpuWaitForPrintNotify(mPDisplay, XPStartJobNotify)
XpuWaitForPrintNotify: event_base_return=-77592140, error_base_return=1
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/0 while waiting for
-77592140/0
Enabling Quirk StyleSheet
###!!! ASSERTION: no window in frame tree: 'nsnull != window', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/base/src/nsFrame.cpp,
line 2085
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/base/src/nsFrame.cpp,
line 2085
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! ASSERTION: intial reflow not called: 'HadInitialReflow()', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
###!!! Break: at file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/table/src/nsTableFrame.cpp,
line 1810
XpStartPage(mPDisplay, mDrawable)
XpuWaitForPrintNotify(mPDisplay, XPStartPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/2 while waiting for
-77592140/4
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/4 while waiting for
-77592140/4
nsFontXP::LoadFont: loading font
'-itc-avantgarde-book-r-normal--200-*-*-*-p-*-iso8859-1'
XpEndPage(mPDisplay)
XpuWaitForPrintNotify(mPDisplay, XPEndPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 14/0 while waiting for
-77592140/5
XpuWaitForPrintNotify: Killing non-PrintNotify event 14/0 while waiting for
-77592140/5
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/5 while waiting for
-77592140/5
XpStartPage(mPDisplay, mDrawable)
XpuWaitForPrintNotify(mPDisplay, XPStartPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/4 while waiting for
-77592140/4
XpEndPage(mPDisplay)
XpuWaitForPrintNotify(mPDisplay, XPEndPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 14/0 while waiting for
-77592140/5
XpuWaitForPrintNotify: Killing non-PrintNotify event 14/0 while waiting for
-77592140/5
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/5 while waiting for
-77592140/5
XpStartPage(mPDisplay, mDrawable)
XpuWaitForPrintNotify(mPDisplay, XPStartPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/4 while waiting for
-77592140/4
XpEndPage(mPDisplay)
XpuWaitForPrintNotify(mPDisplay, XPEndPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/5 while waiting for
-77592140/5
XpStartPage(mPDisplay, mDrawable)
XpuWaitForPrintNotify(mPDisplay, XPStartPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/4 while waiting for
-77592140/4
XpEndPage(mPDisplay)
XpuWaitForPrintNotify(mPDisplay, XPEndPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/5 while waiting for
-77592140/5
XpStartPage(mPDisplay, mDrawable)
XpuWaitForPrintNotify(mPDisplay, XPStartPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/4 while waiting for
-77592140/4
XpEndPage(mPDisplay)
XpuWaitForPrintNotify(mPDisplay, XPEndPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/5 while waiting for
-77592140/5
XpStartPage(mPDisplay, mDrawable)
XpuWaitForPrintNotify(mPDisplay, XPStartPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/4 while waiting for
-77592140/4
XpEndPage(mPDisplay)
XpuWaitForPrintNotify(mPDisplay, XPEndPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/5 while waiting for
-77592140/5
XpStartPage(mPDisplay, mDrawable)
XpuWaitForPrintNotify(mPDisplay, XPStartPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/4 while waiting for
-77592140/4
XpEndPage(mPDisplay)
XpuWaitForPrintNotify(mPDisplay, XPEndPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/5 while waiting for
-77592140/5
XpStartPage(mPDisplay, mDrawable)
XpuWaitForPrintNotify(mPDisplay, XPStartPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/4 while waiting for
-77592140/4
XpEndPage(mPDisplay)
XpuWaitForPrintNotify(mPDisplay, XPEndPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/5 while waiting for
-77592140/5
XpStartPage(mPDisplay, mDrawable)
XpuWaitForPrintNotify(mPDisplay, XPStartPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/4 while waiting for
-77592140/4
XpEndPage(mPDisplay)
XpuWaitForPrintNotify(mPDisplay, XPEndPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/5 while waiting for
-77592140/5
XpStartPage(mPDisplay, mDrawable)
XpuWaitForPrintNotify(mPDisplay, XPStartPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/4 while waiting for
-77592140/4
XpEndPage(mPDisplay)
XpuWaitForPrintNotify(mPDisplay, XPEndPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/5 while waiting for
-77592140/5
XpStartPage(mPDisplay, mDrawable)
XpuWaitForPrintNotify(mPDisplay, XPStartPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/4 while waiting for
-77592140/4
XpEndPage(mPDisplay)
XpuWaitForPrintNotify(mPDisplay, XPEndPageNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/5 while waiting for
-77592140/5
XpEndJob(mPDisplay)
XpuWaitForPrintNotify(mPDisplay, XPEndJobNotify)
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/3 while waiting for
-77592140/1
XpuWaitForPrintNotify: Killing non-PrintNotify event 91/1 while waiting for
-77592140/1
XpuCheckExtension: XpQueryVersion ':1.0' 1 0
####---- :nsXPrintContext::~nsXPrintContext
-- snip --

The first assert in layout code (###!!! ASSERTION: no window in frame tree:
'nsnull != window', file
../../../../../../../../../tmp/moz_2001-03-25-08/mozilla/layout/html/base/src/nsFrame.cpp,
line 2085) looks like the real problem - it seems that nsFrame::GetWindow()
isn't able to obtain a window... ;-(

----

Fixing subject to be more descriptive what's going wrong...
Summary: Xprint does not print any *.sun.com pages correctly... → Xprint does not print any pages with HTML (SELECT) widgets correctly...
This bug may be caused by the same issue as bug 71669...
Adding refs. to Xprint meta bug 72087...
Blocks: 72087
Assign to Roland
Assignee: katakai → Roland.Mainz
QA Contact: Roland.Mainz → katakai
Accepting bug.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.3
Depends on: 78548
Fix in bug 83242 - but Xprint output needs to be compared to PS module output...
Depends on: 83242
Fixed by patch in bug bug 83242...
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
I'm now verifying the Xprt bugs, however, I'm not sure how to
verify this bug.

Roland,

could you give the exact instruction how to reproduce
this problem?
katakai:
If you can print the example URL
(http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/xos-7&nav=pub-patches)
with Xprint module then everything is OK... :)
Verified on 2002011708.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: