Closed
Bug 2040752
Opened 6 months ago
Closed 3 months ago
Add context menu to new sidebar open tabs panel
Categories
(Firefox :: Sidebar, enhancement)
Firefox
Sidebar
Tracking
()
RESOLVED
FIXED
155 Branch
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | fixed |
People
(Reporter: nsharpley, Assigned: dr.seed.lu, Mentored)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-sidebar][outreachy-sidebar-2026])
Attachments
(1 external file)
browser/base/content/main-popupset.inc.xhtml
- Add
<menupopup id="sidebar-opentabs-context-menu">with items: Open in Window, Open in Private Window, Copy Link, Close Tab
browser/locales/en-US/browser/sidebar.ftl
- Add sidebar-opentabs-context-close-tab (context menu items for open/copy can be shared with existing strings)
browser/components/sidebar/sidebar-opentabs.mjs
handleEvent(e):
- "contextmenu" / "command" → context menu dispatch
Test coverage:
- Context menu "Close Tab" closes the tab
- Context menu "Copy Link" copies the URL
Updated•6 months ago
|
Adds a context menu to the Open Tabs sidebar panel with Open in New
Window, Open in New Private Window, Copy Link, and Close Tab. The first
three reuse the shared sidebar context-menu handling in sidebar-page.mjs;
Close Tab is handled in the panel and removes the tab via gBrowser.
The menu is wired to the panel through the existing contextMenuId
mechanism, matching the history, synced tabs, and bookmarks panels.
It is shown for tab rows only. Only the Close Tab label is a new string.
Updated•4 months ago
|
Assignee: nobody → dr.seed.lu
Status: NEW → ASSIGNED
Pushed by kcochrane@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/ff8aa8f68575
https://hg.mozilla.org/integration/autoland/rev/a67204f81b8d
Add a context menu to the sidebar open tabs panel r=nsharpley,kcochrane,fluent-reviewers,bolsson
Comment 3•3 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
status-firefox155:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
Updated•3 months ago
|
QA Whiteboard: [qa-triage-done-c156/b155]
You need to log in
before you can comment on or make changes to this bug.
Description
•