More about "intents": Several improvements to desktop files and caches
Jerome Leclanche
adys.wh at gmail.com
Mon Jan 6 07:37:33 PST 2014
On Mon, Jan 6, 2014 at 3:29 PM, Kevin Krammer <krammer at kde.org> wrote:
> On Monday, 2014-01-06, 01:25:58, Jerome Leclanche wrote:
>
>> There's a lot TBD still. For example: Do we require apps implementing
>> an intent to support every method of the intent? I don't think it's
>> necessary due to dbus introspection letting us figure out whether a
>> method is supported.
>
> If an intent has an associated D-Bus interface, then IMHO all methods should
> be available.
>
> E.g. if I am a contact editor and have an optional feature to take a contact
> picture from the camera, then I would check the intents cache for
> xdg.intents.Camera.
> If I find one (or the preferred one if there are more than on) I expect a call
> to xdg.intents.Camera.TakePicture to be available.
>
> I don't want to have to start each camera provider to do runtime
> introspection.
>
> Cheers,
> Kevin
> --
> Kevin Krammer, KDE developer, xdg-utils developer
> KDE user support, developer mentoring
>
> _______________________________________________
> xdg mailing list
> xdg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xdg
>
You run the risk anyway though, as a new method might be officially
added later on to the intent (especially with non-freedesktop
namespaced intents).
J. Leclanche
More information about the xdg
mailing list