https://bugs.kde.org/show_bug.cgi?id=357179

--- Comment #4 from Sandro Knauß <skna...@kde.org> ---
I had now a gdb session with Daniel and we could found the base problem, that
gentBasePrivate::itemMoved is not triggerd in that specific case. The reason,
why it is not triggerd is that the if in ResourceBasePrivate::itemMoved l294:

  void itemMoved(const Akonadi::Item &item, const Akonadi::Collection &source,
const Akonadi::Collection &destination) Q_DECL_OVERRIDE {
        if (item.remoteId().isEmpty() || destination.remoteId().isEmpty() ||
destination == source)
        {
            changeProcessed();
            return;
        }
        AgentBasePrivate::itemMoved(item, source, destination);
  }
in our case:
item.remoteId().isEmpty() = false
destination.remoteId().isEmpty() = true
(destination == source) = false

so we exit the job directy and do not forward the itemMoved to AgentBase so the
resource itself can't move the files at all.

As daniel discribe above, the dest collection do not have a local folder
representation and is only a "virtual" folder in akonadi. And because the
(maildir) resource don't get the notification at all, so it can't fix the
problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to