Open Bug 1772056 Opened 2 years ago Updated 2 years ago

add an option to quit Firefox on when last tab/window is closed

Categories

(Firefox :: Session Restore, enhancement)

Firefox 101
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: vito.detullio, Unassigned, NeedInfo)

Details

Steps to reproduce:

On MacOS it's possible, clicking on the red button, or closing all the open tabs, to have Firefox "still running" but without open windows.
This is the "standard behavior".
This also hinibit the "restore session on opening" behavior (Firefox has not been quit, and a new "pristine" window will open), close also pinned tabs (as they are linked to the last closed window) and "brokes" some estensione, like simple tab groups, as, again, the application is still running when you click on the red button.
I would like to have an option, or even just a setting in about:config that actually male Firefox quit when the last open window has been closed

Actual results:

Using MacOS, Firefox is running, only one window is open.
I close Firefox with the red button.
Firefox is still running, with no open windows.
I click on Firefox icon, a new (different) window opens.

Expected results:

At the close "request" Firefox detects it was the last window opened.
Firefox then quit itself.
I click on Firefox icon. The application start, the session is restored.

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

Component: Untriaged → Session Restore

Hi Vito,

That is just how applications are handled when clicking the red x button on MacOS, you can fully quit Firefox by using the shortcut (⌘+q), click on Firefox near the apple logo on the upper left side and select "Quit Firefox" or (control+click) on Firefox in the Dock and hit Quit from there.

  • Additionally, you can uncheck "Confirm before quitting with ⌘Q" in about:preferences so it closes without the prompt when using the shortcut.

I agree with you about the fact that some applications interpreter the "red x button" as "hide the window, but keep running in background", but, some of them, like iterm have a configurable behavior.
As some of the features of firefox relies on it being "actually quit", I would like to make "the right thing easy"

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)
Type: defect → enhancement
You need to log in before you can comment on or make changes to this bug.