Open Bug 1738786 Opened 4 years ago Updated 1 year ago

Firefox (Windows) different behaviors between ("X" or Alt+F4) vs. ("Exit") for moz-extension tabs

Categories

(Firefox :: Session Restore, defect)

Firefox 93
defect

Tracking

()

Tracking Status
firefox93 --- affected
firefox94 --- affected
firefox95 --- affected
firefox96 --- affected

People

(Reporter: irvinm, Unassigned, NeedInfo)

Details

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

Steps to reproduce:

  1. Start with a clean profile
  2. Configure Firefox to restore previous tabs on startup
  3. Install an addon that creates a moz-extension tab (Example: "Tree Style Tabs" separate options page or "Tab Manager Plus" tab view page)
  4. Open one or more moz-extension tabs (Ex: "Tab Manager Plus" -> moz-extension://66f4553a-0d5c-4f0d-b90e-41cd93b45186/popup.html or "Tree Style Plus" -> moz-extension://1cbe477b-fa77-40e3-a89b-ad18814c03a7/options/options.html#!)
  5. Close and restart Firefox via "X" or Alt+F4 and see that all moz-extension tabs are restored properly.
  6. Close and restart Firefox via "Hamburger -> Exit" and see that none of the moz-extension tabs are restored and they are now listed in the "Recently Closed Tabs".

Original discussion started here: https://www.reddit.com/r/firefox/comments/qkkyw5/different_behaviors_between_x_or_altf4_vs_exit/

Actual results:

moz-extension tabs are not properly restored when Firefox starts up when closing Firefox via "Hamburger -> Exit".

Expected results:

moz-extension tabs should be restored regardless of the method of closing Firefox.

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

Component: Untriaged → Tabbed Browser

Hi,

I wasn't able to reproduce the issue on my end. The tabs are restored properly regardless of the closing method for me.

Could you check if this issue occurs to you on Firefox Nightly? You can download it from here:
https://www.mozilla.org/en-US/firefox/channel/desktop/

Thank you for reporting!

Flags: needinfo?(irvinm)

Thank you for trying to reproduce this. I was able to still reproduce this using Firefox Developer Edition. (I wrote this info up before I saw you wanted nightly, not Developer ... more below)

Here are my steps with screenshots:

  1. Bring up Windows Sandbox for a clean OS
  2. Install Firefox Developer - FF 95.0b1 (https://i.imgur.com/7zGZrpM.png)
  3. Install Tree Style Tab (https://i.imgur.com/GE18mRR.png)
  4. Go to TST options and click on "Open this options page in more wide space" (https://i.imgur.com/H0fQbe0.png)
  5. The TST moz-extension tab is created (https://i.imgur.com/Ra9Lpyt.png)
  6. Seeing the new tab listed, go to Hamburger -> Exit to quit Firefox (https://i.imgur.com/I19hJcB.png)
  7. Start Firefox again to see moz-extension tab is gone (https://i.imgur.com/UhY1zm3.png)
  8. Look under "History -> Recently Closed Tabs" and see the moz-extension tab (https://i.imgur.com/jZp5QvV.png)

For Firefox Nightly - FF 96.0a1 ... I just tried and see the same behavior.

Flags: needinfo?(irvinm)

Thank you for the clear steps, I was able to reproduce this way as well.

I'm going to set the flags and a different component in order to get this issue looked at by the developer team.

I've also noticed that on MacOS it doesn't get restored at all, regardless of the quitting method.

Thanks again!

Status: UNCONFIRMED → NEW
Component: Tabbed Browser → Session Restore
Ever confirmed: true

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

For more information, please visit auto_nag documentation.

Flags: needinfo?(dao+bmo)
You need to log in before you can comment on or make changes to this bug.