Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context menu not created. #195

Open
dsouzae opened this issue Nov 1, 2018 · 1 comment
Open

Context menu not created. #195

dsouzae opened this issue Nov 1, 2018 · 1 comment

Comments

@dsouzae
Copy link

dsouzae commented Nov 1, 2018

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.

@vapier
Copy link
Contributor

vapier commented Nov 23, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants