Clicking "delete group" on group context menu in tab groups list doesn't dismiss toolbar panel
Categories
(Firefox :: Tabbed Browser: Tab Groups, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | fixed |
People
(Reporter: sthompson, Assigned: bugzilla)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-tabgrps])
Attachments
(1 file)
With browser.tabs.groups.alternateMenu enabled, restart Firefox, right-click the toolbar, choose to customize the toolbar, and add the Tab Groups toolbar button to the nav bar.
Create a tab group. Click the Tab Groups toolbar button, then right-click the tab group in that list. It opens a tab group context menu. Choose the "delete group" context menu entry.
This correctly deletes the tab group (and for a saved group, "delete group" will correctly forget the group). However, the tab groups list stays open and continues displaying the tab group that was just removed.
The Tab Groups toolbar button panel should be closed when taking any action. The "open group" and "move group" options in the context menu already seem to dismiss the panel, but the "delete group" options in the open group and saved group context menus do not dismiss the menu.
| Reporter | ||
Updated•3 months ago
|
Updated•3 months ago
|
The tab-groups-list element only populated its state when connected,
so deleting a group from the row context menu left a stale row in the
list until the panel was reopened. Observe
browser-tabgroup-removed-from-dom and
sessionstore-saved-tab-groups-changed (the same notifications the
GroupsList-based menu uses) to repopulate in place. The observers are
registered weakly because the app menu instance stays connected for
the lifetime of the window.
Updated•3 months ago
|
Updated•3 months ago
|
Comment 3•1 month ago
|
||
| bugherder | ||
Updated•25 days ago
|
Description
•