After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 655962 - Changed unread state forgotten on message move
Changed unread state forgotten on message move
Status: RESOLVED FIXED
Product: evolution-mapi
Classification: Applications
Component: Mail
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: evolution-mapi-maint
evolution-mapi-maint
Depends on:
Blocks:
 
 
Reported: 2011-08-04 12:12 UTC by Milan Crha
Modified: 2011-08-04 14:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ema patch (753 bytes, patch)
2011-08-04 14:34 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2011-08-04 12:12:50 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=723200

Description of problem:

When read emails are moved to a different email folder, they change their
status back to unread. 

Evolution is configured to use MAPI account.

Version-Release number of selected component (if applicable):

$ rpm -qa 'evolution*'
evolution-mapi-3.0.2-2.fc15.i686
evolution-help-3.0.2-3.fc15.noarch
evolution-sharp-0.21.1-12.fc15.i686
evolution-NetworkManager-3.0.2-3.fc15.i686
evolution-exchange-3.0.2-1.fc15.i686
evolution-3.0.2-3.fc15.i686
evolution-data-server-3.0.2-1.fc15.i686
$ rpm -qa '*exchange*'
evolution-exchange-3.0.2-1.fc15.i686

How reproducible:

Happens everytime i move mails between inbox and any folder. Havne't been able
to test it on another machine.

Steps to Reproduce:
1. Configure a mapi account
2. Read a mail in the inbox
3. move it to another folder. Mail changes to unread status

Actual results:
Read emails change to unread state on moving between folders.

Expected results:
email state shouldn't change.
Comment 1 Milan Crha 2011-08-04 14:34:28 UTC
Created attachment 193258 [details] [review]
ema patch

for evolution-mapi;

This makes sure that changed message flags are synced to server before the message movement is begun. It's, for example, the same as IMAP provider does it.
Comment 2 Milan Crha 2011-08-04 14:37:16 UTC
Created commit 9752d4b in ema master (3.1.5+)
Created commit 70b02fa in ema gnome-3-0 (3.0.3+)