mosh-chrome icon indicating copy to clipboard operation
mosh-chrome copied to clipboard

Context menu not created.

Open dsouzae opened this issue 6 years ago • 1 comments

I am using Mosh (dev) ChromeOS app 0.5.5. The context menu no longer shows up after a recent update - not sure if it's related to Chrome or Mosh app

I noticed the Chrome DevTools console reports:

_generated_background_page.html:1 Unchecked runtime.lastError while running contextMenus.create: Cannot create item with duplicate id new_session at chrome-extension://hmgggebkhjjkiimkjlknpdgapncghehh/background.js:63:21

Issue happens on both ChromeOS and Windows desktop.

dsouzae avatar Nov 01 '18 16:11 dsouzae

i think the code needs to call chrome.contextMenus.removeAll() when reloading the bg page. Chrome likes to keep the entries sticky otherwise.

vapier avatar Nov 23 '20 08:11 vapier