Closed
Bug 77733
Opened 24 years ago
Closed 24 years ago
Unable to print...
Categories
(Core :: Printing: Output, defect, P1)
Core
Printing: Output
Tracking
()
VERIFIED
FIXED
mozilla0.9.1
People
(Reporter: harishd, Assigned: hyatt)
References
()
Details
(Keywords: regression, Whiteboard: ETA mm/dd? 0.9)
Attachments
(2 files)
550 bytes,
patch
|
Details | Diff | Splinter Review | |
2.31 KB,
patch
|
Details | Diff | Splinter Review |
Go to any url and try to print the page.
Result: blank pages!!!!
Harish, I just printed http://www.google.com using 4/25 build
whats going on?
Severity: normal → blocker
Comment 2•24 years ago
|
||
using 4/26 build I get nothing but the header and footer on any page. Win32.
Comment 3•24 years ago
|
||
Comment 4•24 years ago
|
||
I also see this on Linux, only in builds from the last day or two though.
Comment 5•24 years ago
|
||
Same problem with Xprint (X11 print system) on Solaris and Linux... ;-((
Seems this issue is independent from platform and print system.
Changing Platform/OS to All/All.
OS: Windows NT → All
Hardware: PC → All
Comment 6•24 years ago
|
||
When I print http://www.mozilla.org/status/2001-04-26.html with Xprint only the
1st page is empty - the other four are printed normal...
When I print the same URL but set "print range" to "from '3' to '5'" all these
pages are properly printed...
Comment 7•24 years ago
|
||
adding cc
Updated•24 years ago
|
Target Milestone: --- → mozilla0.9.1
Comment 9•24 years ago
|
||
Mac seems to print fine for me with today's build. Not completely XP.
Comment 10•24 years ago
|
||
Is it possible that this issue is caused by patches for bug 75893 ?
Comment 11•24 years ago
|
||
dammit! it worked earlier, I swear. Mac also failing for me now. Sorry for the
spam.
Comment 12•24 years ago
|
||
This should really be in 0.9!!! Suggest Priority = P1 and KW: regression ?!
Comment 13•24 years ago
|
||
Current target milestone: 0.9.1
Can we really accept an ENTIRE milestone (0.9) that cannot print. That would suck :(
Comment 14•24 years ago
|
||
This needs traction, marking for a 0.9 look. Can we please look at this
and see what the problem is?
Whiteboard: 0.9
Comment 15•24 years ago
|
||
*** Bug 77904 has been marked as a duplicate of this bug. ***
Comment 16•24 years ago
|
||
Don, any update on this bug? This is killing the dogfood snacks program!
Comment 17•24 years ago
|
||
I worked on regressions all weekend.. seems this is due to a fix Hyatt checked
in on 4/26/2001 at 12:00 (sometime around that time). I think I have the fix..
but I need to talk to Hyatt and have him fix this.. I think.
Comment 18•24 years ago
|
||
dcone: can you give us more hints (URL !?) where we can find that patch, please
?
Comment 19•24 years ago
|
||
I am in the middle of pulling.. seeing if what I have in mind fixes the
problem, if it does I will post the patch. Basically what happened.. Hyatt put
some code that can turn of drawing until the document loads. Well with
printing.. the document does not load..so the PresShell turns off painting.. and
then you get the blank pages. I have to verify with the latest pull.
Comment 20•24 years ago
|
||
dcone: This would explain why Xprint is able to print all pages except the first
one...
Is it possible to write a small hack which tells PresShell to turn this
behavious _off_ (env var !?) ?
Assignee | ||
Comment 21•24 years ago
|
||
LoadComplete doesn't fire when printing? That would do it. BTW, my code was
not checked in for 0.9, so this should only be a 0.9.1 problem.
If you're printing (and you know that from the presshell), you can just not
suppress painting (it's just a boolean in the presshell). Then things should
paint ok.
Assignee | ||
Comment 22•24 years ago
|
||
Actually, I could just fix this as part of 74695 if you want. Just let me know
how I can tell that a presshell is being used for printing, and I'll make a
patch.
Comment 24•24 years ago
|
||
hyatt: See mozilla/gfx/src/xprint/nsDeviceContextXP.cpp or
mozilla/gfx/src/ps/nsDeviceContextPS.cpp
Method nsDeviceContextPS::SupportsNativeWidgets() /
nsDeviceContextPS::SupportsNativeWidgets() returns PR_FALSE when this device
context renders to a device which "prints"... does this help ?
(IMHO it would be better to introduce a seperate method to test whether this
nsDeviceContext represents a print context - but for now it's the only API we
have...).
hyatt... wanna accept this bug ?
Comment 25•24 years ago
|
||
*** Bug 78299 has been marked as a duplicate of this bug. ***
Comment 26•24 years ago
|
||
*** Bug 77901 has been marked as a duplicate of this bug. ***
Comment 28•24 years ago
|
||
MailNews doesn't print messages either (2001043004 Win2k trunk).
Keywords: mozilla0.9,
regression
Comment 29•24 years ago
|
||
Sorry for the spam - removing mozilla0.9 keyword after reading all comments. =:-(
Keywords: mozilla0.9
Comment 30•24 years ago
|
||
*** Bug 77729 has been marked as a duplicate of this bug. ***
Comment 31•24 years ago
|
||
*** Bug 78491 has been marked as a duplicate of this bug. ***
Comment 32•24 years ago
|
||
hyatt: Where is the boolean in presshell to turn this behaviour _OFF_ ? I can't
find it... ;-((
Comment 33•24 years ago
|
||
Comment 34•24 years ago
|
||
Attached workaround which disables the "suppress painting" feature (thanks to
fabian).
A possible real fix would be to set mPaintingSuppressed to FALSE if the method
nsIDeviceContext::SupportsNativeWidgets() returns FALSE (but see my previuous
comments about that method name... ;-( )...
Assignee | ||
Comment 35•24 years ago
|
||
Comment 36•24 years ago
|
||
Patch works with Xprint. Thanks hyatt !!
Comment 37•24 years ago
|
||
w/ hyatt's patch I can print mail msgs again.
Assignee | ||
Comment 39•24 years ago
|
||
Fixed.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 40•24 years ago
|
||
verified in 5/3 build on Mac and Windows...
still need to try on Linux...
Comment 42•24 years ago
|
||
*** Bug 78851 has been marked as a duplicate of this bug. ***
Comment 43•24 years ago
|
||
*** Bug 79028 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•