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 318803 - Maildir camel provider incorrectly creates .#evolution physical folders for .cmeta files
Maildir camel provider incorrectly creates .#evolution physical folders for ....
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Mailer
2.26.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[maildir]
: 324484 327812 343418 422603 463534 495986 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-10-13 20:55 UTC by Jason Clinton
Modified: 2021-05-19 11:56 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Debug output that proves that this is occuring. (9.54 KB, text/plain)
2005-10-13 20:56 UTC, Jason Clinton
  Details
Attempt to patch, needs review (813 bytes, patch)
2006-06-28 13:56 UTC, Ilkka Tuohela
committed Details | Review

Description Jason Clinton 2005-10-13 20:55:43 UTC
Please describe the problem:
According to 'fejj' on irc.gimp.net, Evolution is not supposed to create
physical representations of the internal '.#evolution' URI on the physical mail
storage system. However in Maildir accounts, this occurs with trash.cmeta and
junk.cmeta files.

The problem is that this .#evolution directory shows up in the user interface
and cannot be hidden.

Steps to reproduce:
1. Delete any /home/username/Maildir/.#evolution directories that exist
2. Delete a file from your Maildir account's Inbox
3. Look at the Trash folder
4. Close evolution
5. open evolution back up and there is now a .#evolution folder in the list of
Maildir folders


Actual results:


Expected results:


Does this happen every time?
Yes.

Other information:
Here is a log from "CAMEL_DEBUG=all evolution >& evo.log" that proves that this
is occuring.
Comment 1 Jason Clinton 2005-10-13 20:56:20 UTC
Created attachment 53433 [details]
Debug output that proves that this is occuring.
Comment 2 André Klapper 2005-10-14 14:50:43 UTC
confirming
Comment 3 Jeffrey Stedfast 2005-10-14 14:55:26 UTC
actually, I might be wrong... the cmeta files might be saved for a reason.

but the .#evolution folder should definitely not show up in the UI
Comment 4 Karsten Bräckelmann 2006-01-20 18:02:26 UTC
*** Bug 324484 has been marked as a duplicate of this bug. ***
Comment 5 Karsten Bräckelmann 2006-01-20 18:02:44 UTC
*** Bug 327812 has been marked as a duplicate of this bug. ***
Comment 6 André Klapper 2006-05-30 19:19:33 UTC
*** Bug 343418 has been marked as a duplicate of this bug. ***
Comment 7 Ilkka Tuohela 2006-06-28 13:56:03 UTC
Created attachment 68122 [details] [review]
Attempt to patch, needs review

I think this trivial patch fixes this problem: in e-d-s source file 'camel-maildir-store.c', function scan_dirs(), we can simply skip the metadata folder name from the while loop, just like we do for ".", "..", "tmp", "cur" and "new" folders.

I tested this on my system and it seems to work, but I'm little bit worried that it actually prevents Trash and Junk folders working correctly, so this patch needs some more testing and thinking.
Comment 8 André Klapper 2007-03-29 17:09:14 UTC
*** Bug 422603 has been marked as a duplicate of this bug. ***
Comment 9 Kazankov Alexander 2007-09-21 09:23:12 UTC
(In reply to comment #7)
> Created an attachment (id=68122) [edit]
> Attempt to patch, needs review
> 
> I think this trivial patch fixes this problem: in e-d-s source file
> 'camel-maildir-store.c', function scan_dirs(), we can simply skip the metadata
> folder name from the while loop, just like we do for ".", "..", "tmp", "cur"
> and "new" folders.
> 
> I tested this on my system and it seems to work, but I'm little bit worried
> that it actually prevents Trash and Junk folders working correctly, so this
> patch needs some more testing and thinking.
> 

It works for me on x86 and under amd64, but only on the evo side if to take advantage of other client, for example imap this folder it is visible as #evolution. What it for a folder? Trash? Why then to not use this name?! Here there is more capacious problem, https://bugs.gentoo.org/show_bug.cgi?id=193302.
Comment 10 Matthew Barnes 2008-05-10 17:41:33 UTC
*** Bug 495986 has been marked as a duplicate of this bug. ***
Comment 11 Milan Crha 2008-05-30 09:36:35 UTC
I will take this patch, but I'll keep bug opened to try to not create such folder, but have it as a file in root folder in some time later. I'll commit to trunk and stable.
Comment 12 Milan Crha 2008-05-30 09:47:02 UTC
Committed to trunk. Committed revision 8878.
Committed to gnome-2-22. Committed revision 8879.
Comment 13 Kazankov Alexander 2008-06-02 17:39:46 UTC
(In reply to comment #11)
> I will take this patch, but I'll keep bug opened to try to not create such
> folder, but have it as a file in root folder in some time later. I'll commit to
> trunk and stable.
> 

With imap account present #evolution folder.
Comment 14 Milan Crha 2008-06-02 17:53:05 UTC
(In reply to comment #13)
> With imap account present #evolution folder.

Yes, this patch just prevent to show the offending folder in evolution when you access it via a maildir protocol.
Comment 15 Akhil Laddha 2008-06-23 08:06:19 UTC
*** Bug 463534 has been marked as a duplicate of this bug. ***
Comment 16 Akhil Laddha 2008-12-31 05:43:59 UTC
see bug 564406 for MH backend 
Comment 17 André Klapper 2021-05-19 11:56:29 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. 
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines
and create a new bug report ticket at
  https://gitlab.gnome.org/GNOME/evolution/-/issues/

Thank you for your understanding and your help.