Bug 309726 - kmail doesn't show all connected IMAP akonadi resources in email folder list
Summary: kmail doesn't show all connected IMAP akonadi resources in email folder list
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: 4.9.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-08 02:31 UTC by Maciej Mrozowski
Modified: 2012-11-11 18:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing the problem (73.23 KB, image/jpeg)
2012-11-08 02:34 UTC, Maciej Mrozowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Mrozowski 2012-11-08 02:31:37 UTC
Kmail does not show all configured IMAP resources on left panel of main windows (where folders are shown).
This setup is in fact after rather successful migration (from kmail1), but in order to cleanup akonadi db, all resources were removed, sqlite akonadi DB backend file was removed, server restarted, resources re-added manually, all resources connected etc

Reproducible: Always

Steps to Reproduce:
1. Configure at least one IMAP akonadi resource (gmail + dev.gentoo here)
2. Launch KMail.
Actual Results:  
All configured IMAP resources are accessible from both Settings->Configure KMail->Accounts and "Check Mail" drop down toolbar item (OK)
Only one IMAP resource is shown in left panel (NOK)

Expected Results:  
All configured IMAP resources should be visible and accessible from left panel of main KMail window

Those IMAP resources are called in my case: imap.gmail.com, dev.gentoo.org. I tried names without dots, but that didn't solve the issue with 'dev.gentoo.org' resource not being shown at all (screenshot will be attached).

gcc (Gentoo 4.5.4 p1.0, pie-0.4.7) 4.5.4
CFLAGS="-march=native -O2 -pipe -ftree-vectorize -mno-avx" (apart from KDE ones)
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
Qt-4.8.2
Akonadi SQLite backend, Nepomuk enabled
Comment 1 Maciej Mrozowski 2012-11-08 02:34:21 UTC
Created attachment 75089 [details]
Screenshot showing the problem
Comment 2 Laurent Montel 2012-11-08 06:55:18 UTC
After restart kmail you can show it ?
Comment 3 Maciej Mrozowski 2012-11-08 21:18:59 UTC
You mean whether restarting kmail makes problem disappear? No, it's permanent. I don't have third IMAP server to check but removing and re-adding my 2nd (dev.gentoo.org) one - even from KMail 'Accounts' tab - doesn't change anything. It's just not shown.
Or you mean to get some logs from kmail startup? Well I've enabled imap and kmail2 loggin in kdebugdialog but kmail startup shows nothing fancy or wrong there.
I could probably get some frame dump if you told me where to put a breakpoint though...
Comment 4 Laurent Montel 2012-11-09 08:16:07 UTC
If you can't see it in kmail after restart if that your imap is not configured.
Do you see "tree for this imap" in akonadiconsole ?
Comment 5 Maciej Mrozowski 2012-11-10 16:31:19 UTC
I completely forgot about akonadiconsole.
What do you mean by "tree for this imap"? There's no such field or caption or checkbox. If you mean whether I can see this account in Browser tab, yes, it's there but indeed there is nothing to browse there - shows no folders (and I think at least some INBOX is expected?). Well, email delivery works for this account in general (I just used to configure sendmail on this server to forward to the other emai, I don't have access to IMAP server configuration itself) but IMAP itself may look a bit misconfigured, I'll see how it's handled by some other email clients later. Thanks for the tip!
Comment 6 Maciej Mrozowski 2012-11-11 18:57:55 UTC
Indeed, this was the case. Sorry for bothering :)