Evil bug in KDE's mimetype/applnk handling

Waldo Bastian bastian at kde.org
Sat Nov 30 23:09:18 GMT 2002


On Saturday 30 November 2002 17:47, Matthias Welwarsky wrote:
> On Saturday 30 November 2002 14:23, Waldo Bastian wrote:
> > applnk and services share the same namespace so creating a
> > konqueror.desktop applnk if there is already a konqueror.desktop service
> > is a bad idea. Either it should use another name for the applnk file, or
> > it should modify the konqueror.desktop service instead of creating a new
> > one under applnk.
>
> So, what's the meaning of applnk anyway if it's not in a different sycoca
> namespace? Historical I guess.

There are some subtile differences which I keep forgetting, but the idea is 
that applnk contains programs that a user may wish to start him/herself (so 
called applications) and that services contains programs that are their to 
assist other programs.

E.g. KServiceGroup only lists applnk.

> The concept of adressing a service by the
> name of its desktop file looks flawed to me.

You need a unique property to identify a service. I think using the desktop 
name for that is better than for example having to use something like 
"method:000000115f6765745f5f666c6f7753797374656d0000000011417274733a3a466c6f7753797374656d00000000020000000000000000"
(method identifier used by arts)

Cheers,
Waldo
-- 
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com





More information about the kde-core-devel mailing list