Never remember history option should notify the user that previous history won't be removed
Categories
(Toolkit :: Data Sanitization, enhancement, P3)
Tracking
()
People
(Reporter: stokestack, Assigned: patel_krish, Mentored, NeedInfo)
References
Details
(Keywords: privacy)
Attachments
(2 files)
| Reporter | ||
Comment 2•16 years ago
|
||
Comment 3•16 years ago
|
||
| Reporter | ||
Comment 4•16 years ago
|
||
Comment 5•16 years ago
|
||
Comment 6•16 years ago
|
||
Updated•16 years ago
|
| Reporter | ||
Comment 7•16 years ago
|
||
Comment 8•16 years ago
|
||
Comment 9•16 years ago
|
||
Comment 10•16 years ago
|
||
| Reporter | ||
Comment 11•16 years ago
|
||
Comment 12•16 years ago
|
||
Comment 13•16 years ago
|
||
Comment 14•16 years ago
|
||
Comment 15•16 years ago
|
||
| Reporter | ||
Comment 16•16 years ago
|
||
Comment 17•16 years ago
|
||
Updated•14 years ago
|
Comment 19•13 years ago
|
||
Comment 21•13 years ago
|
||
Comment 22•13 years ago
|
||
Comment 23•13 years ago
|
||
| Reporter | ||
Comment 24•13 years ago
|
||
Comment 25•13 years ago
|
||
| Reporter | ||
Comment 26•13 years ago
|
||
Comment 27•13 years ago
|
||
Comment 28•10 years ago
|
||
Comment 29•10 years ago
|
||
Updated•6 years ago
|
Comment 30•4 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:jaws, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•4 years ago
|
Updated•3 years ago
|
Comment 32•1 year ago
|
||
Wanted to give my 2 cents on this!
We should add an option in the alert that appears when restarting Nightly, asking users: "Also clear all existing data and restart." Including this in the alert reduces the number of steps users need to remember when selecting "Never remember history."
Do we have any telemetry on how many users enable this option? Also, what might be preventing them from switching to Always Private Browsing or Clear on Shutdown instead?
| Reporter | ||
Comment 33•1 year ago
|
||
It is 12 years later, and still no one has answered why you don't just implement Marco's suggestion, made 15 years ago:
we should rephrase the pref, and/or add an option "also clear existing history"... At least if we are going to remove old history we should ask to the user to avoid dataloss, but we don't want to nag him.
Comment 34•1 year ago
|
||
We intend on changing the wording in the preferences to say something along the lines of
Nightly must restart to enable "Never remember history". Existing history data is unaffected by this setting
| Reporter | ||
Comment 35•1 year ago
|
||
Thanks. That's better than nothing, but the name of the command is still wrong. Firefox will still remember the history accrued up to that point, making the text factually incorrect. The actual behavior is "don't add any more history," which no one would guess and, I submit, almost nobody would intend.
| Assignee | ||
Comment 36•1 year ago
|
||
Hi, could I take on this bug?
Hi, please do :)
| Assignee | ||
Comment 38•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 39•1 year ago
|
||
Hey Meridel, wanted to get UX input on this bug. Our initial thoughts were to just update the string to let the user know that their previous history is not being cleared.
Let me know if you need any more context on this!
Comment 40•1 year ago
|
||
Hi Harshit! Can you help bring me up to speed on the context? Namely, can you describe why we want to make the modification and a screenshot of the current message + where/when it appears? Since this is old bug with many years of history, getting a quick summary will save us time. Thanks.
Comment 41•1 year ago
|
||
The problem arises in about:preferences > Privacy & Security > History. Users have the option to select "Never remember history" from the dropdown. Based on this bug, there can be some confusion once a user switches to this setting, as it implies that Firefox will never remember history, but it doesn't necessarily forget the history saved so far. This can be misleading, as users might expect that their previous history data will be removed upon selecting this option.
Based on Comment 9, a possible solution is to simply inform the user that selecting this option will not remove existing history. Comment 12 suggests an alternative: offering the user a dialog that allows them to clear previous history when choosing this setting from the dropdown. These are possible options, but it would be great to get some UX input on this.
Hope this clears it up!
Comment 42•1 year ago
|
||
This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit BugBot documentation.
Comment 43•1 year ago
|
||
Hello! I would like to try my hand at this problem, but it seems we still don't have a clear path forwards. Here are the two options I see:
-
... inform the user that selecting this option will not remove existing history.
-
[offer] the user a dialog that allows them to clear previous history when choosing this setting from the dropdown.
So does anyone have a consensus on which option to choose?
No consensus to move forward.
This bug already has an attached patch, which in my opinion would be good-to-take. However, it is blocked on UX team review, who weren't able to review it. There is also a chance, that the current patch submitter would update the patch if UX recommends something different, even after the long wait on ux review.
Setting assignee to current patch submitter again.
Comment 45•11 months ago
|
||
This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit BugBot documentation.
Comment 46•4 months ago
|
||
Can I work on this? If it's available I would like to take this up.
Comment 47•4 months ago
|
||
Same problem as above (comment 44). The patch is not the problem. The content-design/UX-design input is missing here. I'll take a look at bringing this up with UX folks again. I'll remove the good-first-bug until this is resolved.
Comment 48•4 months ago
|
||
Ok, I am sending a patch for this
Comment 49•4 months ago
|
||
Sorry if it wasn't clear: No please don't submit a patch. We already have a patch that is working.
Comment 51•4 months ago
|
||
I've got input from UX now. We can proceed with changing to the following strings:
HL (Headline): Restart [Firefox] now?
Body: Firefox must restart to enable this feature. Your existing browsing history won’t be deleted.
CTA 1 (Button 1): Cancel
CTA 2 (Button 2): Restart now
https://mozilla-hub.atlassian.net/browse/UXREQ-370?focusedCommentId=1370013
@krish: Would you like to pick this up again and update your patch?
Sorry for this to have been taking so long.
Comment 52•2 months ago
|
||
Clear a needinfo that is pending on an inactive user.
Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.
For more information, please visit BugBot documentation.
Updated•3 days ago
|
Comment 53•3 days ago
|
||
I've picked this up and implemented the strings UX signed off on in comment 51. Since the bug had been sitting since April and the existing patch was written against a tree layout that no longer exists, I commandeered D238541 rather than opening a new revision, so flod's and hsohaney's earlier review context stays attached. The original work is credited in the commit message — thanks krish.patel.
What the patch does
Three new Fluent messages, used only when permanent private browsing is being turned on:
| UX spec (comment 51) | New message ID |
|---|---|
HL: Restart [Firefox] now? |
restart-private-browsing-title |
Body: … Your existing browsing history won’t be deleted. |
restart-private-browsing-message |
CTA 2: Restart now |
restart-private-browsing-ok |
CTA 1 needed no work — the existing cancel-no-restart-button already reads exactly Cancel.
confirmRestartPrompt in preferences.js grows an optional trailing options object for per-caller string overrides; anything left unset falls back to the generic IDs. That keeps the change additive, so the other caller (firefoxLabs.mjs) is untouched and no existing string ID changes — which also means there's nothing for a Fluent migration to carry over. Both UI entry points route through onChangePrivateBrowsingAutoStart in privacy.mjs, so the dropdown option and the "Always use private browsing mode" checkbox both get the new wording from one call site.
I confirmed the headline actually renders: CommonDialog hides the title unless the prompt is embedded or on macOS, and this one uses MODAL_TYPE_CONTENT, so it shows on all platforms.
Both browser_warning_permanent_private_browsing.js and ..._srd.js now assert which string set the prompt was invoked with. Green locally (22 passed, 0 failed), and I verified the new assertion genuinely fires by mutating the expected ID and watching it fail.
Three things I'd like your call on
1. The disable direction. Comment 51 only specifies copy for enabling. Turning permanent private browsing back off still uses the generic feature-disable-requires-restart plus the old title and button, so the same checkbox produces differently-styled dialogs in each direction. I left it alone rather than invent unreviewed copy. Is the asymmetry acceptable, or should UX spec the disable case too?
2. Default button. The call passes aDefaultButtonIndex = 1, so Cancel is the default/focused button, and I kept that. Comment 51 lists Cancel as CTA 1, which I read as consistent, but it doesn't actually say. Confirm Cancel should stay the default?
3. Whether "history" is the right scope. This is the one I'd most like a second opinion on. The approved body says "Your existing browsing history won't be deleted." But bug 2054590 — including comment 7 and the original report — shows users are confused about cache, cookies and site data just as much as history; that reporter's complaint was specifically about "Temporary cached files and pages" persisting. Someone reading this new dialog could still reasonably conclude their cache was wiped.
Saying "your existing browsing data won't be deleted" would cover both, and matches how emz described the actual behaviour in bug 2054590 comment 5 and comment 8 (permanent PBM doesn't touch normal-browsing data at all, and doesn't consult the clear-on-shutdown category selection). I did not make that change, because rewriting UX-approved copy unilaterally is what stalled this bug the first time. Worth taking back to UXREQ-370, or keep this history-specific and handle the broader confusion separately?
Happy to update the patch for any of these.
Description
•