Reload doesn't keep scroll position

Leo Savernik l.savernik at aon.at
Sat Jun 19 09:45:29 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Samstag 19 Juni 2004 10:20 schrieb Leo Savernik:
> Am Samstag 19 Juni 2004 01:19 schrieb David Faure:
> [...]
>
> > See Dirk's answer on kde-cvs though... he says the layout might not be
> > finished yet in that method?
>
[...]

Ok, but that's only a problem for gotoAnchor, because it might jump to the 
anchor, then the layout changes afterwards (e. g. an image is loaded), then 
the top of the viewport would not point to the anchor any more. (That's why I 
made the suggestion to keep jumping until the document is complete.)

But for reloading, the issue doesn't apply. As I know the exact coordinates 
beforehand, I only have to wait until the content canvas a big enough height 
to allow jumping to the remembered position. (Even if the element shown 
before reload isn't yet shown after this layout, it will finally be shown 
when the document completes.)

So if nobody contradicts, I'll commit.

mfg
	Leo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQFA0/0pj5jssenUYTsRApUHAJ9D7ov8KgHvvTaoxGMwOjEZNmnmDwCeO8GU
r47y0FKVeTFNw9f6w/vF1aw=
=D5SI
-----END PGP SIGNATURE-----




More information about the kfm-devel mailing list