Closed yorkxin closed 2 weeks ago
I'm seeing this issue now with Firefox 106.0.5. It always disappears.
@manuzhang thanks. I'm using Firefox too, but I can't tell under what situation it appears or disappears...
Disabling and re-enabling the extension gives me back one item in the context menu. However, there should be more?
@manuzhang thanks. I guess I know where the issue comes from (related: https://github.com/yorkxin/copy-as-markdown/issues/107)
Regarding to the list of context menus, it depends on the item that you clicked. On a link it only shows Copy Link. On an image it shows Copy Image and Copy Image + Link command. On other places on the web page, it shows Copy Current Tab.
so is this already fixed in latest version?
No, I think the issue still exists after #107 🥲 In fact I don't see context menu on my Firefox today.
If it helps I can reproduce this issue every time I update Firefox (I am on the beta channel so I receive updates quite often). After every update the context menu item disappears.
To workaround the issue I disable then enable again the extension, the context menu item is back.
Dear folks, do you still experience this issue?
Dear folks, do you still experience this issue?
@yorkxin I do (Firefox 111.0b8). As per my previous comment, I just work around it :)
The issue still exists in 110.0.1 and I need to re-enable the extension to work around as well.
Hi all, I've released a new version 2.8.3, and hopefully this time the issue gets resolved. Please let me know how it goes!
@yorkxin thanks for working on this issue. on my firefox 114 the extension now behaves in a different way:
As soon as I receive the next firefox update I can test what happens after updating the browser
EDIT: just updated to the latest firefox 114 beta and the context ment does not show up
@yorkxin Same for me on Firefox 113.0.1. Disabling and enabling the extension no longer works.
I didnt investigate very deep but I think the issue is that there is no API under chrome.runtime.
to catch the event when an extension is enabled by the user. I only see the onInstalled event that is triggered when the extension is first installed.
I've tried triggering a browser.contextMenus.create
on window.onload
and the context menu appears also when the user enable/disable the extension but it's not exactly what we want :-)
I'm not sure if we can get away without custom code for chrome, firefox-mv2 and firefox-mv3 :man_shrugging:
Compared to other extension. It always warn me about "Permission needed to read and change data" Firefox indicate this with a blue dot.
I tried 113.0.2
but the context menu is still missing. I don't know why other context menu are there.
I have tried to use Brave because this extension works seamlessly in Brave. However, sometimes it needs a Google service extension. It is the reason I move back to Firefox.
I know it is an open-source project. It is not first-class paid ticket support. But I hope it will get resolved, as I use this extension a zillion times a day.
After couple of day. Maybe restart / other updates I did. Now I can use the context menu in 113.0.2
:tada:
It also happens to me using Firefox 113.0.2, even after restarting it, and disabling and enabling Copy as Markdown...
The issue no longer exists in Firefox 114.0.2
For me, after re-installing the extension in Firefox 114.0.2, and clicking the extension icon in the menu bar, the item in context menu shows up properly.
This issue reappeared in 115.0.2 (64-bit)
Works for me in FF 102 32bit ESR, and does not in FF 116 64bit, both under Windows 11.
Works for me in FF 102 32bit ESR, and does not in FF 116 64bit, both under Windows 11.
Does not work for me in FF 116 64bit under Linux.
Ironically this issue is fixed for me by downgrading the plugin to Version 2.7.1
using FireFox 119.0 (64-bit)
on Windows
As a reminder for those subscribed to this issue: I did a little investigation (see comment). If anyone wants to take it further and maybe submit a patch, I think that would be great.
I just installed it for the first time and I was never able to see the context menu in Firefox 121. Any ideas?
@v-marinkov to my knowledge, the only workaround is installing the previous version 2.7.1. After every update of Firefox the context menu will disappear: to have it back you'll have to disable and enable the extension
I downgraded to version 2.7.1 and context menu immediately started to appear again.
Memo: this is a known issue in Firefox MV3. https://discourse.mozilla.org/t/strange-mv3-behaviour-browser-runtime-oninstalled-event-and-menus-create/111208/14
Some extensions such as Leechblock NG, use a 1 second polling to recreate menus.
Hi all, I've introduced a new version 2.9.1 as an attempt to resolve this issue. If the issue still exists, I will try to reimplement some code for the Firefox version. (For developers: Specifically, changing the extension's architecture from MV3 to MV2)
Please upgrade to 2.9.1 and see if the issue still exist. Thanks!
2.8.3 is working for me on Firefox 124.0.2 (64-bit)
Has anyone encounter this issue recently (since May 2024)?
I haven't seen this issue since my comment above ☝️
I've upgraded from 2.7.1 to 3.0.1 and the issue seems resolved :+1:
Thanks! I'll close this for now.
Summary
Context menu is sometimes not showing up in Firefox 106.
Not always reproducible.
Edit: seems to be related to non-persistent background page.