From kde-core-devel Wed Jan 26 17:52:02 2005 From: Waldo Bastian Date: Wed, 26 Jan 2005 17:52:02 +0000 To: kde-core-devel Subject: Konq Bookmarks/Hidstory (Was: D-BUS implementing DCOP - some minor Message-Id: <200501261852.06230.bastian () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=110676187719778 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart7933160.WI2bzH5mnU" --nextPart7933160.WI2bzH5mnU Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 26 January 2005 16:58, Maks Orlovich wrote: > We actually have a bug sort of based on this. KonqHistoryManager does > broadcasts to konqueror-*, but the universal sidebar does a history view > inside a kicker process =3D> it does not receive update notifications. > Hmm, it should probably add a second call to 'kicker' then, shouldn't be > /too/ horrid performance-wise, though quite ugly. .. Better solution: use a signal instead. > (If you only care about D-BUS, skip this bit, it's me rambling about stuff > KDE may or may not need) > Though, I must add that we also have a similar thing done for /bookmarks/, > but it uses DCOP signals -- good, but synchronization is happening > exclusively via the file --- bad. It may be nice to have something common > for those two that helps keep things up-to-date, and handle the highly > tricky case of the owner of the file exiting (though we probably still wa= nt > to sync to the disk to help the starting apps --- though have to be caref= ul > not to have a race between reading a file and new updates -- timestamps, > here we come!); though making this nicely performing and completely race > free would be quite difficult; anyway, I digress. When I add kded-modules I had these kind of simple bookkeeping tasks in min= d.=20 Instead of doing all kinds of difficult locking, just handle it centrally i= n=20 kded. Cheers, Waldo =2D-=20 bastian@kde.org | Free Novell Linux Desktop 9 Evaluation Download bastian@suse.com | http://www.novell.com/products/desktop/eval.html --nextPart7933160.WI2bzH5mnU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQBB99jGN4pvrENfboIRAvA5AJ4w9OjFwDpmK9P+jgk8bi4qO9qcKwCePtpt tnvrtRJ/J96tIpI5HcA5Q3g= =wmpi -----END PGP SIGNATURE----- --nextPart7933160.WI2bzH5mnU--