dcop refreshURL?
Leo Savernik
l.savernik at aon.at
Sun Jun 27 12:07:35 BST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Sonntag 27 Juni 2004 00:22 schrieb Mikolaj Machowski:
[...]
> > My patch doesn't change the way one can operate khtml by dcop.
>
> dcop wasn't changed. But improved behaviour of refresh makes use of
> openURL obsolete. Try this: open long page, scroll down and click
> refresh (F5, C-R) and make dcop konqueror-xxxx konqueror-mainwindow#1
> openURL <repeatURL>
Ok, I tried this:
Open the HTML 4.01 Specification in Konqueror.
Scroll well beyond the middle of the document.
Ctrl+R.
Position is placed exactly where is was left before. Works.
Then, I opened kdcop, and issued konqueror/konqueror-mainwindow#1/openURL(<url
of html 4.01 spec>)
The page is loaded, the position placed at the beginning of the document.
Works.
So everything works.
>
> Now I'd like to refresh pages through dcop, not open them repeatedly.
>
Hmm, is it possible that you *want* openURL to refresh the page instead of
opening?
[...]
> au FocusLost * wa | call system("dcop `dcopfind -a 'konqueror*'`
> konqueror-mainwindow\\#1 openURL ".expand("%:p"))
>
> But this opens URL, not refresh page.
That's clear, openURL should not refresh the page.
mfg
Leo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQFA3qp/j5jssenUYTsRAhfIAJ41XOhzAck9amBVOQl7rbK7F4w4PACeKCRN
ByZ7lvlDTaMAMyqVeR7JQY4=
=hQuO
-----END PGP SIGNATURE-----
More information about the kfm-devel
mailing list