Open Bug 2091033 Opened 15 days ago Updated 3 days ago

Firefox ctrl+shift+t doenst restore previous tabs only previous windows. Tabs lost

Categories

(Firefox :: Session Restore, defect)

Firefox 159
defect

Tracking

()

UNCONFIRMED

People

(Reporter: kangarooo, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:159.0) Gecko/20100101 Firefox/159.0

Steps to reproduce

Firefox ctrl+shift+t doenst restore previous tabs only previous windows. Tabs lost

  1. close 2nd window
  2. make new window and 1 tab
  3. close 2 tabs
  4. testore 2 tabs
  5. restores last window and previous window closed on 0 no 2nd tab on 2.

Actual results

Written before. Why asking 2 times?

Expected results

Restore tabs in restored windows

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
Component: Tabbed Browser → Session Restore

I struggled to reproduce this because the steps in the report are a bit vague, but I think I was able to get to the bottom of this. Here's what I did:

  1. Start Firefox with one window open (window A).
  2. Open a second window (window B). Load any page in it.
  3. Close window B.
  4. Open a third window (window C). Load a page in its tab.
  5. Open a new tab in window C. Load a page in its tab.
  6. Press Ctrl+W to close the tab with page 2.
  7. Press Ctrl+W again to close the tab with page 1. Window C closes because it has no tabs left.
  8. Press Ctrl+Shift+T twice.

Actual results

  • The first Ctrl+Shift+T restores window C with page 1 only.
  • The second press restores window B. The second tab in window C is not restored.
  • A third Ctrl+Shift+T in window C can restore page 2, but this is not obvious.

Expected results

  • Step 8 restores window C with page 1.
  • Step 9 restores the tab with page 2 in window C, because that tab closed after window B.
Severity: -- → S3

Yes that right. Tabs on windows with tabs not restored
https://youtu.be/4vv_qArKqic

Wrong video
Yes that right. Tabs on windows with tabs not restored
https://youtu.be/iULVBZotdyc

You need to log in before you can comment on or make changes to this bug.