Open Bug 1827973 Opened 2 years ago Updated 2 years ago

File | Compact Folders grayed when imap maildir folder selected and can otherwise only affect the selected folder; right-click context on imap maildir folder shows no Compact

Categories

(MailNews Core :: Backend, defect)

Thunderbird 114
defect

Tracking

(Not tracked)

People

(Reporter: gds, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Keywords: regression, Whiteboard: [snnot3p])

Attachments

(1 file)

Attached patch compact-expunge-maildir.diff (deleted) — Splinter Review

+++ This bug was initially created as a clone of Bug #1130277: "No obvious way to expunge imap maildir folder" +++

With post-102 dailies and betas there has become again no way to immediately expunge or compact out messages in maildir folders that are marked as deleted (crossed out). With I02 and earlier it was possible to do this with the File | Compact Folders menu item, even though it actually iterated though all the imap folders, compacting all of them and not just the currently selected folder. Now when a imap based maildir folder is selected the "Compact Folders" File menu item is grayed out (and the right-click context doesn't show "Compact") so there is no way to expunge the crossed out messages.

It also appears the File | Compact Folders, when not gray, now only initiates compact and imap expunge on the currently selected folder, not on ALL folders as the name implies and how it actually worked with 102 and earlier. If this is not a regression and that is the intended new usage for File | Compact Folders it should be labeled "File | Compact Current Folder" or "File | Compact Folder" since it now only affects a single currently selected folder.

The attached diff allows the "File | Compact Folders" to be un-grayed and the right-click context item "Compact" on an imap maildir folder to be visible and perform the needed imap expunge and removal of the permanently deleted message files from maildir's "cur" directory. This is basically the same diff as was attached and described at bug 1130277 that this bug was cloned from.
This diff doesn't address the possible regression that "File | Compact Folders" only affects the selected folder.

Version: 31 → Thunderbird 114
Whiteboard: [snnot]

From comment 0:

With I02 and earlier it was possible to do this with the File | Compact Folders menu item, even though it actually iterated though all the imap folders, compacting all of them and not just the currently selected folder.

To be exact I should have said "it actually iterated though all the imap folders of the currently selected account, compacting all of them and not just the currently selected folder".

Whiteboard: [snnot] → [snnot3p]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: