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 339628 - non-default Draft folders are Draft folders, too
non-default Draft folders are Draft folders, too
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.6.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: Milan Crha
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-04-24 19:18 UTC by Karsten Bräckelmann
Modified: 2009-10-16 09:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed evo patch (5.47 KB, patch)
2009-10-13 15:17 UTC, Milan Crha
committed Details | Review

Description Karsten Bräckelmann 2006-04-24 19:18:06 UTC
So the bahvior of the Drafts folder changed in 2.6 -- now a draft is visually displayed like an unread message in any general mail folder. That is, if there is any draft in the folder, the Drafts folder in the tree is bold, and the count of drafts is shown (as if they where unread).

While I do not particularly like this behavior, I kind of do understand the idea behind this. But that's a different story, anyway. ;)


The bug is, that the logic is broken. The above described new behavior applies to the the default On This Computer / Drafts folder *only*. However, this should be either true for *all* Draft folders, or not at all. Be consistent!

Steps to reproduce:
* Crate a new folder "nondefault drafts".
* Edit your Mail Account settings, change the draft folder
  to use *that* new folder.

Results: The original Drafts folder still acts as if it where a Drafts folder, with respect to the above described behavior. However, the new folder does not, despite the fact that new folder actually is a Drafts folder.


Again, please be consistent. Do *not* special-case special folders, that actually are not special in any way. Respect the users settings, rather than hardcoding stuff like this.

See bug 323145 for a related issue.
Comment 1 David Planella 2006-04-24 19:47:58 UTC
I am confirming this bug and I couldn't agree more.

I also understand the idea behind it (if there was one) as considering a default non-empty Drafts folder as a reminder that there is something to do.

But this is inconsistent with the behaviour of the other folders, and more importantly, as it was said before, with the behaviour of non-default Draft folders. Furthermore, the user cannot change this behaviour either.
Comment 2 Karsten Bräckelmann 2006-07-04 20:34:24 UTC
Not limited to OS = Linux, of course. ;)
Comment 3 Klap-in 2007-10-27 13:11:06 UTC
I have here also some accounts with folders that have a other name then the default Draft-folder. 
I have the same problems with Sent, Trash en Spam folder.
Some of these folders are folders with a Dutch name, only translated. 

I hope that anyone can solve this, that should be great!

Comment 4 Milan Crha 2009-10-13 15:17:21 UTC
Created attachment 145360 [details] [review]
proposed evo patch

for evolution;

Have all drafts folders bold with count of available messages in them.

I also fixed a little issue with a notification of newly added messages on drafts folder, it is not shown there at all now. There can be a little performance impact, as functions for checking a folder type can traverse all configured accounts. (I'm wondering whether it shouldn't traverse only enabled accounts.)
Comment 5 Milan Crha 2009-10-16 09:33:50 UTC
Created commit 93040de in evo master (2.29.1+)