nt1m / livemarks

Extension that restores RSS Feed Livemarks in Firefox.
https://addons.mozilla.org/firefox/addon/livemarks/
MIT License
228 stars 23 forks source link

A click on "Reload Live Bookmark" should only close the context menu, not the whole bookmark menu. #360

Open foobar13373 opened 3 years ago

foobar13373 commented 3 years ago

When right-clicking on a feed, hovering "Livemarks" and then clicking on the "Reload Live Bookmark" button, the feed gets reloaded, but the whole menu is closing.

In the past, when Firefox could still handle feeds by itself, the "reload all" button (that reloaded all feeds, not just one) only closed the context menu, not the whole bookmark menu. Then you could directly see the new items. But with Livemarks you have to re-click through the whole menu again.

The copy or cut buttons, for example, in the same context menu do not close the whole bookmark menu, but only the context menu, so I assume this must be possible for extensions as well.

foobar13373 commented 3 years ago

Any news here?

evilpie commented 3 years ago

Nothing we can do here.

foobar13373 commented 3 years ago

Is this a limitiation of the extension API? Because Firefox itself has non-menu-closing context menus, like described in the issue.

evilpie commented 3 years ago

Yes there doesn't seem to be a way to specify that the bookmarks menu shouldn't be closed when clicking something on the context menu. We use this API: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/menus/create.