[Kde-pim] have no Trash

Wolfgang Rohdewald wolfgang at rohdewald.de
Thu Feb 28 12:38:41 GMT 2013


Am Donnerstag, 28. Februar 2013, 13:04:52 schrieb Wolfgang Rohdewald:
> I am trying to find out why kmail does not give me a trash folder.
> There is no maildir trash directory either.
> 
> Adding some debug output gives me the following. Does that tell
> you something or should I continue searching?
> 
> all missing folders like trash, templates, draft are said to be
> "EverythingReady", and they all have negative collection IDs.

with the following patch, trash and friends are correctly generated.
maildir folders are there, akonadi-mysql looks correct.

So - the question is really why does isEverythingReady think
those folders are ready and what do the negative ids of those
collections mean?

This is kdepimlibs/akonadi/specialcollectionsrequestjob.cpp:

@@ -345,7 +356,7 @@ void SpecialCollectionsRequestJob::setIconForTypeMap( const QMap<QByteArray, QSt
 
 void SpecialCollectionsRequestJob::doStart()
 {
-  if ( d->isEverythingReady() ) {
+  if (false) { // ( d->isEverythingReady() ) {
     emitResult();
   } else {
     GetLockJob *lockJob = new GetLockJob( this );

-- 
Wolfgang
_______________________________________________
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