Closed Bug 223871 Opened 22 years ago Closed 21 years ago

Thunderbird takes over OS X minimize window keyboard shortcut

Categories

(Thunderbird :: Mail Window Front End, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Thunderbird0.9

People

(Reporter: abewhite, Assigned: mattwillis)

References

Details

(Keywords: fixed-aviary1.0)

Attachments

(2 files, 1 obsolete file)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/103u (KHTML, like Gecko) Safari/100 Build Identifier: Mozilla Thunderbird 0.3 (20031013) The standard system-wide keyboard shortcut for minimizing the current window in OS X is cmd-M. Thunderbird's OS X news reader client uses this shortcut for composing a new news message instead. It should use cmd-N (for "New Message") or anything else -- interfering with system-wide shortcuts is a major usability issue (IMO). Reproducible: Always Steps to Reproduce: 1. Open Thunderbird 2. Hit cmd-M 3. There is no step 3! Actual Results: Compose window comes up. Expected Results: Thunderbird window should minimize.
agree with bug; the old Mozilla browser used to use Cmd-Shift-M for this purpose. this would be a natural choice, as it would leave Cmd-M for it's intended OS X purpose, and would also make for a seamless transition for those who are used to it from Mozilla.
The key should be Cmd-Shift-M since late January, can someone on Mac OS X verify?
Cmd-Shift-M and Cmd-M do the exact same thing on Thunderbird 0.7 on OS X (10.3.4). Both bring up the compose a new message window.
version 0.6+ (20040820) Behaviour is as Comment 3. Also Cmd-M is the shortcut key in the menu.
I have a patch to disable Cmd-M opening a new message (which then becomes Shift-Cmd-M, but I haven't yet worked on making Cmd-M minimize the window. I need to look up how that's done. I think it's CollapseWindow() in Carbon. Anyway, if we want to disable the annoyance before we actually fix this bug, let me know and I'll attach the patch.
This patch fixes half of this bug. mozilla/mail/base/content/mailOverlay.xul already had an #ifdef for Mac OS X, changing the "New Message" keyboard shortcut from Accel-M to Shift-Accel-M. The #ifdef wasn't being preprocessed on build, resulting in both key definition sections being enabled in the chrome jar, hence both key combinations bringing up a new message. I deleted the whitespace before the #ifdef #else and #endif statements, and I added the * preprocess flag for mailOverlay.xul to mozilla/mail/base/jar.mn so the .xul's #ifdef would get interpreted before it was added to chrome/messenger.jar
Attachment #159116 - Flags: review?(mscott)
Attachment #159233 - Flags: review?(mscott)
Attachment #159116 - Flags: review?(mscott)
This is a version of the revised patch, built for AVIARY.
Attachment #159234 - Flags: review?(mscott)
Attachment #159234 - Flags: approval-aviary?
Comment on attachment 159234 [details] [diff] [review] AVIARY version of same (revised) patch please don't request approval until you've gotten sufficient reviews. thanks.
Attachment #159234 - Flags: approval-aviary?
Attachment #159233 - Flags: review?(mscott) → review?(bienvenu)
Attachment #159234 - Flags: review?(mscott) → review?(bienvenu)
Attachment #159233 - Flags: superreview?(mscott)
Attachment #159233 - Flags: review?(bienvenu)
Attachment #159233 - Flags: review+
Attachment #159234 - Flags: review?(bienvenu) → review+
Attachment #159233 - Flags: superreview?(mscott)
Attachment #159233 - Flags: superreview?(mscott)
Attachment #159234 - Flags: superreview?(mscott)
Taking this bug
Assignee: mscott → mattwillis
Thanks Matt. Fix checked into the branch and trunk.
Status: NEW → RESOLVED
Closed: 21 years ago
Keywords: fixed-aviary1.0
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird0.9
Attachment #159234 - Flags: superreview?(mscott) → superreview+
Attachment #159233 - Flags: superreview?(mscott) → superreview+
tested with 2004101502-0.8 on OS X 10.3.5: menu items look fine and the keyboard shortcut also works nicely in tbird. note that bug 204636 is still an issue, where cmd+M doesn't minimize either firefox or tbird.
Status: RESOLVED → VERIFIED
*** Bug 266881 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: