Bug 1332754 - Recognize special folders for a global mail view also based on flags
Summary: Recognize special folders for a global mail view also based on flags
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution
Version: 23
Hardware: i686
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Milan Crha
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-04 01:58 UTC by Bojan Smojver
Modified: 2016-05-04 16:32 UTC (History)
4 users (show)

Fixed In Version: evolution-3.20.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-04 15:37:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Bojan Smojver 2016-05-04 01:58:21 UTC
Description of problem:
On another system, where I have imap+ configured, if I select "Apply the same view settings to all folders", Evo still knows that Sent folder should have To instead of From column for this folder. However, when I use mapi backend, is presents Sent Items with From column. This makes little sense - the From column is always me.

Version-Release number of selected component (if applicable):
evolution-mapi-3.18.4-1.fc23

How reproducible:
Always.

Steps to Reproduce:
1. Configure same view for all folders.
2. Check inbox vs. sent.
3. They behave logically (i.e. different) with imap+, but not with mapi.

Actual results:
Shows From column.

Expected results:
Should show To column.

Additional info:

Comment 1 Milan Crha 2016-05-04 07:14:25 UTC
Thanks for a bug report. Evolution recognizes the special folder only if it is truly special, like when the account has it set as a Sent folder in the Properties->Defaults tab. Otherwise the folder is considered as a regular folder.

Does your MAPI account has it set as the Sent folder too?

By the way, I thought the evolution-mapi is mostly useless these days, with compare of the lightweight dependencies of the evolution-ews (even the EWS is for Exchange servers 2007+).

Comment 2 Bojan Smojver 2016-05-04 09:10:17 UTC
(In reply to Milan Crha from comment #1)
> Thanks for a bug report. Evolution recognizes the special folder only if it
> is truly special, like when the account has it set as a Sent folder in the
> Properties->Defaults tab. Otherwise the folder is considered as a regular
> folder.
> 
> Does your MAPI account has it set as the Sent folder too?

The option is greyed out and set to Computer/Sent. Given your above explanation, that's probably the reason why this bug is occurring.

> By the way, I thought the evolution-mapi is mostly useless these days, with
> compare of the lightweight dependencies of the evolution-ews (even the EWS
> is for Exchange servers 2007+).

No, no - not useless at all! Where I work, EWS is blocked (quite recently) and MAPI is the only way for me to pick mail up. In fact, it is faster and more reliable than EWS. So, if you were planning on taking it out, please don't. :-)

Comment 3 Milan Crha 2016-05-04 14:35:51 UTC
(In reply to Bojan Smojver from comment #2)
> The option is greyed out and set to Computer/Sent. Given your above
> explanation, that's probably the reason why this bug is occurring.

Aha, I didn't realize it is disabled. Tehn it's an error on the evolution side, because the Sent Items is properly "highlighted" as a special folder (it has a special icon).

> No, no - not useless at all! Where I work, EWS is blocked (quite recently)
> and MAPI is the only way for me to pick mail up. In fact, it is faster and
> more reliable than EWS. So, if you were planning on taking it out, please
> don't. :-)

Interesting. The evolution-mapi is in a maintenance mode only (for several months now), there are done only necessary changes. There is no plan to fully deprecate it, as it's the only connector which can connect to pre-Exchange 2007 servers. My personal experience is that it's slower than evolution-ews, but maybe the things are more about my route to the server (and server itself), than anything else. If you'd like to share your bad experience with the evolution-ews, then I'll be happy to hear about that.

Comment 4 Milan Crha 2016-05-04 15:37:46 UTC
I fixed the folder recognition for the next releases:

Created commit 033dcf8 in evo master (3.21.2+) [1]
Created commit 7323e89 in evo gnome-3-20 (3.20.2+)

[1] https://git.gnome.org/browse/evolution/commit/?id=033dcf8

Comment 5 Milan Crha 2016-05-04 16:32:17 UTC
A change from [2] extends the previous fix a bit.

[2] https://bugzilla.gnome.org/show_bug.cgi?id=435219


Note You need to log in before you can comment on or make changes to this bug.