Closed Bug 428062 Opened 17 years ago Closed 17 years ago

Command Shift M broken (os x, nightlies)

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3

People

(Reporter: davida, Assigned: asuth)

Details

Attachments

(1 file, 1 obsolete file)

Thunderbird 3.0a1pre ID:2008040803 Expected behavior: Command+Shift+M does the "move to ... again" command as the menus indicate Actual behavior: Command+Shift+M does the same thing as Command+M (new mail). Command+Shift+M (move to <folder> again) doesn't work in this latest update. I wonder if that's due to the changes related to bug 382138 and bug 382138.
Flags: blocking-thunderbird3.0a1?
Flags: blocking-thunderbird3+
I meant bug 398514 for the second bug.
Nope, that only affects which code path we take to set the enabled state of the Edit menu commands. Somewhere in the tangle of regressions blocking bug 398514 is the patch that will (or won't) fix this, but I was hoping it would land and fix it before I had to chase down which one it is, and see whether or not it does. Probably, it's bug 359638.
Blocks: 398514
Erm. After applying the patch in bug 359638, cmd+shift+M opens a new message, and cmd+m minimizes the window. That's not quite what I was expecting.
I'm finding this is a blocker in my personal use of nightlies, so I'll approve at blocking 3a1. We may have to shift it back if resources & time don't line up.
Flags: blocking-thunderbird3.0a1? → blocking-thunderbird3.0a1+
Assignee: nobody → bugmail
It looks like some of those referenced bugs caused a long-standing binding to finally show up. Namely, on OS X, both "accel N" and "accel,shift M" should trigger the "new message window". On all other platforms, "accel N" and "accel M" open the "new message window". Who is the key-binding czar? --- mail/locales/en-US/chrom/messenger/mailOverlay.dtd: <!ENTITY newMessageCmd2.key "N"> <!ENTITY newMessageCmd.key "M"> --- mail/base/content/mailOverlay.xul: #ifdef XP_MACOSX <key id="key_newMessage" key="&newMessageCmd.key;" command="cmd_newMessage" modifiers="accel,shift"/> <key id="key_newMessage2" key="&newMessageCmd2.key;" command="cmd_newMessage" modifiers="accel"/> #else <key id="key_newMessage" key="&newMessageCmd.key;" command="cmd_newMessage" modifiers="accel"/> <key id="key_newMessage2" key="&newMessageCmd2.key;" command="cmd_newMessage" modifiers="accel"/> #endif
For investigation purposes, bug 350543 introduced the 'move again' feature and the conflicting binding. What is confusing is that sspitzer actually mentioned the binding conflict on the bug, but it seems his comment wasn't addressed. Bug 271315 changed the new message bindings slightly to their current state, and had some discussion about address book. This left us with our current state, I believe, where "accel N" in the address book is "New... Address Book Card..." and "accel,shift M" is "New... Message".
As an interim 3a1 solution, add a new entity that likes the letter "i". Only use this binding on OS X, and only use "accel" (command) for it (no shift). This leaves all other platforms as they were, using "accel,shift m"; they have no conflict to need a change.
Attachment #316726 - Flags: review?(philringnalda)
Comment on attachment 316726 [details] [diff] [review] Make the mac use cmd-I for move again, using a new entity Keys, oh keys, how I hate you. Cmd+I was the second Mac shortcut I learned when I switched, after the nearly useless Cmd+M and before the useful Cmd+H. What I learned was that it was a safe way to get a properties dialog for something that had one, or to do nothing if it didn't. Having the key combo that gets info for a file in a similar-looking tree in Finder, and gets info for the mail account in the exact same tree in Mail.app, and gets info for the folder in a similar-looking tree in NetNewsWire, and gets info for a file in a similar-looking tree in iTunes, instead make the current message disappear off the face of the earth (bug reports lead me to believe that most users don't think of Undo as something to rely on for anything other than text editing) is not a happy idea. Since we don't have a spare cmd+one-letter, and we have to do something different on Mac anyway, let's just go with Mail.app compat and use cmd+option+T.
Attachment #316726 - Flags: review?(philringnalda) → review-
Where by "Mail.app compat" I mean "do anything other than what Mail.app does" and by "cmd+option+T" I mean "go back to the drawing board, since we certainly don't want to steal cmd+option+T from Edit - Special Characters"
Now we try command-option-M. This has the added benefit of not adding a new entity that needs to be 'localized'. Key choice made by philor. Long live the key czar!
Attachment #316726 - Attachment is obsolete: true
Attachment #316756 - Flags: review?(philringnalda)
Comment on attachment 316756 [details] [diff] [review] Make the modifiers amount to command-option, OS X only. Lovely, r=philringnalda
Attachment #316756 - Flags: review?(philringnalda) → review+
mail/base/content/mailWindowOverlay.xul 1.237
No longer blocks: 398514
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: