Open Bug 1712556 Opened 2 months ago Updated 2 months ago

Users cannot hide pageAction extension buttons from the address bar

Categories

(WebExtensions :: Frontend, defect, P3)

defect

Tracking

(firefox-esr78 unaffected, firefox88 unaffected, firefox89 wontfix, firefox90 fix-optional)

Tracking Status
firefox-esr78 --- unaffected
firefox88 --- unaffected
firefox89 --- wontfix
firefox90 --- fix-optional

People

(Reporter: robwu, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Before the removal of the meatball menu in the address bar, users could right-click on the extension button and choose "Remove from Address Bar". This hid the button, and the extension button appeared as an entry in the meatball menu instead.

With the removal of the meatball menu (bug 1691454), the menu items to remove the button also disappeared (bug 1704474). Consequently, it is no longer possible for users to hide pageAction menu buttons of extensions. This kind of issue happened before, and caused dissatisfaction among users, see e.g. https://discourse.mozilla.org/t/add-ons-that-can-not-function-without-taking-space-from-the-address-bar-of-firefox/19044

As seen in that thread, users can work around the issue if extensions are updated to support the ability to remove the pageAction button (example). But if extensions do not get this update, then knowledgeable users can still use userChrome.css to hide specific pageAction buttons.

browserAction buttons don't have a remove button, but they can be removed via the "Customize Toolbar" user interface.

bug 1706583 is about this same issue, except from the perspective of the page action / address bar feature.

I filed this new bug to focus on the specific functionality (the inability to remove page action buttons) without prescribing how the functionality can be resolved. A way to re-introduce this functionality without too much maintenance cost for the frontend is to introduce the context menu option again and/or add an option to about:addons to toggle the visibility of the menu.

Our change does not necessarily need to be specific to pageActions, we can consider using the same user-facing toggle (e.g. at about:addons) to control both the pageAction and browserAction options.

See Also: → 1706583
See Also: → 1687756
See Also: → 1703537
Severity: -- → S3
Priority: -- → P3

Linking to bug 1691454 for visibility. I'll reference that other bug in the Firefox 89 release notes for developers. Interested parties can then click on "See also" to discover this bug.

Mentioned in the release notes at https://github.com/mdn/content/pull/5259 as

The "Remove from Address Bar" context menu item has been removed from the pageAction button (bug 1704474). For alternatives to this functionality, see bug 1712556.

See Also: → 1691454
You need to log in before you can comment on or make changes to this bug.