nickgirardo/context-play-pause

Extension icon shown instead of specified icon

Closed this issue · 1 comments

My extension has an icon, which is the play/ pause icon, seen here. When creating menu items, I also directly, like this:

browser.menus.create({
  "id": "yt-play",
  "title": "Play Video",
  "contexts": ["tab"],
  "icons": {
    "16": "icons/play-16.png",
    "32": "icons/play-32.png"
  }
}, onCreated);

If I cause more than one menu item to be added at once, they will be added to their own submenu and have the directly specified icon:

screen shot 2018-06-06 at 3 23 07 pm

But most of the time I am only adding one menu item at once and don't want to have to fuss with going through a submenu. Is it possible to have an icon other than the extension icon displayed at the top level?

After asking on IRC, it seems that this behavior is intentional and not configurable.