Strange delay in current khtml

Michael Brade brade at kde.org
Wed Jan 8 20:49:17 GMT 2003


Hi,

just compiled the new khtml (Safari ;) and noticed a delay after this debug 
output:

konqueror: KonqMainWindow::setCaption(QWidget Class)
khtml (css): CSSStyleDeclarationImpl::setProperty invalid property: 
[vertical-align] value: [center]
khtml (css): CSSStyleDeclarationImpl::setProperty invalid property: 
[vertical-align] value: [center]

<a second of nothing, CPU very low>

konqueror: KonqView::slotCompleted hasPending=false
khtml (part): saveState!
khtml (part): KHTMLPart::saveState saving URL 
file:/usr/src/KDE/qt-snapshot/doc/html/qwidget.html
libkonq: ## addToHistory: 
file:/usr/src/KDE/qt-snapshot/doc/html/qwidget.htmlTyped URL: , Title: 
QWidget Class
konqueror: [void KonqView::setLoading(bool, bool)] loading=false 
hasPending=false
khtml (part): DONE: 1184

Happens when going to $QTDIR/doc/html/classes.html, then clicking on QWidget, 
then "Back", then "Forward" -> noticable delay. I created three backtraces, 
but they all look _exactly_ the same:

(gdb) bt
#0  0x410329be in select () from /lib/libc.so.6
#1  0x400180e8 in logstamp () from /usr/lib/libtsocks.so
#2  0x408ee38a in QEventLoop::processEvents(unsigned) () from 
/opt/qt-3/lib/libqt-mt.so.3
#3  0x4093fdf3 in QEventLoop::enterLoop() () from /opt/qt-3/lib/libqt-mt.so.3
#4  0x4093fcb0 in QEventLoop::exec() () from /opt/qt-3/lib/libqt-mt.so.3
#5  0x4092ea2c in QApplication::exec() () from /opt/qt-3/lib/libqt-mt.so.3
#6  0x4122f6b6 in main (argc=2, argv=0x805b478) at 
/usr/src/KDE/kde-cvs/kdebase/konqueror/konq_main.cc:155
#7  0x0804caf3 in launch (argc=2, _name=0x8060604 "konqueror", args=0x8060617 
"", cwd=0x0, envc=0,
    envs=0xbffff450 "8¦\005\b", reset_env=false, tty=0x0, avoid_loops=false,
    startup_id_str=0x806061f "newton;1042058656;545999;1574") at 
/usr/src/KDE/kde-cvs/kdelibs/kinit/kinit.cpp:561
#8  0x0804d68f in handle_launcher_request (sock=9) at 
/usr/src/KDE/kde-cvs/kdelibs/kinit/kinit.cpp:1012
#9  0x0804db32 in handle_requests (waitForPid=0) at 
/usr/src/KDE/kde-cvs/kdelibs/kinit/kinit.cpp:1180
#10 0x0804e70d in main (argc=1, argv=0x0, envp=0xbffff8fc) at 
/usr/src/KDE/kde-cvs/kdelibs/kinit/kinit.cpp:1523

Comments?

Ciao,
-- 
Michael Brade;                 KDE Developer, Student of Computer Science
  |-mail: echo brade !#|tr -d "c oh"|s\e\d 's/e/\@/2;s/$/.org/;s/bra/k/2'
  °--web: http://www.kde.org/people/michaelb.html

KDE 3: The Next Generation in Desktop Experience
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20030108/456a4522/attachment.sig>


More information about the kfm-devel mailing list