KIO Slaves proposal
Kévin Ottens
ervin at ipsquad.net
Mon Nov 15 10:20:11 GMT 2004
Hello,
First of all, sorry for the delay... Sometimes you're forced to make some
things in real life.
Le Samedi 13 Novembre 2004 18:47, David Faure a écrit :
> I think system:/ aims at doing the same (Kevin?)
My aim was a bit different... but I recently modified my plans and this idea
is really near from what I wanted to do.
The main differences I see with the proposed ioslave are:
1) I'd keep "Favourite Locations" (bookmarks?) and "Documentation" out of
it... In particular for Documentation you search it from the application, not
inside the ioslave
2) I'd add "Trash" to this list...
Then the default list would contain "$HOME", "media:/", "remote:/",
"lan:/" (not sure about this one yet... maybe only if "lan:/" is installed,
it'll have to add another entry itself maybe), "trash:/", "fonts:/",
"settings:/".
If we avoid "lan:/" we'll have only 6 entries which is not too many (6 is
generally a max as Kurt pointed earlier). Maybe it would be better to
integrate "lan:/" with "remote:/"?
My only concerns now are the following (almost random food for thought):
1) Should system:/ use a config file to determine which top level entries to
display or simply put a bunch of .desktop files somewhere?
2) In both case, how to handle the trash:/ state? if I use a config file I'll
have to monitor its content by hand... and with a .desktop file maybe using
UDS_LOCAL_PATH and my pending patch will be enough? (David? you know? the
patch I sent this morning... ;-))
3) One of the things I hated with devices:/ was the side effect of using
redirect()... the sidebar was out of sync with the use manipulation all the
time. I don't want to reintroduce such a confusing behavior. As I see it now,
we'll surely avoid this problem if we can have all the entries displayed in
system:/ in the same sidebar. Unfortunately I never coded something in the
sidebar (yet) and I don't know if we can handle this correctly. Input would
be very much appreciated on this...
> The dialog for adding a new host is a good idea.
Indeed it's a very good idea. But to keep system:/ simple it'll require
another ioslave (the "remote:/" used in the mockups sounds good to me).
From what I've seen on kde-core-devel, it seems that we have already something
for the dialog in kdenonbeta... :-)
I already have some code on my local copy... I'd commit it as soon as
possible, but it'll require some refactoring first since I wanted to
experiment something.
Regards.
--
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
More information about the kfm-devel
mailing list