Bug 252449 - Maildir resource does not import message flags on initial full sync
Summary: Maildir resource does not import message flags on initial full sync
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Maildir Resource (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 267247 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-26 18:59 UTC by Andrey Borzenkov
Modified: 2011-09-27 06:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Borzenkov 2010-09-26 18:59:51 UTC
Version:           unspecified (using Devel) 
OS:                Linux

Akonadi 1.4.52/KDE 4.5.68 in Mandriva cooker.

After adding maildir resource pointing at existing collection all messages appear as UNREAD in KMAil. Browsing collection with akonadiconsole confirms that no flag is ever set. Using another client (e.g. mutt) to check the same message folder correctly displays messages as READ.

Reproducible: Always

Steps to Reproduce:
1. Create maildir folder using any compatible program (kmail1, mutt or any other)
2. Add maildir resource to akonadi pointing to above folder

Actual Results:  
All messages appear as UNREAD

Expected Results:  
Messages which were marked as Seen in maildir (S flag) should appear as READ in KMail/have \Seen flag set on item.
Comment 1 András Manţia 2011-08-02 10:36:13 UTC
*** Bug 267247 has been marked as a duplicate of this bug. ***
Comment 2 András Manţia 2011-09-16 08:17:07 UTC
Git commit 994acace9204750714ee5ce9ab561d67c646d841 by Andras Mantia.
Committed on 16/09/2011 at 10:15.
Pushed by amantia into branch 'master'.

Make the maildir resource more standard compliant:
- regarding file names (233379)
- moving out files from new to cur (233378)
- storing flags
- reading flags from filenames (252449)

BUG: 233380
BUG: 233378
BUG: 252449

M  +1    -1    resources/maildir/CMakeLists.txt
M  +1    -1    resources/maildir/libmaildir/CMakeLists.txt
M  +78   -3    resources/maildir/libmaildir/maildir.cpp
M  +12   -0    resources/maildir/libmaildir/maildir.h
M  +20   -2    resources/maildir/maildirresource.cpp
M  +6    -0    resources/maildir/retrieveitemsjob.cpp

http://commits.kde.org/kdepim-runtime/994acace9204750714ee5ce9ab561d67c646d841
Comment 3 András Manţia 2011-09-27 06:24:45 UTC
Git commit dd2619f53039f8d6a3b0dee0f37b6c89e5f2da44 by Andras Mantia.
Committed on 16/09/2011 at 10:15.
Pushed by amantia into branch 'KDE/4.7'.

Make the maildir resource more standard compliant:
- regarding file names (233379)
- moving out files from new to cur (233378)
- storing flags
- reading flags from filenames (252449)

BUG: 233380
BUG: 233378
BUG: 252449

M  +1    -1    resources/maildir/CMakeLists.txt
M  +1    -1    resources/maildir/libmaildir/CMakeLists.txt
M  +78   -3    resources/maildir/libmaildir/maildir.cpp
M  +12   -0    resources/maildir/libmaildir/maildir.h
M  +20   -2    resources/maildir/maildirresource.cpp
M  +6    -0    resources/maildir/retrieveitemsjob.cpp

http://commits.kde.org/kdepim-runtime/dd2619f53039f8d6a3b0dee0f37b6c89e5f2da44