Open Bug 2024814 Opened 2 months ago Updated 27 days ago

inconsistent behavior occurs when closing window with tab groups

Categories

(Firefox :: Tabbed Browser: Tab Groups, defect, P3)

Firefox 148
defect

Tracking

()

UNCONFIRMED

People

(Reporter: jason830301, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-tabgrps])

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0

Steps to reproduce:

Open multiple windows with one or multiple tab groups in each window

While keeping at least one window opened:

  • open/close tabs in one of the windows
  • close the window with changed tab group

Actual results:

only closing a tab will be persistent when re-opening the tab group.
New tab opened to the group will not be stored

Expected results:

If only one window is opened, changes to tab group(s) in said window are preserved after close and reopen Firefox

Closing and opening tabs should always update tab group after window closed

The Bugbug bot thinks this bug should belong to the 'Firefox::Tabbed Browser' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Tabbed Browser

Thanks for filing this bug!
Does this only reproduce with new tabs? Those don't get saved to the session.
Could you provide a screen recording of this bug. That would be very helpful for us to reproduce!

Flags: needinfo?(jason830301)

Redirect a needinfo that is pending on an inactive user to the triage owner.
:kcochrane, since the bug has recent activity, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jason830301) → needinfo?(kcochrane)
Flags: needinfo?(kcochrane)

The severity field is not set for this bug.
:kcochrane, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(kcochrane)
Flags: needinfo?(kcochrane)

Hi, Jason, can you please confirm whether you see this behavior when adding tabs that contain loaded pages? We intentionally do not save empty tabs (about:blank, about:newtab, etc.) in tab groups.

Component: Tabbed Browser → Tabbed Browser: Tab Groups
Flags: needinfo?(jason830301)
Attached video 2026-04-22-140426.mp4

add screen record for reproducing the behavior

Flags: needinfo?(jason830301)

(In reply to Stephen Thompson [:sthompson] from comment #5)

Hi, Jason, can you please confirm whether you see this behavior when adding tabs that contain loaded pages? We intentionally do not save empty tabs (about:blank, about:newtab, etc.) in tab groups.

please see the added video, opened tabs are loaded google home pages

Attached video 2026-04-22-140517.mp4

behavior when only one window is opened

Thanks for the additional info and screen recording! That's very helpful. I'll take a look at the code that auto-saves a tab group when a window closes and see if there's any difference with when the browser shuts down completely with the last window closing.

Severity: -- → S3
Flags: needinfo?(sthompson)
Priority: -- → P3
Blocks: tab-groups
Flags: needinfo?(sthompson)
Whiteboard: [fidefe-tabgrps]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: