Closed Bug 1900755 Opened 4 months ago Closed 4 months ago

webext-panels.xhtml's contentAreaContextMenu is missing showservicesmenu

Categories

(WebExtensions :: Frontend, task)

task

Tracking

(firefox129 fixed)

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: tschuster, Assigned: robwu)

References

Details

Attachments

(1 file)

Unlike its main-popupset.inc.xhtml counterpart, the contentAreaContextMenu menupop in webext-panels.xhtml is missing the showservicesmenu attribute.

From https://phabricator.services.mozilla.com/D211561

See Also: → 1900757
Summary: webext-panels.xhtml' contentAreaContextMenu is missing showservicesmenu → webext-panels.xhtml's contentAreaContextMenu is missing showservicesmenu

The request for adding the showservicesmenu attribute originates from https://phabricator.services.mozilla.com/D211561?id=873707#inline-1176745

Is the Services menu item designed to work well with the extension sidebar? I have seen the Services menu item before but never used it. Is there any downside to resolving this bug by adding the showservicesmenu attribute in the referenced code?

(In reply to Rob Wu [:robwu] from comment #1)

The request for adding the showservicesmenu attribute originates from https://phabricator.services.mozilla.com/D211561?id=873707#inline-1176745

Is the Services menu item designed to work well with the extension sidebar?

Not any worse than other text-selection or input-field related context menu items in the main context menu already are, I expect. It'd need some testing.

I have seen the Services menu item before but never used it. Is there any downside to resolving this bug by adding the showservicesmenu attribute in the referenced code?

Not that I'm aware of. It could do with some testing. At some point the Services (and Autofill) menu was added everywhere if there was any selection anywhere in the window, and this meant it started showing up in e.g. tabstrip context menus, which made no sense. So I changed it to be opt-in in bug 1858409 because this annoyed me. I opted in the main page context menu; I wasn't aware that the same context menu which we reuse in webextension sidebars doesn't actually have the same root node, otherwise I would probably have added it there immediately.

I manually confirmed that the Services menu doesn't show up, and does show up with the showservicesmenu attribute and put up a patch at https://phabricator.services.mozilla.com/D214012.

Assignee: nobody → rob
Status: NEW → ASSIGNED
Pushed by rob@robwu.nl: https://hg.mozilla.org/integration/autoland/rev/46afb94b9c63 Add showservicesmenu to webext-panels.html r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
Component: General → Frontend
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: