為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

"Restore previous session" does not work after private mode

  • 10 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 FredMcD

more options

I have selected the option "Restore previous session". Normally, it works fine, but if the last Firefox window closed before was in private mode, it doesn't - instead I get the last sessions of this private window. I'm not quite sure, but I think this behavior was different (= Firefox restores always the tabs from the last non-private window) before one of the last updates.

I have selected the option "Restore previous session". Normally, it works fine, but if the last Firefox window closed before was in private mode, it doesn't - instead I get the last sessions of this private window. I'm not quite sure, but I think this behavior was different (= Firefox restores always the tabs from the last non-private window) before one of the last updates.

被選擇的解決方法

First, you need to be careful about what window gets closed.

Sometimes when surfing, I end up accidentally closing the window. A bit of a hassle getting it back but I found a better way. When I start the browser, I drop the first window to the taskbar. I then open a second window and do my work in it. Now if I happen to close the work window, I use the first window to call it back.

從原來的回覆中察看解決方案 👍 1

所有回覆 (10)

more options

Profile data can be removed or not recorded in several ways;

  • 1) Running Firefox in Private Mode (nothing is recorded)
more options

That's what I would expect, but obviously in my case it works inversely: When reopening Firefox, I always get the tabs of the last closed window, even if it was private. What I want when I open Firefox (and what I got before one of the latest updates, if I remember correctly) are the tabs of the last non-private window.

more options

Hmm, I don't think private window tabs should ever be restored, so that is very troubling. The restored window has the white-mask-on-purple-circle at the upper right?

Can you recover the closed regular window using either:

  • "3-bar" menu button > Library > History > Recently Closed Windows
  • "Library" toolbar button > History > Recently Closed Windows
  • (menu bar) History > Recently Closed Windows
more options

Thank you! The Answer to your question: The restored window is NOT private.

more options

PS: Yes, I can recover the regular tabs as described.

more options

I was sure I could (and did) reproduce the error before I opened this problem, but now I can't :-(. Maybe I unintentionally opened multiple regular windows and mixed it up with my private window (normally one), so that the last window closed was indeed a regular one. So I will mark this as solved until I get the "error" again.

more options

Use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox Title bar, especially if you have Private Browsing mode windows open.

  • "3-bar" menu button -> Exit (Power button)
  • Windows: File -> Exit
  • Mac: Firefox -> Quit Firefox
  • Linux: File -> Quit
more options

Note that this can happen if you first close the regular window and then close the PB mode window. That makes Firefox think you close a PB mode session and sessionstore.jsonlz4 isn't created.

more options

Yes, that describes excactly my problem! But is there a setting to prevent this, i. e. making Firefox to remember always the last closed regular window?

more options

選擇的解決方法

First, you need to be careful about what window gets closed.

Sometimes when surfing, I end up accidentally closing the window. A bit of a hassle getting it back but I found a better way. When I start the browser, I drop the first window to the taskbar. I then open a second window and do my work in it. Now if I happen to close the work window, I use the first window to call it back.