Closed
Bug 178215
Opened 22 years ago
Closed 20 years ago
add a dropdown menu to the print toolbarbutton
Categories
(Firefox :: Toolbars and Customization, enhancement)
Firefox
Toolbars and Customization
Tracking
()
VERIFIED
WONTFIX
Firefox1.0beta
People
(Reporter: e-mail, Assigned: steffen.wilberg)
References
Details
Attachments
(4 obsolete files)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b) Gecko/20021103 Phoenix/0.4
Updated•22 years ago
|
Summary: Print preview icon for toolbar → add a Print preview icon to the toolbar palette
Comment 1•22 years ago
|
||
Or perhaps a small arrow icon below the print icon, as is the case with back and
forward buttons.
-->Confirming as New for developer review
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Updated•21 years ago
|
Target Milestone: --- → Firebird1.0
Comment 3•21 years ago
|
||
I like the suggestion in comment #1 because:
1) Thunderbird and SeaMonkey use it.
2) Takes less space on toolbar.
Summary: add a Print preview icon to the toolbar palette → add a Print preview option to Print icon ont the toolbar palette
Assignee | ||
Comment 4•21 years ago
|
||
Fixing typo in summary. Assigning to Pierre since he's working hard on print
preview currently.
Assignee: hyatt → p_ch
Summary: add a Print preview option to Print icon ont the toolbar palette → add a Print preview option to Print icon on the toolbar palette
Assignee | ||
Comment 5•21 years ago
|
||
This adds a context menu to the print toolbarbutton: print, print preview and
page setup. Reuses labels and accesskeys.
Assignee | ||
Comment 6•21 years ago
|
||
Adjusting summary, taking and targetting.
Assignee: p_ch → steffen.wilberg
Hardware: PC → All
Summary: add a Print preview option to Print icon on the toolbar palette → add a context menu to the print toolbarbutton
Target Milestone: Firebird1.0 → Firebird0.8
Assignee | ||
Comment 7•21 years ago
|
||
Comment on attachment 136957 [details] [diff] [review]
patch
Pierre, how about a little distraction? :)
Attachment #136957 -
Flags: review?(p_ch)
Assignee | ||
Comment 8•21 years ago
|
||
Currently the order is this: Print, Print Preview, Page Setup.
Should it be like in the file menu instead (Page Setup, Print Preview, Print)?
Assignee | ||
Comment 9•21 years ago
|
||
We could also format the "Print" menuitem bold by adding default="true".
Comment 10•21 years ago
|
||
Comment on attachment 136957 [details] [diff] [review]
patch
the context menu is a suboptimal solution: that would be the only button with a
context menu and thus would not be easily discoverable.
Ben and I think it should be a drop down menu.
Attachment #136957 -
Flags: review?(p_ch) → review-
Assignee | ||
Comment 11•21 years ago
|
||
I agree that a dropdown menu (to be leftclicked on the arrow) is more
discoverable. This patch adds that, but still adds a context menu (to be
rightclicked) to be consistent with the back and forward buttons, which have
both as well.
Left-clicking the print button calls the print dialog, like before.
Left-clicking the dropdown arrow calls the menupopup.
Right-clicking either one calls the context menu.
I haven't found out how to use the popup "printMenu" as a menupopup as well.
But I defined cmd_pagesetup and cmd_printpreview so that I don't have to copy
the commands over and over. They're now used 3 times in browser.xul.
Attachment #136957 -
Attachment is obsolete: true
Assignee | ||
Comment 12•21 years ago
|
||
Comment on attachment 136977 [details] [diff] [review]
add a dropdown menu
I've also rearranged the menu, the order is now Page Setup, Print Preview,
Print.
This is the same as in the File menu, and the Print command isn't as important
on the dropdown/context menu as the other options.
Assignee | ||
Updated•21 years ago
|
Attachment #136977 -
Flags: review?(p_ch)
Comment 13•21 years ago
|
||
Comment on attachment 136977 [details] [diff] [review]
add a dropdown menu
could you remove the context menu and use the print preview and page setup
commands in the file menu?
Attachment #136977 -
Flags: review?(p_ch) → review-
Comment 14•21 years ago
|
||
updating summary
Summary: add a context menu to the print toolbarbutton → add a dropdown menu to the print toolbarbutton
Assignee | ||
Comment 15•21 years ago
|
||
> could you remove the context menu
no problem.
> and use the print preview and page setup commands in the file menu?
I'm not sure what you mean, Pierre. Do you want me to use the new commands
cmd_pagesetup and cmd_printpreview in the File menu as well? I already do,
that's the change to browser-menubar.inc.
Or do you not want me to define these commands and use
PrintUtils.showPageSetup(); and PrintUtils.printPreview(...) in the dropdown menu?
Assignee | ||
Comment 16•21 years ago
|
||
This adds a dropdown menu only. No context (rightclick) action. Leftclick on
the dropdown arrow to show the menu.
This patch (still) uses cmd_pagesetup and cmd_printpreview. Also in the File
menu.
Attachment #136977 -
Attachment is obsolete: true
Assignee | ||
Comment 17•21 years ago
|
||
Comment on attachment 137003 [details] [diff] [review]
dropdown menu only
Pierre, is this what you mean?
Attachment #137003 -
Flags: review?(p_ch)
Comment 18•21 years ago
|
||
yes, that's what I meant.
I tried this patch, but there are tooltips "Print this page" on the menuitems.
That's clearly wrong and visible, but I am not sure what to do about that. Maybe
we would wait to fix the problem before letting it go.
(btw, the print menuitem should be first with default="true")
Assignee | ||
Comment 19•21 years ago
|
||
> (btw, the print menuitem should be first with default="true")
5-second-fix.
I don't know what to do about the tooltips though. That's a XUL bug. It happens
on the back and forward dropdown menu, and SeaMonkey's print dropdown menu as well.
Even better: Let a tooltip from a different button display, then quickly open
the dropdown before the tooltip of the print button appears. Result: The tooltip
of the other button is displayed.
Workarounds:
1. Add tooltiptext="" to each dropdown menuitem. It doesn't display "Print this
page" anymore, but " ", i.e. an empty box. Looks terrible.
2. Remove the tooltip from the print button. That's inconsistent with the other
buttons.
3. Add appropriate tooltiptexts to the dropdown menuitems. That's the best I
have to offer right now.
I'm not able to hack button.xml, popup.xml or whatever.
Assignee | ||
Comment 20•21 years ago
|
||
Bug 147670 is the bug we need to fix.
Assignee | ||
Updated•21 years ago
|
Attachment #137003 -
Attachment is obsolete: true
Attachment #137003 -
Flags: review?(p_ch)
Assignee | ||
Comment 21•21 years ago
|
||
> (btw, the print menuitem should be first with default="true")
This is the only change in this patch.
Assignee | ||
Comment 22•21 years ago
|
||
Comment on attachment 137370 [details] [diff] [review]
print menuitem is first with default="true"
Hopefully the final patch. Should be fine once bug 147670 is fixed.
Attachment #137370 -
Flags: review?(p_ch)
Comment 24•21 years ago
|
||
*** Bug 231085 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 25•20 years ago
|
||
Comment on attachment 137370 [details] [diff] [review]
print menuitem is first with default="true"
Slightly bitrotten.
Attachment #137370 -
Attachment is obsolete: true
Attachment #137370 -
Flags: review?(p_ch)
Assignee | ||
Comment 26•20 years ago
|
||
I'll add a new patch once bug 147670 is fixed.
Target Milestone: Firefox0.9 → Firefox1.0beta
Comment 27•20 years ago
|
||
No, I think this is one of Seamonkey's misadventures. The print button is
intended as a convenience for a common action - print... having the more
advanced functions there does not make sense.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
Comment 28•20 years ago
|
||
Then how about adding separate "Print preview" button? Would this be a better
solution?
Comment 29•20 years ago
|
||
(In reply to comment #28)
> Then how about adding separate "Print preview" button? Would this be a better
> solution?
I would like to second the motion for a separate Print Preview button. Printing
from web pages is a different experience than printing from other programs. Most
webpages are not formatted with printing in mind.
I never print without previewing first to see if there is a reasonable print
stylesheet, or if there are 2-3 extra pages of junk at the end, or even if all
the information I want will be included on the printout (e.g., see Bug 150640,
Bug 154892, Bug 245887).
I don't know if it helps my case or not, but competing products include separate
Print Preview buttons as customization options. Hence, user-confusion is unlikely.
Would it help if I filed this as a separate enhancement request bug?
Assignee | ||
Comment 30•20 years ago
|
||
Sure, file a new bug about a print preview button. But don't expect something to
happen before 1.0.
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
Updated•18 years ago
|
QA Contact: bugzilla → toolbars
You need to log in
before you can comment on or make changes to this bug.
Description
•