Closed Bug 55872 Opened 25 years ago Closed 24 years ago

Standalone mail window omits cmd-M for new message

Categories

(SeaMonkey :: MailNews: Message Display, defect, P2)

defect

Tracking

(Not tracked)

VERIFIED FIXED
Future

People

(Reporter: mikepinkerton, Assigned: hamfastgamgee)

Details

(Keywords: polish, Whiteboard: [nsbeta1+ 1/25])

Attachments

(1 file)

in the standalone mail message window, File:New Message doesn't have a cmd-key eqivalent, so hitting cmd-m does nothing, unlike every other window where it opens a new mail message compose window.
this should be a real trivial fix, I think we should get this for rtm.
Keywords: polish, rtm
QA Contact: esther → nbaca
Perhaps the fix is trivial, but that doesn't justify fixing it in rtm since there are thousands of trivial fixes we could do. The odds of needing to use this shortcut from this window seem small. The best argument for fixing this is to have UI consistency, but I don't think that's compelling in the time remaining. rtm- unless there's a compelling argument.
Whiteboard: [rtm-]
odds of needing to use the shortcut? I'd say 1:1. I need it every day. I read mail with a standalone window, and if it's in the front, i can't use cmd-m to write new mail. It's very annoying.
Whiteboard: [rtm-]
marking [rtm-]. There are other ways to create a new mail message from that window.
Whiteboard: [rtm-]
nominating mail3 and reassigning to sspitzer
Assignee: putterman → sspitzer
Keywords: mail3
OS: All
marking nsbeta1+ and moving to mozilla0.8. changing summary to refer to standalone mail window which I think is what this bug is referring to.
Keywords: rtmnsbeta1
Priority: P3 → P2
Summary: Standalone mail compose omits cmd-M for new message → Standalone mail window omits cmd-M for new message
Whiteboard: [rtm-] → [nsbeta1+]
Target Milestone: --- → mozilla0.8
reassigning to ssu
Assignee: sspitzer → ssu
moving to mozilla0.9
Target Milestone: mozilla0.8 → mozilla0.9
marking nsbeta1-. it's getting marked nsbeta1- but I will try to find someone to fix this.
Keywords: nsbeta1nsbeta1-
Whiteboard: [nsbeta1+] → [nsbeta1+ 1/25]
Target Milestone: mozilla0.9 → Future
Seems to me this'd be really simple to do. I'm willing to do it in my first crack at XUL if it's truly as trivial as it sounds (wouldn't it be the addition of a whopping one attribute to one tag in one file?). Finding the right file is probably the hardest part. :)
The above is a patch to include mailOverlay.xul as an overlay in this file. Near as I can tell (from 10 minutes in the XUL code), that's the way the main mail window does it, and any potential change to the shortcut (or if shortcuts are added for New Folder, etc.) should be properly reflected. It works (in the all of one test I knew to run :) ), but is this the correct solution?
r=timeless
Hardware: Macintosh → All
reassign
Assignee: ssu → andersma
fixed checked in. sorry for the delay. thanks for the fix.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Is everyone here sure that overlayed another file here was the right fix? Does it have other benefits? If it was just for the one accelerator, surely the cost of the overlay far outweighs the wrongness of one-line code duplication?
Well, insofar as I could tell, this was the same way the main mail window was getting its accelerators and other assorted goodies that for some reason aren't in mailWindowOverlay.xul (which looked to be included in every mail window, and mailOverlay.xul was in all but the standalone msg window). With timeless cleaning up the UI for that anyway, this patch probably won't last until 1.0 because the correct fix, insofar as I could tell, would be to merge the functionality of mailOverlay.xul into mailWindowOverlay.xul. The code duplication would be slightly more than one line anyway, since the handling of the modifier is also done in mailOverlay.xul (sure, it would be a one line fix to add the modifier to messageWindow.xul, but it wouldn't do anything without basically the entire contents of mailOverlay.xul anyway). Of course, since I know approximately as much XUL as this patch took, my understanding could be way off (especially since I'm utterly unfamilar with the mail/news architecture). :)
> (sure, it would be a one line fix to add the modifier to messageWindow.xul, > but it wouldn't do anything without basically the entire contents of > mailOverlay.xul anyway). Why? It should be as simple as <key id="foo" key="m" modifiers="control" oncommand="msgCompose();"/> (localizable, of course) or something similar. I appreciate the patch, I just want to ensure that we aren't doing extra work here for little gain.
Build 2001-02-19-08: NT4, Linux RH 6.2, Mac 9.04 Verified Fixed, thanks!
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: