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 550769 - Evolution: When deleting folders, move these to the trash, instead of deleting irreversibly.
Evolution: When deleting folders, move these to the trash, instead of deletin...
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Mailer
2.22.x (obsolete)
Other All
: Normal enhancement
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2008-09-04 04:38 UTC by Nick Jenkins
Modified: 2021-05-19 11:08 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Nick Jenkins 2008-09-04 04:38:35 UTC
Currently in Evolution 2.22.3.1, if I delete an email, it gets moved to the trash, and I can recover it if I change my mind (provided I have not emptied the trash). However, if I delete a folder called X, I get a prompt saying "Really delete X and all of its subfolders? If you delete the folder, all of its contents and its subfolder contents will be deleted permanently." It would be nice to have folders and their subfolders be moved to the trash instead, in the same way as for individual emails.
Comment 1 Matthew Barnes 2008-09-04 12:18:46 UTC
Trash is a search folder that shows messages marked for deletion.  The messages aren't really "moved" anywhere.  I don't think IMAP supports the concept of marking folders for deletion.  It might be possible to emulate something like this if the contents of the folder being deleted is fully synchronized with the mail server, but even then I'm not sure if it's feasible.
Comment 2 Nick Jenkins 2008-09-10 02:51:01 UTC
I don't know what the IMAP standard allows or does not allow for directory deletion, but from an end-user perspective, deleting a hierarchy of mail folders on an IMAP server in Outlook (definitely) and Kmail (I think, but I'm not certain) looks like it "moves" the folders into the "Deleted Items" or "Trash" folders. What it's actually doing as far as the IMAP server is concerned, I don't know, but to the end-user it looks like it's keeping the folder hierarchy, and that it can be recovered if the user changes their mind.

Would something like this be possible for non-IMAP situations though? E.g. for local MBOX files, in a hierarchy of folders, when deleting a top-level folder, it gives the same dialog box, and the folders do not get moved to the "trash" folder. So would please it be possible for local folder deletion behave in a recoverable way, even if there is some technical restriction/limitation regarding deleting IMAP folders?
Comment 3 André Klapper 2021-05-19 11:08:26 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 enhancement request ticket at
  https://gitlab.gnome.org/GNOME/evolution/-/issues/

Thank you for your understanding and your help.