Browser history not cleared during SeaMonkey shutdown
Categories
(SeaMonkey :: Bookmarks & History, defect, P1)
Tracking
(seamonkey2.53+ fixed)
People
(Reporter: 1ponb, Assigned: frg)
References
(Blocks 2 open bugs)
Details
(Whiteboard: SM2.53.9)
Attachments
(8 files, 3 obsolete files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.1 Lightning/5.8.1
Steps to reproduce:
In SeaMonkey latest version 2.53.1, I create 5 profiles and in each profile my main setting is to set:
"Always ckear private date when I close Seamonkey"
with more option that it will erase all of 9 checked items (from "Browsing History", to "Authenticated Session", see menu Preferences>Privacy & Security>Private Data).
I browse some sites, say using profile1, and when I close it, a form called "Clear Private Data" is displayed that warn me before everything deleted; and I hit 'Clear Private Data Now' button.
Then I open a browser again with the same profile (profile1). A bug is, all of the link since last used, are still remembered.
This issue not happened in SeaMonkey version 2.49.5, but now happened in latest version.
Wanted to let you know that I also found this issue for all version (from version 38 to now on) of firefox browser, that why I no longer interested with firefox and I don't want this issue happen to seamonkey.
PS: I'm is a thunderbird and seamonkey lover and currently always make a donation. But now thunderbird stop all donation, please also fix it because I'll glad to make donation
Actual results:
Cookies/History not removed in a Seamonkey (or FireFox) profile
Expected results:
I want Cookies/History is completely removed in a Seamonkey (or FireFox) profile
Comment 1•5 years ago
|
||
The current component "mailnews core" seems incorrect. IIUC you're reporting a bug related to history in SeaMonkey.
Comment 3•5 years ago
|
||
You can still donate to Thunderbird: https://www.thunderbird.net/en-US/
Assignee | ||
Comment 4•5 years ago
|
||
In general clearing history works but seems there is a now problem during profile shutdown. Seems places is already gone when this is called. As in later Firefox we probably need to register a shutdown blocker for the sanitizer. As far as I see it cookies are still cleared ok.
Maybe my English is not so good. I have found someelse that has the same issue: https://www.linuxquestions.org/questions/slackware-14/seamonkey-2-53-1-on-current-preferences-not-honored-4175670714/
After the latest update, I notice two user settings that are mis-behaving. One of them is clearing browser history (and other private data) when exiting Seamonkey.
I did ahem interrupt the "checking for plugin compatibility" message during the first launch after update, b/c I was trying to look up something for a family member on the phone, so that may have borked the settings temporarily.
However, even after going into Edit/Preferences, un-checking and re-checking every desired box under Privacy & Security/Private Data, including Browsing History, I'm still getting links showing as "visited" immediately after launch. The browsing history is not being cleared at exit.
How would I go about fixing this, without wiping all my preferences?
Is anyone else encountering this behavior?
Assignee | ||
Comment 6•5 years ago
|
||
How would I go about fixing this, without wiping all my preferences?
Nothing you can do unless you are good in javascript. Needs to be fixed in the code.
Is anyone else encountering this behavior?
Yes I can reproduce it or I wouldn't have set the bug to new status. Just not that easy to fix. Much changed in the backend. We are cutting 2.53.2 beta 1 soon. I will try to get it fixed for the final 2.53.2. In the mean time clearing history via "Tools->Clear Private Data" works.
Assignee | ||
Comment 7•5 years ago
|
||
Some preliminary alignment with TB and Fx.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is --
(Backlog,) indicating it has has not been previously triaged, the bug's Severity is being updated to --
(default, untriaged.)
Comment 11•5 years ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is --
(Backlog,) indicating it has has not been previously triaged, the bug's Severity is being updated to --
(default, untriaged.)
Comment 12•5 years ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is --
(Backlog,) indicating it has has not been previously triaged, the bug's Severity is being updated to --
(default, untriaged.)
Comment 13•5 years ago
|
||
The severity of these bugs was changed, mistakenly, from normal
to S3
.
Because these bugs have a priority of --
, indicating that they have not been previously triaged, these bugs should be changed to Severity of --
.
Reporter | ||
Comment 14•4 years ago
|
||
(In reply to Frank-Rainer Grahl (:frg) from comment #6)
How would I go about fixing this, without wiping all my preferences?
Nothing you can do unless you are good in javascript. Needs to be fixed in the code.
Is anyone else encountering this behavior?
Yes I can reproduce it or I wouldn't have set the bug to new status. Just not that easy to fix. Much changed in the backend. We are cutting 2.53.2 beta 1 soon. I will try to get it fixed for the final 2.53.2. In the mean time clearing history via "Tools->Clear Private Data" works.
Sorry just checked this. You said " I will try to get it fixed for the final 2.53.2. In the mean time clearing history via "Tools->Clear Private Data" works." Is that working good for newest current version?
Assignee | ||
Comment 15•4 years ago
|
||
Is that working good for newest current version?
Yes this still works and I am sorry. For working on shutdown it needs some serious refactoring and I am constantly sidetracked. Have already worked a bit more on it but not yet ready. The work in progress patch is at the top of my local patch queue and an older version is in the unofficial releases too.
Reporter | ||
Comment 16•4 years ago
|
||
I'm very appreciate your hardwork, thank you. Why I ask that question is because I'm confused since https://www.seamonkey-project.org/releases/seamonkey2.53.5/ (in KNOWN ISSUES section) reads: "Clearing the browser history during shutdown does currently not work. Please use "Tools->Clear Private Data" as a workaround. The problem is tracked in bug 1621445".
Assignee | ||
Comment 17•4 years ago
|
||
Why I ask that question is because I'm confused
It does work in the dialog just not during shutdown. I am working on makeing both work but no ETA.
Reporter | ||
Comment 18•4 years ago
|
||
Sorry I ask the same question again; may anyone can solve the bug 1621445 ? It is very important for me and I don't know how to solve this, however I can support this project as I can. Thank guys, help me
Assignee | ||
Comment 19•4 years ago
|
||
[Approval Request Comment]
Regression caused by (bug #): --
User impact if declined: This mostly does not work with async sanitizers. Most items are already hardcoded to return true.
Testing completed (on m-c, etc.): 2.53 (in Bills builds already for a while).
Risk to taking this patch (and alternatives if risky): no risk.
String changes made by this patch: --
Assignee | ||
Comment 20•4 years ago
|
||
1ponb sorry. I will see that I find some time now to fixing it. Still no promise.
Comment 21•4 years ago
|
||
Comment on attachment 9198558 [details] [diff] [review]
1621445-2-sanitizecanclear-2537.patch pushed in comment #22 Target 2.53.7
[Triage Comment]
LGTM r/a=me
Assignee | ||
Updated•4 years ago
|
Comment 22•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 23•4 years ago
|
||
Part 3 Split to clear preferences into dialog (manually) and onShutdown.
Assignee | ||
Comment 24•4 years ago
|
||
UI as implemented in part 3.
Cleckbox for ask before clearing is gone. I kept the l10n label and key for now. Need to think if it can be resurrected during shutdown if the dialog is shown in a shutdown step before profile shutdown and can set a pref depending on ok/cancel.
For the manual clearing I would always show the dialog. I found this a bit on the dangerous side if I user accidently clicks tools->clear private data.
And now to the fun part 4 to make it actually work on shutdown :)
The In shutdown column will only appear if the checkbox for clearing on shutdown is checked.
Comment 25•4 years ago
|
||
Comment on attachment 9201633 [details]
clearprivatedataUI.PNG
So far so good.
If you add flex="1" to each of the inner groupboxes then it might look better too - can you try that and add a image of it?
Still not sure about the number of groupboxes there is on the panel.
Comment 26•4 years ago
|
||
Assignee | ||
Comment 27•4 years ago
|
||
Part 3 migration and pref ui.
Hope I fixed all the access keys. I needed to rename cache to browser cache. Using x would show "Cache (X)" in the dialog.
[Approval Request Comment]
Regression caused by (bug #): --
User impact if declined: no working sanitizer
Testing completed (on m-c, etc.): 2.53.8b1 pre
Risk to taking this patch (and alternatives if risky): broken functionality
String changes made by this patch: various.
Comment 28•4 years ago
|
||
Assignee | ||
Comment 29•4 years ago
|
||
All accesskeays are now unique. With "e" back as the accesskey for cache I backed out the change to itemBrowserChange. I removed the unused askBeforeClear access key for now. to not start another round of alphabet soup.
r/a+ from IanN retained
Assignee | ||
Comment 30•4 years ago
|
||
The sanitize dialog is a standalone dialog and I don't think it fits well in base and should be moved to a standalone component. Currently only directly exposed in browser but via the preferences dialog also in other components. l10n can sty in place in common imho.
For clarity I would prefer to rename it to SanitizerDialog.xul too. Any add-ons left using it will be left broken by the changes anyway and need to be adapted.
[Approval Request Comment]
Regression caused by (bug #): --
User impact if declined: none
Testing completed (on m-c, etc.): 2.53.8b1 pre
Risk to taking this patch (and alternatives if risky): trivial renames
String changes made by this patch: --
Comment 31•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Comment 32•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Reporter | ||
Comment 33•4 years ago
|
||
Unfortunately the bug 1621445 unsolved for the current version, hope it will good in the next version.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 34•3 years ago
|
||
Landed this for the next 2.53.9b1 pre
The patch is basically a mixup of Fx 56 and 60. sanitizer.jsm is a copy of the 60 version plus our additions for passwords and location bar and minus telemetry.
The dialog now contains the time range but I removed the silly drop down in Fx.
The time range is not honored by all sanitizers and all data will be deleted. This is now how it is in Fx too.
The height will jump if you switch the range back and for to evrything. Same as in Fx. Hint to do it better appreciated.
One additional item site settings has been added. Trying to keep the access keys distinct is a loosing game so I gave up. They will cycle if you use them and that is ok for me.
suite/modules/OfflineAppCacheHelper.jsm has been added. I thought first to split this but it is a 1K file and trivial. Was moved to toolkit in Fx later and deleted in 90 so you will no longer find it there. It was also named offlineAppCache.jsm which I found confusing given the function it exposes and the lower case.
2.57 might need an addtional patch on top. I think the prefpane stuff gone from it. Will test and fix later.
Tested the dialog and the shutdown function and unlike the current code seems to do the job.
Assignee | ||
Comment 35•3 years ago
|
||
Drive by fix. If you clear all permissions the notification binding will choke on it.
[Approval Request Comment]
Regression caused by (bug #): --
User impact if declined: error in the log
Testing completed (on m-c, etc.): 2.53.9
Risk to taking this patch (and alternatives if risky): trivial
String changes made by this patch: --
Comment 37•3 years ago
|
||
Comment 38•3 years ago
|
||
Comment 39•3 years ago
|
||
Comment on attachment 9224152 [details] [diff] [review]
1621445-6-notification-2539.patch
[Triage Comment]
LGTM r/a=me
Comment 40•3 years ago
|
||
Comment on attachment 9224151 [details] [diff] [review]
1621445-5-sanitizecanclear-2539.patch
Looks good in general
--- a/suite/components/sanitize/Sanitizer.jsm
+++ b/suite/components/sanitize/Sanitizer.jsm
@@ -1,254 +1,981 @@
-/* -- indent-tabs-mode: nil; js-indent-level: 2 -- /
-/ vim: set ts=2 et sw=2 tw=80 filetype=javascript: /
+// -- indent-tabs-mode: nil; js-indent-level: 2 -*-
Why did you remove the "vim" line?
.jsm is not necessarily an always understood file extension...
Assignee | ||
Comment 41•3 years ago
|
||
I put the warning on top. Look best to me. Can put it below too as a test if needed.
I simplified the whole dialog logic. Thought about it and all the hubhub Fx does is imho not worth it. As suggested and I agree warning should always be displayed. The text flip flop with cycling everything and selected only complicates the logic and is not really needed. All the items are grouped together with no scrolling needed and if we specify that the selected items are cleared this is always correct.
If we need a distinction it is for items not honoring the time range but I think this should be done in a follow-up then.
Followup for the prefs might be needed for 2.57. Will test later.
We almost have no vim lines left. I copied the Mozilla esr 60 sanitizer file for this and it does not have it either. I would get either get rid of them over time or put them in all files.
Comments hopefully all adressed.
[Approval Request Comment]
Regression caused by (bug #): --
User impact if declined: sanitizer not working correctly
Testing completed (on m-c, etc.): 2-53-9
Risk to taking this patch (and alternatives if risky): Needs to be fixed sooner or later.
String changes made by this patch: various.
Assignee | ||
Comment 42•3 years ago
|
||
Just reformatting for already landed patch.
Comment 43•3 years ago
|
||
Comment on attachment 9224198 [details] [diff] [review]
1621445-5-sanitizecanclear-v1_1-2539.patch
[Triage Comment]
LGTM r/a=me
Comment 44•3 years ago
|
||
Comment on attachment 9224199 [details] [diff] [review]
1621445-7-privatdataformat-2539.patch
[Triage Comment]
LGTM r/a=me
Comment 45•3 years ago
|
||
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/fc07c2258b50
Part 4: Rename sanitize.xul to sanitizeDialog. r=IanN
https://hg.mozilla.org/comm-central/rev/c30f8ea303bd
Part 5: Align Sanitzer with Firefox. r=IanN
https://hg.mozilla.org/comm-central/rev/bd1cc82c7bea
Part 6: Don't try to process changed permission after using clear all. r=IanN
https://hg.mozilla.org/comm-central/rev/5bf99524a7f6
Part 7: Reformat private data preferences dialog. r=IanN
Assignee | ||
Updated•3 years ago
|
Comment 46•3 years ago
|
||
Reporter | ||
Comment 47•3 years ago
|
||
Unfortunately this bug is unfixed for the current version, I appreciate your hard work for this, thank you. Hopefully it will solved soon in the next version.
Assignee | ||
Comment 48•3 years ago
|
||
Unfortunately this bug is unfixed for the current version
Which is expected because it has a target of 2.53.9 not 2.53.8.
If you need this now try the 2.53.9b1 prerelease build:
https://www.wg9s.com/comm-253/
Assignee | ||
Comment 49•3 years ago
|
||
https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/d5f5da921ddcd306ee6dc05fa85a1cefb73aa491
Part 1: Move js code out of sanitize.xul. r=IanN a=IanN
https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/c7a6d2a2c63c1e811efaeff302356d4a982136f5
Part 2: Remove canClear support from the Sanitizer. r=IanN a=IanN
https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/ec54fa2f38e1eaefe92f3327c54e0eaa4c343d87
Part 3: Rename privacy.item. prefs to privacy.clearOnShutdown. r=IanN a=IanN
https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/fc7b5f5ac7c062692930a098724bc1707b05b265
Part 4: Rename sanitize.xul to sanitizeDialog. r=IanN a=IanN
https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/147ee7cd4b1f27fe93f83f23f7f6ff9ec6002445
Part 5: Align Sanitzer with Firefox. r=IanN a=IanN
https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/ebec7b6783de0c0c4137de582f16860345c41486
Part 6: Don't try to process changed permission after using clear all. r=IanN a=IanN
https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/9015da3a10c5c8b0370c5a247e9fbedd2f07b785
Part 7: Reformat private data preferences dialog. r=IanN a=IanN
https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/4ae8abc9bed95dfa4c46916d6868a3c6f4f1c51e
Part 8: Fix missing declaration. r=bustage-fix a=me
Description
•