Bug 346035

Summary: Kmail Touch does not correctly handle IMAP synchronized folders containing subfolders
Product: [Applications] KMail Mobile Reporter: Chintalagiri Shashank <shashank>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: grave CC: shashank
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mer   
OS: Linux   
Latest Commit: Version Fixed In:

Description Chintalagiri Shashank 2015-04-09 23:10:05 UTC
When IMAP accounts contain folders which contain both e-mails and subfolders, the e-mails aren't displayed.

This occurs with the binaries in plasma-active-4-armv7hl-google-nexus7_2013-12-27_2.tar.gz , which is the latest available binary for plasma-active available. The device used is the Nexus 7 (2012) (grouper)

The following is a common pattern of e-mail layout (what you see when you look at the subsribed folders list. I'm having this issue with IMAP configured to connect to IMAP servers whose webmails are squirrel mail and smarter mail : 

(Squirrel Mail)
-------------------
<account name>
<account name>/Inbox         : (where the main inbox e-mails are. No emails from here show up)
<account name>/Inbox/Drafts         :  (these e-mails are correctly accessible)
<account name>/Inbox/Sent            :  (these e-mails are correctly accessible)
<account name>/Inbox/Trash           :  (these e-mails are correctly accessible)
<account name>/Inbox/Junk E-Mail :  (these e-mails are correctly accessible)

(Smarter Mail)
-------------------
<account name>                      : (where the main inbox e-mails are. No emails from here show up)
<account name>/Drafts          :  (these e-mails are correctly accessible)
<account name>/Sent             : (these e-mails are correctly accessible)
<account name>/Trash           :  (these e-mails are correctly accessible)
<account name>/Junk E-Mail  :  (these e-mails are correctly accessible)

For comparison, GMail and Google Apps emails have a separate 'Leaf' folder for the Inbox, and the e-mails there show up fine. 

Reproducible: Always

Steps to Reproduce:
1. Add an account to KMail which includes a folder structure as listed previously, with atleast one e-mail in the Inbox.
2. Enable synchronization on all available folders.
3. Sychronize the account.
4. Check that there are no e-mails visible in the Inbox

Actual Results:  
Inbox E-mails aren't visible.

Expected Results:  
Inbox E-mails should be visible and consequently accessible.