History-Problem

Waldo Bastian bastian at kde.org
Wed Jul 21 11:00:58 BST 2004


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

On Wednesday 21 July 2004 10:56, Baumann, Thomas wrote:
> Everytime my BrowserExtension emits openURLNotify, the browser saves the
> current state and url of the part like this:

I suspect that openURLNotify is emitted when the page starts to load, but you 
want to save the state when the page is finished loading.

Check out konquerors KonqView::updateHistoryEntry() it gets called from a 
number of places to make sure that it updates at various stages of page 
loading.

Note in particular KonqView::slotOpenURLNotify(), it does:
  updateHistoryEntry(true);
  createHistoryEntry();

So it first saves the history entry for the old page that is about to get 
replaced, and then creates a new entry for the page that is about to get 
loaded.

Cheers,
Waldo
- -- 
bastian at kde.org  |   KDE Community World Summit 2004  |  bastian at suse.com
bastian at kde.org  | 21-29 August, Ludwigsburg, Germany |  bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFA/j7aN4pvrENfboIRAqiCAJ9YEyYfqCMJsX17ivOE6ty6yNGqBwCggCP0
K1zHPHC/UpIRJCK5qRtwP2k=
=/49x
-----END PGP SIGNATURE-----




More information about the kfm-devel mailing list