Closed Bug 1949419 Opened 6 days ago Closed 4 days ago

Sort groups in "Add Tab to Group" sub menu in recently used order

Categories

(Firefox :: Tabbed Browser, enhancement, P2)

Desktop
Unspecified
enhancement
Points:
1

Tracking

()

VERIFIED FIXED
137 Branch
Tracking Status
firefox-esr128 --- disabled
firefox135 --- disabled
firefox136 --- disabled
firefox137 --- verified

People

(Reporter: rdoghi, Assigned: dao)

References

(Blocks 2 open bugs, Regression)

Details

(Whiteboard: [fidefe-tabgrps-panels])

Attachments

(2 files)

Found in

  • 137.0a1 (2025-02-20)

Affected versions

  • 137.0a1 (2025-02-20)

Affected platforms

  • all

Preconditions

  • NA

Steps to reproduce

  1. Create a few tab groups.

Expected result

  • Each time a new tab group is created it should be displayed at the top of the Add Tab to Group submenu, this way a user can either add a tab to the previously created group or he can just create a New group without having to scroll all the way back up.

Actual result

  • Each time a Tab group is created its added to the bottom of the Add Tab to Group submenu

Regression range
Not a Regression

Amy, what's your take on this?

Blocks: 1908428
Severity: -- → S3
Points: --- → 2
Flags: needinfo?(amlee)
Keywords: blocked-ux
Priority: -- → P2
Whiteboard: [fidefe-tabgrps-panels]

I agree, the list order should be most the most recent created groups are at the top. If the list is long and there is scrolling, it should default to always be at the top of the list.

Flags: needinfo?(amlee)
Keywords: blocked-ux
Points: 2 → 1
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1593db2777b7 Sort groups in "Add Tab to Group" sub menu in recently used order. r=dwalker,tabbrowser-reviewers
Status: ASSIGNED → RESOLVED
Closed: 4 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
Attached video RecentlyCreated.mp4

Hi @Dao, can you take a look at the screen recording there seems to be some discrepancy, The Recently created Groups are not always displayed at the top, sometimes they are displayed a little lower in the list.

Flags: needinfo?(dao+bmo)

Yes, for the sake of simplicity, the sorting is now based on the group's last used time, which is derived from the group's tabs. So if you create a group from a tab that you haven't selected in a while, that group won't be at the top of the list. If you don't mind filing a new bug, we can look into making this a bit smarter for new groups, although perhaps not for 137 at this point.

Flags: needinfo?(dao+bmo)
Summary: Add to a Tab group menu should show recently created Tab groups at the top → Sort groups in "Add Tab to Group" sub menu in recently used order

This issue is Verified as fixed in our latest Nightly build 137.0a1 (2025-02-24) , also added Bug 1950298 for Dao's suggestion.

Status: RESOLVED → VERIFIED
Regressed by: 1950298
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: