Need shortcut for "Compact Folder"

NEW
Unassigned

Status

Thunderbird
Mail Window Front End
--
enhancement
9 years ago
2 years ago

People

(Reporter: hub, Unassigned)

Tracking

(Depends on: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-0.1.2 Firefox/3.0.6
Build Identifier: 

Compact folder need a shortcut. See Seamonkey bug 86161

Reproducible: Always
(Reporter)

Updated

9 years ago
Version: unspecified → Trunk
(Reporter)

Comment 1

9 years ago
Created attachment 362196 [details] [diff] [review]
patch

Proposed to patch to add the shortcut to Thunderbird 3

Against HEAD.
(Reporter)

Updated

9 years ago
Attachment #362196 - Flags: review?(clarkbw)
Comment on attachment 362196 [details] [diff] [review]
patch

Hey hub, thanks for the patch!

We can't take this key code though since it's going to be a conflict.  The new search coming out of bug 474701 is planned to use the accel/ctrl-k for accessing the search entry.

Also we have been pushing, though not really successfully in this release, to fix bug 286888 and make compact folders automatic.
Attachment #362196 - Flags: review?(clarkbw) → ui-review-
(Reporter)

Comment 3

9 years ago
I don't want it automatic. I want it to be done *when I want*, without having to use the pointing device. I don't use the default setting to deal with deleted mail, I use the "mark as deleted" setting. And I expect them to stay until I expunge.

If you allocate me a different shortcut I'll be happy to provide a new version of the patch.
(Reporter)

Comment 4

9 years ago
see comment 3

Comment 5

9 years ago
Also, that patch would do cmd_compactFolder, which is *all* folders... so it doesn't really do what you want.
(Reporter)

Comment 6

9 years ago
Good point. I think that's actually another bug. It is what the contextual menu provide I want to do... The one that is even harder to reach.

*sigh*

Updated

9 years ago
Depends on: 286888
Ooh, yes please :-)

Gerv
Status: UNCONFIRMED → NEW
Ever confirmed: true
Any suggestions for a new shortcut?  I haven't had much time to think about this.

Updated

9 years ago
Severity: normal → enhancement
Component: General → Mail Window Front End
QA Contact: general → front-end

Comment 9

8 years ago
The keyconfig extension can be used to create a shortcut to compact just the current folder. Add a new key with code of "gFolderTreeController.compactFolders();" and then bind it to any key you like. Works great for me.

http://getsatisfaction.com/mozilla_messaging/topics/how_can_i_compact_just_the_current_folder_when_the_message_list_has_focus
(In reply to comment #8)
> Any suggestions for a new shortcut?  I haven't had much time to think about
> this.

Bryan could you take a minute or two and come up with a key ?

Comment 11

7 years ago
Isn't folder compaction going to be largely irrelevant in 3.4 (or whatever version has pluggable mailstores and switches the default store to maildir)?

Comment 12

7 years ago
(In reply to comment #11)
> Isn't folder compaction going to be largely irrelevant in 3.4 (or whatever
> version has pluggable mailstores and switches the default store to maildir)?

Indeed. 

It's great that Hubert has put up a patch. But, restating bug 86161 comment 19 (and the comments which follow it are even more worth skimming) ... 

We should be (and have been) frugal in giving keys to functions that don't currently have them. If a key is to be assigned, the need should be significant. The use case mentioned here is "Mark as deleted", which is not a default setting/workflow in Thunderbird.  And sounds like it would only be used only a few times a day.  Beyond that, is there a significant benefit to having a key binding?  Neither this bug nor bug 86161, (with a mere 11 votes in 11 years) seems to indicate a widespread need. 

Also, the rational seems to imply that the use case is important enough for a key binding, but not for a button that takes up real estate - that seems like a disconnect.  

And there are alternatives.
(Reporter)

Comment 13

7 years ago
(In reply to comment #12)
> The use case mentioned here is "Mark as deleted", which is not a
> default setting/workflow in Thunderbird.  

The fact that it is not default on IMAP is another story. I do believe it should be too.
You need to log in before you can comment on or make changes to this bug.