Hi, On Tue, Sep 14, 2010 at 12:57 PM, Patrick Ohly <[email protected]>wrote:
> On Tue, 2010-09-14 at 08:19 +0100, Ivan Frade wrote: > > Hi Patrick, > > > > AFAIK it is a bug in qtcontacts-tracker. In tracker you save in > > nco:photo (a DataObject with) the path of the contact photo. The binary > > blob with the picture is *not* in tracker (it is a regular file in the > > filesystem). > > If qtcontacts-tracker is the only entity which is allowed to manipulate > nco:photo items, then we don't need a system-wide policy. For apps, > Tracker data about contacts basically becomes read-only. > Technically nothing prevents an application to bypass qtcontacts-tracker and read/write directly the data in tracker. [Not counting security FW here] In some cases we expect to set some properties in certain combination and qtcontacts-tracker takes care of that consistency. That is one of the benefits using the high-level API against the direct tracker access. Don't be scared about it: those restrictions are not many and will be very well documented once we set the ontology on stone. > The really great solution would be to integrate the contact picture > > with the thumbnailing system (get the photo of the contact is like > > asking a thumbnail of the contact URL); but that is not > > implemented/supported or even designed yet. > > "the thumbnailing system" - this is the first time I hear about this. Do > you have pointers to further information about it? > Maybe the name is too ambitious, but it is the combination of: * the freedesktop spec about how and where to store thumbnails: http://jens.triq.net/thumbnail-spec/ * this spec of an API for a dbus thumbnail service: http://live.gnome.org/ThumbnailerSpec * tumblerd implementing those two specs: http://maemo.gitorious.org/maemo-af/tumbler * libthumbnailer wrapping the thumbnailer dbus API and adding a couple of useful functions: http://maemo.gitorious.org/maemo-af/libthumbnailer tumbler supports in-process and out-of-process plugins. On the second category we have for example maemo-video-thumbnailer: http://maemo.gitorious.com/maemo-af/maemo-video-thumbnailer It needs some renaming and meego integration, i guess. An example on how the thumbnails spec works, here is a half-cooked explanation: http://live.gnome.org/Tracker/Documentation/ThumbnailsHandling And that's it. Regards, Ivan
_______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev
