Closed Bug 431572 Opened 17 years ago Closed 6 years ago

Error Console error/warning/message context menu item "Copy" needs icon

Categories

(Toolkit :: Themes, defect)

x86
Linux
defect
Not set
trivial

Tracking

()

RESOLVED WONTFIX

People

(Reporter: adelfino, Assigned: ispence)

References

Details

Attachments

(2 files, 2 obsolete files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9pre) Gecko/2008043011 Minefield/3.0pre Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9pre) Gecko/2008043011 Minefield/3.0pre Error Console error/warning/message context menu item "Copy" needs icon. See screenshot. Reproducible: Always
Version: unspecified → Trunk
Attached image Warning context menu.
Blocks: 405165
Assignee: nobody → ispence
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #319270 - Flags: review?(gavin.sharp)
Comment on attachment 319270 [details] [diff] [review] Adds the copy icon to the error console's context menu >Index: toolkit/themes/gnomestripe/global/console/console.css >+menuitem:not([type]) { >+ -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic"); Just put class="menuitem-iconic" on the element itself? If this really needs to apply to other menu items you can add that class to those, but I don't see any. >+#menu_copy_cm { >+ list-style-image: url("moz-icon://stock/gtk-copy?size=menu");
Attached patch Updated patch (obsolete) — Splinter Review
Is this what you were aiming at?
Attachment #319270 - Attachment is obsolete: true
Attachment #319274 - Flags: review?(gavin.sharp)
Attachment #319270 - Flags: review?(gavin.sharp)
Yes, like that, but without the .menuitem-iconic change to the CSS (.menuitem-iconic is styled in xul.css), though now that I think about it this means that we need to ensure that that class doesn't have negative effects on other platforms (e.g. breaking alignment issues between the copy menu item label and the other menuitems).
This is what I meant (also updated to trunk). Unfortunately it breaks the alignment on Mac (because iconic menu items have a lot more padding than non-iconic menuitems). I suppose we could just ifdef that for Linux, or use CSS to hide the icon box on non-Linux.
Attachment #319274 - Attachment is obsolete: true
Attachment #319274 - Flags: review?(gavin.sharp)
We should just add -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic"); to #menu_copy_cm.
Component: Theme → Themes
Product: Firefox → Toolkit
QA Contact: theme → themes
The error console is dead.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: