When is KHTMLView done with rendering?

Jeroen Wijnhout Jeroen.Wijnhout at kdemail.net
Wed Jun 16 16:26:05 BST 2004


On Wednesday 16 June 2004 15:36, Leo Savernik wrote:
> Am Mittwoch 16 Juni 2004 14:50 schrieb Jeroen Wijnhout:
> [...]
>
> > I would like to tackle:
> > [Bug 57360] URLs with anchor - sometimes the position is not moved to the
> > anchor
> >
> > AFAICS the problem lies in KHTMLPart::checkCompleted. In this method a
>
> [...]
>
> I think we should do like Netscape Navigator and jump to the anchor as soon

This is the current behavior as far as I know, and it doesn't work (see 
below).

> as it is loaded, and not wait for the completed signal (which may never

How can you jump to the anchor if you don't know where it is located 
physically (that is, you have to know the coordinates of the anchor)? You 
only know these coordinates when rendering is finished.

> arrive, or arrive very late, because of slow-loading imgs or other
> annoyances).

The rendering itself can be completed even if the loading of images is not 
done yet, right? Perhaps I should have said layouting instead of rendering? 
Anyway, as soon as the coordinates of the anchor are known, a signal should 
be sent to KHTMLPart. So the question is: Is there such a signal, and if not, 
how/where should I add such a signal.

best,
Jeroen
-- 
Kile - an Integrated LaTeX Environment for KDE
http://kile.sourceforge.net




More information about the kfm-devel mailing list