The default bug view has changed. See this FAQ.

Set a different icon for a contextMenus item

UNCONFIRMED
Unassigned

Status

()

Toolkit
WebExtensions: Frontend
UNCONFIRMED
4 months ago
a month ago

People

(Reporter: Pierre Bertet, Unassigned)

Tracking

53 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [design-decision-needed][contextMenus])

(Reporter)

Description

4 months ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:53.0) Gecko/20100101 Firefox/53.0
Build ID: 20161201030205




Expected results:

I understand from the documentation [1] that it is not possible to have different icons for different menu items.

But is there a way to have an icon for the addon, and another one for the menu items?

At the moment we are using two different icons for gtranslate [2], because the logo doesn’t represent the action and is too noisy to be used in that context.

[1] https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/contextMenus
[2] https://addons.mozilla.org/firefox/addon/gtranslate/

Updated

4 months ago
Component: Untriaged → WebExtensions: Untriaged
Product: Firefox → Toolkit

Updated

4 months ago
Component: WebExtensions: Untriaged → WebExtensions: Frontend
Summary: (WebExtensions) Set a different icon for a contextMenus item → Set a different icon for a contextMenus item
Whiteboard: [design-decision-needed]

Comment 1

3 months ago
Unless I'm mistaken, I think I would need this to port Context Search, which expands the context menu to contain the search plugins from the Search Bar (CTRL+K). 

I would be looking to replicate the current UI:
http://www.basson.at/images/addons/contextsearch.png

Updated

2 months ago
Whiteboard: [design-decision-needed] → [design-decision-needed][contextMenus]

Updated

a month ago
Duplicate of this bug: 1337470
You need to log in before you can comment on or make changes to this bug.