[Kde-pim] Re: two itemChanged signals fired by Akonadi::Monitor for a single modifyJob

Kevin Krammer kevin.krammer at gmx.at
Wed Dec 22 18:22:07 GMT 2010


Hi,

On Wednesday, 2010-12-22, Christian Mollekopf wrote:
> Hi,
> 
> I am trying to detect if an Akonadi::Item changed because of the
> Akonadi::ItemModifyJob which I issued, or because another program changed
> the Item.

What is the larger use case at hand, i.e. why do you need to decide who change 
the item.

> Now the problem is, that sometimes I get two itemChanged signals for the
> same modifyJob, for no apparent reason. This happens only occasionally,
> not always.
> 
> Are there any circumstances under which this could happen (I wouldn't know
> that I have any program which works on the same akonadi items), or is there
> a better solution to check who changed the item?

Maybe the resource reacts to the change it that way. What kind of data type 
are we talking about and which resource is handling the collection?

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20101222/e0b51e0e/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list