Closed Bug 757425 Opened 7 years ago Closed 7 years ago

Compact Folders dialog has confusing keyboard shortcuts


(MailNews Core :: Database, defect)

Not set


(Not tracked)

Thunderbird 15.0


(Reporter: catlee, Assigned: aceman)





(1 file)

3.77 KB, patch
: review+
: review+
: ui-review+
Details | Diff | Splinter Review
The Compact Folders dialog presents two buttons, "Cancel" and "Compact _N_ow". Half of the time I hit N by accident because I intend to say "No", which does the exact opposite of what I want.
And what would you suggest as a better key? "C" is also not good :)
Bwinton, any ideas?
Component: General → Database
Keywords: uiwanted
Product: Thunderbird → MailNews Core
QA Contact: general → database
Hah!  No, I'm on a Mac, so don't see the keyboard shortcuts, and I've gotten mired in that kind of discussion before.  I think this time you get to just pick a key, and ask mconley or andreasn for ui-review.  ;)

Chris, your proposal?
I see the same "N" key on Windows.

I also wonder why "Cancel" does not have a key.

The code that shows this dialog is in /mailnews/base/util/nsMsgDBFolder.cpp and it will also affect Seamonkey.
How about "_Y_es" and "_N_o"?
Attached patch patchSplinter Review
I think such ambiguous button labels are explicitly unwanted.
Assignee: nobody → acelists
Attachment #626539 - Flags: ui-review?(nisses.mail)
Attachment #626539 - Flags: review?(iann_bugzilla)
Attachment #626539 - Flags: review?(iann_bugzilla) → review+
how do I trigger this dialog? File > Compact folders just does it for me.
Set the limit in preferences to compact if it saves 1MB.
Then compose a msg with big attachment -> send later. Delete it from Outbox and Trash. It should prompt you.
To begin with, I don't understand why this dialog exists in the first place, apart from bothering people. But that could be another bug report ;)

In general it seems the policy for shortcuts is to go for the first letter if possible, and then go for second letters if not, from that point N makes sense.

I can see your mental connection to No though, so I could be all right with this change I guess.

The dialog is valuable. There are many problems with compaction running at inappropriate time, causing dataloss and other effects (at least I have the impression from watching bugzilla). So some people would like to see it and potentialy do not allow compact when not appropriate.
Who doesn't want that warning can easily disable it.
Comment on attachment 626539 [details] [diff] [review]

Sure, lets go for this.
Attachment #626539 - Flags: ui-review?(nisses.mail) → ui-review+
Comment on attachment 626539 [details] [diff] [review]

I hope it is not necessary to change the string ID as localizations probably use other accesskey already.
Attachment #626539 - Flags: review?(mconley)
Comment on attachment 626539 [details] [diff] [review]

Review of attachment 626539 [details] [diff] [review]:

Looks good. Thanks.
Attachment #626539 - Flags: review?(mconley) → review+
Keywords: uiwantedcheckin-needed
Closed: 7 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 15.0
You need to log in before you can comment on or make changes to this bug.