Adding applications to Contour
Marco Martin
notmart at gmail.com
Wed Aug 24 12:35:27 UTC 2011
Hi all,
one of the features that are still missing from the Contour ui for an 1.0
release, is the ability to easily add applications from the same add resource
screen that is used for other stuff.
the problem is that searching trough applications works in a quite different
way:
the add resource dialog uses the metadata engine, so only queries trough
nepomuk, while applications are searched trough kservicetypetrader queries.
when an application is added to an activty tough, a resource of type
Application is created and inserted in the nepomuk database.
since the activity screen is a qml only containment, it can't use stuff that
is not a public import, so is not directly possible to offer search into
applications there. So there are different possibilities:
* public imports of the applications/krunner models used in the mobile
launcher: would make possible make the launcher as well a qml only applet, but
i'm not too happy of making that almost public api
* applications dataengine: there is already one existing, doesn't really
support any kind of filtering tough
* a daemon (or modifying strigi to do so) that indexes all installed desktop
files and creates an Application resource for everything, seems a bit heavy,
(and doubt it could be done for october)
i would go for either the first or second option for now..
opinions? comments or better ideas?
Cheers,
Marco Martin
More information about the Active
mailing list