SituationBy user request, added a preference browser.bookmarks.openInTabClosesMenu (default true) to allow users to configure if they want to keep the bookmarks menu open if they open bookmarks from it in a new tab (by middle-clicking or Ctrl-clicking). The default behavior is to close the bookmarks menu like any other menu when an option in it is clicked.
The new preference works at expected and as stated when using "middle-clicking or Ctrl-clicking" to open a bookmark in a new tab.
The new preference does not work as expected when using the right-click context menu option 'Open in a New Tab' to open a bookmark.
When opening a bookmark using the 'Open in a New Tab' right-click context menu option the Bookmarks Menu does not auto-close as expected with preference 'browser.bookmarks.openInTabClosesMenu' set to 'true' (default). Instead, when using the right-click 'Open in a New Tab' the Bookmarks Menu remains open regardless of the new preference setting.
Tests
With new preference 'browser.bookmarks.openInTabClosesMenu' set to 'true' (default) in Pale Moon 32.5.0:
1. Test on a new profile of Pale Moon 32.5.0 on Win10:
Open a bookmark from Bookmarks Menu by selecting 'Open in a New Tab' from the right-click context menu:
- EXPECTED RESULT - Selected bookmark opens in a new tab and the Bookmarks Menu closes automatically.
- ACTUAL RESULT - Selected bookmark opens in a new tab and the Bookmarks Menu stays open.
Open a bookmark from Bookmarks Menu by selecting 'Open in a New Tab' from the right-click context menu:
- EXPECTED RESULT - Selected bookmark opens in a new tab and the Bookmarks Menu closes automatically.
- ACTUAL RESULT - As expected.