Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章。

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解
Open

Unable to restore session after closing firefox with red X on Mac

zielinski.kasper

I've run into an issue on macOS where Firefox does not restore my previous session if I close the browser using the red "X" window button. I have the "Open previous windows and tabs" checked in settings.

• Scenario A: If I click the red "X" button to close the Firefox window and then reopen Firefox, my previous tabs are gone (except for pinned tabs) and a new session is started.

• Scenario B: If I use Cmd + Q (or Firefox > Quit) to close the application, my session restores perfectly upon the next launch.

It seems that closing the window updates the session state to an empty window, wiping out the saved session even though the application process is still running in the macOS dock.

Is there a way to configure Firefox on macOS so that closing the last window via the red "X" preserves the session tabs just like Quitting does?

I've run into an issue on macOS where Firefox does not restore my previous session if I close the browser using the red "X" window button. I have the "Open previous windows and tabs" checked in settings. • Scenario A: If I click the red "X" button to close the Firefox window and then reopen Firefox, my previous tabs are gone (except for pinned tabs) and a new session is started. • Scenario B: If I use Cmd + Q (or Firefox > Quit) to close the application, my session restores perfectly upon the next launch. It seems that closing the window updates the session state to an empty window, wiping out the saved session even though the application process is still running in the macOS dock. Is there a way to configure Firefox on macOS so that closing the last window via the red "X" preserves the session tabs just like Quitting does?

所有回复 (1)

This is the behavior of macOS apps: support.mozilla.org/questions/1597050#answer-1837966 — running with empty windows when eventually closing the app down then later restores that blank session on next start — you should still however have the ability to open it back via History › Recently closed window even after restarting (the same way as before shutting down too potentially).

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题。