[PATCH] Bugfixes for profiles and preloading.
Emanuele Tamponi
emanuele at valinor.it
Thu Jan 5 17:38:52 GMT 2006
On Wednesday 04 January 2006 17:21, Lubos Lunak wrote:
> Preloading, if my memory serves me well, works like this: When a Konqueror
> instance is about to quit, or when its last window is about to be closed,
> it's first checked if there should be an instance kept preloaded for being
> used again later. If yes, this is prevented and the instance is kept for
> reusing later. This means there's a prepared instance running, which saves
> startup costs, and there's often a window prepared as well, which saves the
> cost of setting it up. There's a kded module which takes care of such
> preloaded instances and tells exiting instances whether they should really
> quit or stay around.
Excuse me if the page is not reachable, I'm upgrading my server and still have
some problems...
Maybe what you said is fine, but Konqueror preloads its instances without
checking if their xmlfile is the same. So, if I have a preloaded instance of
konqueror with "konqueror.rc" xmlfile, it will be loaded also if the
requested konqueror wants a "konq-simplebrowser.rc" xmlfile. And that's just
a working example.
Now, maybe the patch isn't correct, but it prevents this from happening. It
can be used at least as a workaround (I'm using it since I posted it here and
never got problems). But I thinks kded doesn't check if the xmlfile is the
same...
For the rest of the patch, wait to read my explanation... and excuse me again
for the problems.
I'm also rewriting a part of the patch after the David Faure's answer.
Thanks for your attention :) !
Emanuele
More information about the kfm-devel
mailing list