当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Restore session does not work when (all) history is set to be deleted on shutdown

  • 4 件の返信
  • 1 人がこの問題に困っています
  • 19 回表示
  • 最後の返信者: zithro

more options

Hi,

the title says it all, here are the steps to reproduce:


1. Check "Restore previous session"

2. Select "Use custom settings for history"

3. Check "Clear history when FF closes" and click settings

4. Select all 7 items

5. Leave a tab open and restart FF

6. Starting with a blank session


Is it normal behavior ? It used to work.

Thanks

PS: how do line feeds work here ? I want a simple CRLF between the ordered list for instance.

Hi, the title says it all, here are the steps to reproduce: 1. Check "Restore previous session" 2. Select "Use custom settings for history" 3. Check "Clear history when FF closes" and click settings 4. Select all 7 items 5. Leave a tab open and restart FF 6. Starting with a blank session Is it normal behavior ? It used to work. Thanks PS: how do line feeds work here ? I want a simple CRLF between the ordered list for instance.

この投稿は zithro により に変更されました

選ばれた解決策

WestEnd said

And what do you mean used to work? How did you document that?

cor-el said

If you use "Clear history when Firefox closes" to clear the browsing history then you can't restore tabs from the previous session because clearing history this way overrides sessionstore.

It simply worked, until v63-65 I think. I'm using FF since version ~1.5 by the way. To me, it is a bug as "places.sqlite" and sessionstore/"recovery.js" are different files and have completely different functions ! Plus the fact that the "Restore previous session" checkmark keeps checked BUT the session does not get restored, is really confusing to users, don't you think ?! If there's no bug filed in bugzilla, I need to create one. It's not the only bug I've seen in the GUI, or rather non matching values between checkmarks in the GUI and values in about:config. And that bothers me a lot as I'm using a mozilla.cfg file to set preferences.

You will at least have to disable clearing the history. You can always clear history manually yourself, but you can't do this automatically when you close Firefox if you want to use sessionstore to reopen tabs.

Yeah, I realized unchecking "Delete history and downloads" would work ... As said above, how counter-intuitive. In fact, and fortunately, I only have a few "always fresh" profiles, most of them keep history and session. In my mozilla.cfg file I used defaultPref("privacy.clearOnShutdown.history", false); instead of lockPref(...).

And thanks for the addon suggestion, but I use zillion of profiles so addons are a no-go ;)

この回答をすべて読む 👍 0

すべての返信 (4)

more options

If you checked those options it will clear out regardless since that is a new Windows it consider that and clears out everything. And what do you mean used to work? How did you document that?

more options

If you use "Clear history when Firefox closes" to clear the browsing history then you can't restore tabs from the previous session because clearing history this way overrides sessionstore. You will at least have to disable clearing the history. You can always clear history manually yourself, but you can't do this automatically when you close Firefox if you want to use sessionstore to reopen tabs.

more options

Give this a try; Expire history by days Allows to expire history older than a fixed amount of days.

more options

選ばれた解決策

WestEnd said

And what do you mean used to work? How did you document that?

cor-el said

If you use "Clear history when Firefox closes" to clear the browsing history then you can't restore tabs from the previous session because clearing history this way overrides sessionstore.

It simply worked, until v63-65 I think. I'm using FF since version ~1.5 by the way. To me, it is a bug as "places.sqlite" and sessionstore/"recovery.js" are different files and have completely different functions ! Plus the fact that the "Restore previous session" checkmark keeps checked BUT the session does not get restored, is really confusing to users, don't you think ?! If there's no bug filed in bugzilla, I need to create one. It's not the only bug I've seen in the GUI, or rather non matching values between checkmarks in the GUI and values in about:config. And that bothers me a lot as I'm using a mozilla.cfg file to set preferences.

You will at least have to disable clearing the history. You can always clear history manually yourself, but you can't do this automatically when you close Firefox if you want to use sessionstore to reopen tabs.

Yeah, I realized unchecking "Delete history and downloads" would work ... As said above, how counter-intuitive. In fact, and fortunately, I only have a few "always fresh" profiles, most of them keep history and session. In my mozilla.cfg file I used defaultPref("privacy.clearOnShutdown.history", false); instead of lockPref(...).

And thanks for the addon suggestion, but I use zillion of profiles so addons are a no-go ;)

この投稿は zithro により に変更されました