When is KHTMLView done with rendering?

Jeroen Wijnhout Jeroen.Wijnhout at kdemail.net
Thu Jun 17 07:58:27 BST 2004


On Wednesday 16 June 2004 22:46, Leo Savernik wrote:
> There's a much easier approach: After each reflow (triggered by a timer
> during page loading), check whether the targeted element already has a
> renderer. If it has, we know that it has been laid out and thus the
> coordinates are known => jump to it.

Ok, and what are the magic commands (i.e. how do I perform the checks, which 
timer etc.). Remember, I'm not familiar with the KHTML code, so some pointers 
would be very welcome :-)

> As a usability "enhancement", we could also keep jumping on each reflow as
> long as no user interaction (scrolled viewport), in case the position may
> shift (e. g. because images have been loaded that precede the targeted
> element).

This would be ideal, indeed.

best,
Jeroen

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




More information about the kfm-devel mailing list