Closed Bug 45524 Opened 25 years ago Closed 22 years ago

Mail Compose: Toolbar buttons should have dropdown menus

Categories

(MailNews Core :: Composition, defect, P3)

x86
Windows 98
defect

Tracking

(Not tracked)

VERIFIED FIXED
Future

People

(Reporter: jglick, Assigned: neil)

References

()

Details

(Keywords: polish, Whiteboard: [nsbeta1+ 2/13])

Attachments

(4 files, 5 obsolete files)

Mail Compose: Toolbar Buttons: Dropdown Menus Several of the Mail Compose Toolbar buttons should have drop down menus with additional functionality. Clicking the button gets the default behavior. Clicking the button menu allows additional functionality. These dropdowns should have the same UI (look/functionality) as the browser buttons (Back, Forward). Attach - Clicking on the button displays a dropdown menu which allows user to choose: File or Web Page. Default - File. Save - Clicking on the button saves the current messages as a Draft by default. Clicking on the dropdown button allows the user to choose whether to save the message as a File, Draft or Template. http://gooey/client/5.0/specs/mail/Compose/Compose.html#ToolbarButtons
nominate as b3mail to be reviewed for potential nsbeta3.
Keywords: b3mail
QA Contact: lchiang → nbaca
change b3mail to nsbeta3.
Keywords: b3mailnsbeta3
Status: NEW → ASSIGNED
Keywords: polish
Target Milestone: --- → M18
nsbeta3- This is available from the menus.
Whiteboard: [nsbeta3-]
Target Milestone: M18 → Future
*** Bug 39745 has been marked as a duplicate of this bug. ***
Add mail3 keyword so bug will be considered for 6.5
Keywords: mail3
*** Bug 61720 has been marked as a duplicate of this bug. ***
Ok I have done this on my Mozilla, and it seems to work fine. However this modifies the themes, as it involves turning two buttons into menubuttons, thus requiring updates in messengercompose.css . I have tried to do it on my Mozilla, but I don't know much about css so I just CC Hewitt to have his input. The needed changes are : Modify #button-attach #button-save in order to turn them into menubuttons. I copied the print menubutton from messenger.css and it works fine except for a few focus problems, so this shouldn't be too much trouble. Note : this fix doesn't involve changing features, it just adds an easier way to access those features, so it is a safe fix, I believe. Fabian.
marking nsbeta1+ and moving to mozilla0.8. This is only for the attach button. the others can wait.
Keywords: nsbeta3nsbeta1
Whiteboard: [nsbeta3-] → [nsbeta1+]
Target Milestone: Future → mozilla0.8
Diff file. Adds a menubutton to the attach toolbar shortcut. Diff includes changes to messengercompose.xul and messengercompose.css (modern only). Classic theme seems to work without changing its messengercompose.css. Didn't bother with blue theme. Hope this helps. Fabian.
Thanks for the patch, I will take a look at it later...
Keywords: patch
moving to mozilla0.9, but JF could you take a look at this when you get a chance?
Target Milestone: mozilla0.8 → mozilla0.9
marking nsbeta1-. However, if there's a patch, let's get this in.
Keywords: nsbeta1nsbeta1-
Whiteboard: [nsbeta1+] → [nsbeta1+ 2/13]
Re-assigning bugs to varada.
Assignee: ducarroz → varada
Status: ASSIGNED → NEW
moving to future, but as I said, if the patch is good we can get it in.
Target Milestone: mozilla0.9 → Future
I would like to see the (commented) separator/attach signature/vcard items copied so that should they get implemented someone might remember to do both copies. Assuming that the attach button never needs to be disabled the patch works fine.
QA Contact: nbaca → olgam
Patch for pulldown menu for Attach and Save Buttons.
Attachment #21243 - Attachment is obsolete: true
Comment on attachment 88558 [details] [diff] [review] Patch for pulldown menu for Attach and Save Buttons. the patch looks good but before I could say R=, I would like to know if it's ok with UI folk to do that!
Comment on attachment 88558 [details] [diff] [review] Patch for pulldown menu for Attach and Save Buttons. oh, I did not see that jennifer was the reporter! I conclude it's a request from the UI folk. R=ducarroz
Attachment #88558 - Flags: review+
OK with me. :-)
Blocks: 154188
Attached patch Alternate version (obsolete) — Splinter Review
This uses event.preventBubble() to keep the use of command= on the buttons. I've also added a dropdown for the Send button, because for some reason people can't seem to find Send Later.
Attached patch Forgot themes changes (obsolete) — Splinter Review
Added in themes changes, otherwise buttons won't hover properly.
Attachment #90228 - Attachment is obsolete: true
After rereading xul menu code the preventBubble isn't necessary.
Attachment #88558 - Attachment is obsolete: true
Attachment #90231 - Attachment is obsolete: true
Attachment #108365 - Flags: review?(ducarroz)
Comment on attachment 108365 [details] [diff] [review] Don't need preventBubble after all R=ducarroz
Attachment #108365 - Flags: review?(ducarroz) → review+
taking all of varada's bugs.
Assignee: varada → sspitzer
Attachment #108365 - Flags: superreview?(bienvenu)
Attachment #108365 - Flags: superreview?(bienvenu) → superreview?(sspitzer)
from the spec: Send Sends the current message. If the user on online, the messages is sent right away. If the user is off-line the message is saved to the "Unsent Messages" folder. [no mention of the send or send later. about this, what would it mean to do "send" when offline?] Attach Used to attach a File, Web Page or vCard to a message. Clicking on the button displays a dropdown menu which allows user to choose: File, Web Page or Personal Card (vCard). [we don't really have vCard support, so that's left off in your patch] Save Clicking on the button saves the current messages as a Draft. Clicking on the dropdown button allows the user to choose whether to save the message as a File, Draft or Template. neil, can you screen shot how this looks in modern and classic? also, how does it behave? for comparison, looking at 4.x (win32), for send, no dropdown menuitems (like in the spec) for attach, right click does nothing, but left click gives you menuitems. for save, left click does a save as draft. you'd only see the menuitems if you right clicked. note, in mozilla the tooltip for attach is "Attach a file to this message" in 4.x, it was "Include an attachment", which makes more sense if you can do file or webpage. looking at the compose toolbar security button in mozilla, these types of buttons behave differently in mozilla than they did in 4.x. to summarize: 1) I don't think we want the change to the send button 2) can you get some screen shots of modern and classic 3) can you fix the attach tooltip?
Assignee: sspitzer → neil
Attached image Screenshot (Modern)
Attached image Screenshot (Classic)
Should there be some visual clue (bold?) in the dropdown as to which is the default action (of the big button)? BTW, awesome screenshots! Thanks for making progress on this! :-D
Looks good. Thanks for the great work. >1) I don't think we want the change to the send button Correct.
Attachment #117487 - Flags: superreview?(sspitzer)
Comment on attachment 108365 [details] [diff] [review] Don't need preventBubble after all obsolete
Attachment #108365 - Attachment is obsolete: true
Attachment #108365 - Flags: superreview?(sspitzer) → superreview-
Comment on attachment 108365 [details] [diff] [review] Don't need preventBubble after all sr=sspitzer, thanks neil.
Attachment #108365 - Attachment is obsolete: false
Attachment #108365 - Flags: superreview- → superreview+
Comment on attachment 108365 [details] [diff] [review] Don't need preventBubble after all wrong patch
Attachment #108365 - Attachment is obsolete: true
Attachment #108365 - Flags: superreview+ → superreview-
Comment on attachment 117487 [details] [diff] [review] Just attach and save r/sr=sspitzer, thanks neil.
Attachment #117487 - Flags: superreview?(sspitzer) → superreview+
Fix checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Just a nit. Attach menu should have "File(s)..." and "Web Page..." not "Attach File(s)" and "Attach Web Page...". (Attach is the name of the button so it doesn't need to be duplicated). Just like Save menu has "File...", "Draft", and "Template", not "Save File...", Save Draft" and "Save Template".
OK, so what about the attachment bucket context menu, should that say "Attach File(s)..." as well? (should that have "Attach Web Page..." added as well?)
>OK, so what about the attachment bucket context menu, should that say "Attach >File(s)..." as well? (should that have "Attach Web Page..." added as well?) Do you mean in Mail Compose: Attachment area: Context menu. Changing "Add Attachment", to "Attach File(s)..."? Yeah, probably should, but not a rush (no major usability harm ;-) I don't think we need to add "Attach Web Page..." in addition. Context menus provide quick assess to the most common actions, not all the available actions. I know the existing context menu is small, but i like to consistency following that guideline.
Attached patch String fixesSplinter Review
Attachment #118288 - Flags: superreview?(sspitzer)
Attachment #118288 - Flags: review?(cavin)
Comment on attachment 118288 [details] [diff] [review] String fixes r/sr=sspitzer, thanks neil.
Attachment #118288 - Flags: superreview?(sspitzer)
Attachment #118288 - Flags: superreview+
Attachment #118288 - Flags: review?(cavin)
Attachment #118288 - Flags: review+
The current nightlies' (2003-08-10) tooltip still doesn't say "Include an attachment", as requested by Seth in comment #26. REOPEN?
Checked in the string fixes at last :-[
v
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: