[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: KHTML printing
From:       Michael Haeckel <Michael () Haeckel ! Net>
Date:       2000-08-31 8:57:50
[Download RAW message or body]

On Thursday, 31. August 2000, Waldo Bastian wrote:
> 
> Ok. I think the following patch fixes this "The right way" (tm). It's on
> top of the previous patch that I have put in CVS.
> 
> Please give it a good test with both kmail and konqueror.

For me it works now very good for all cases, besides the already mentioned 
partly displayed lines at the bottom and on the top.

> Websites with images still give problems with postscript here btw.

I now also found a page with such problems. For one page I got the following 
error when I tried to view it with gv. A direct printing attempt caused 
Konqueror and lpr to freeze.

Error: /undefinedGNU Ghostscript: Unrecoverable error, exit code 1
 in **Qt
Operand stack:
   
(\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\ \
000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00 \
0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\ \
000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00 \
0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\ \
000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00 \
0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\ \
000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00 \
0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000...)
 Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   
%oparray_pop   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--
Dictionary stack:
   --dict:924/1241(G)--   --dict:0/20(G)--   --dict:140/200(L)--
Current allocation mode is local
Current file position is 70005

A different page (http://www.teamone.de/selfhtml/) crashes Konqueror when 
printing:

Here is a backtrace generated by DrKonqi:
0x40d86019 in __wait4 () from /lib/libc.so.6
#0  0x40d86019 in __wait4 () from /lib/libc.so.6
#1  0x40de3718 in __DTOR_END__ () from /lib/libc.so.6
#2  0x404b7407 in KCrash::defaultCrashHandler ()
   from /opt/kde/lib/libkdecore.so.3
#3  0x40d239e8 in __restore ()
    at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127
#4  0x406f7ea0 in ps_dumpPixmapData ()
   from /home/michael/kde2/qt-copy/lib/libqt.so.2
#5  0x406fa88e in QPSPrinter::drawImage ()
   from /home/michael/kde2/qt-copy/lib/libqt.so.2
#6  0x406fa078 in QPSPrinter::cmd ()
   from /home/michael/kde2/qt-copy/lib/libqt.so.2
#7  0x40724709 in QPrinter::cmd ()
   from /home/michael/kde2/qt-copy/lib/libqt.so.2
#8  0x4072c3e4 in QPainter::drawPixmap ()
   from /home/michael/kde2/qt-copy/lib/libqt.so.2
#9  0x4136cb53 in khtml::RenderImage::printReplaced ()
   from /opt/kde/lib/libkhtml.so.3
#10 0x4137287f in khtml::RenderReplaced::print ()
   from /opt/kde/lib/libkhtml.so.3
#11 0x413674ef in khtml::RenderFlow::printObject ()
   from /opt/kde/lib/libkhtml.so.3
#12 0x41371867 in khtml::RenderTableCell::print ()
   from /opt/kde/lib/libkhtml.so.3
#13 0x41370f33 in khtml::RenderTable::print () from /opt/kde/lib/libkhtml.so.3
#14 0x413674ef in khtml::RenderFlow::printObject ()
   from /opt/kde/lib/libkhtml.so.3
#15 0x413673a7 in khtml::RenderFlow::print () from /opt/kde/lib/libkhtml.so.3
#16 0x413674ef in khtml::RenderFlow::printObject ()
   from /opt/kde/lib/libkhtml.so.3
#17 0x4138568a in khtml::RenderHtml::print () from /opt/kde/lib/libkhtml.so.3
#18 0x4137b0a5 in khtml::RenderRoot::printObject ()
   from /opt/kde/lib/libkhtml.so.3
#19 0x4137afec in khtml::RenderRoot::print () from /opt/kde/lib/libkhtml.so.3
#20 0x412b5ec6 in KHTMLView::print () from /opt/kde/lib/libkhtml.so.3
#21 0x41305746 in KHTMLPartBrowserExtension::print ()
   from /opt/kde/lib/libkhtml.so.3
#22 0x407ab70d in QObject::activate_signal ()
   from /home/michael/kde2/qt-copy/lib/libqt.so.2
#23 0x4035c781 in KAction::activated () from /opt/kde/lib/libkdeui.so.3
#24 0x4034fe76 in KAction::slotActivated () from /opt/kde/lib/libkdeui.so.3
#25 0x407ab70d in QObject::activate_signal ()
   from /home/michael/kde2/qt-copy/lib/libqt.so.2
#26 0x408f5ab9 in QButton::clicked ()
   from /home/michael/kde2/qt-copy/lib/libqt.so.2
#27 0x4082adb8 in QButton::mouseReleaseEvent ()
   from /home/michael/kde2/qt-copy/lib/libqt.so.2
#28 0x4080f44e in QWidget::event ()
   from /home/michael/kde2/qt-copy/lib/libqt.so.2
#29 0x4073c759 in QApplication::notify ()
   from /home/michael/kde2/qt-copy/lib/libqt.so.2
#30 0x407078bc in QETWidget::translateMouseEvent ()
   from /home/michael/kde2/qt-copy/lib/libqt.so.2
#31 0x40704e21 in QApplication::x11ProcessEvent ()
   from /home/michael/kde2/qt-copy/lib/libqt.so.2
#32 0x40704458 in QApplication::processNextEvent ()
   from /home/michael/kde2/qt-copy/lib/libqt.so.2
#33 0x4073e37f in QApplication::enter_loop ()
   from /home/michael/kde2/qt-copy/lib/libqt.so.2
#34 0x407043da in QApplication::exec ()
   from /home/michael/kde2/qt-copy/lib/libqt.so.2
#35 0x40fe2d0b in main () from /opt/kde/lib/konqueror.so
#36 0x804a97b in launch ()
#37 0x804b604 in handle_launcher_request ()
#38 0x804b9cb in handle_requests ()
#39 0x804c94f in main ()
#40 0x40d1da8e in __libc_start_main () at ../sysdeps/generic/libc-start.c:93

But both seem to bee QT bugs.

Regards,
Michael Häckel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic