From comment 0: > This diff doesn't address the possible regression that "File | Compact Folders" only affects the selected folder. This issue was recently pointed out in bug 1853584. The way it works for mbox (and maildir only with my patch) is that if you are selected on a top level imap account name, ```File | Compact Folders``` or the context item ```Compact``` will compact/expunge ALL the folders of the account. If you are selected on an imap folder, ```File | Compact Folders``` or the context item ```Compact``` will only affect that selected folder. So maybe that's the intended behavior and not a bug, not sure. Maybe the menu item should just be ```File | Compact``` since it only affect "Folders" (plural) when you are selected on the account name.
Bug 1827973 Comment 4 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
From comment 0: > This diff doesn't address the possible regression that "File | Compact Folders" only affects the selected folder. This issue was recently pointed out in bug 1853584. The way it works for mbox (and maildir ~~only with my patch~~) is that if you are selected on a top level imap account name, ```File | Compact Folders``` or the context item ```Compact``` will compact/expunge ALL the folders of the account. If you are selected on an imap folder, ```File | Compact Folders``` (non-gray when maildir only with my patch) or the context item ```Compact``` (visible for maildir only with my patch) will only affect that selected folder. So maybe that's the intended behavior and not a bug, not sure. Maybe the menu item should just be ```File | Compact``` since it only affect "Folders" (plural) when you are selected on the account name.