-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shields settings is lost after clearing data and relaunching #2400
Comments
Shields are stored as content settings so I think this is expected? Maybe more desirable as a separate item to clear but probably not an urgent bug since it seems reasonable currently as far as I can tell. |
yup, it was a separate clear item in b-l. i think it's more desirable to have shields be cleared with history than to have no way to clear shields at all |
discussed in security confab; if a setting is added for this we think it should be in chrome://settings/clearBrowserData under the |
cc @mkarolin since you've been around that code. |
+1 from community https://community.brave.com/t/settings-going-to-default/41261?u=eljuno |
+1 from @xetorixik via #4263 |
@srirambv Thanks for the heads up… |
@xetorixik it's currently labelled as a |
@btlechowski @GeetaSarvadnya I think this PR's description is outdated. |
@simonhong what?! |
Ah,, @abh-oss01 . you're right. |
@abh-oss01 2400 was fixed. Shield settings are site settings and we changed the wording to make this more clear. If you select all the checkboxes, your shields setting absolutely should be deleted just like all other sites settings. This is not a bug, this is the correct and expected behavior and the fix was to make sure people knew exactly what they were deleting. cc @bbondy |
added |
@bridiver the whole issue was opened to get the settings separated/untied from site settings |
@abh-oss01 the previous behavior was not a bug. These are all site settings and the label has been updated to make it clear that shields are part of site settings. Trying to split things up would make it even more confusing because nobody would know which checkbox (site settings vs shield settings) deleted which settings. For instance, where would JS settings go? On Chrome those are deleted as part of site settings, but in Brave they are one of the shield settings. You can also create site settings for cookies using either shields or chromium site settings. If I have cookie settings from both, will only some of my cookie settings be deleted with shield settings? The fact that we call some of the settings "shield settings" does not change the fact that all of them are in fact site settings. You are asking us to separate things in a way that @simonhong was not even sure how to implement because of things like JS and cookie settings. If Brave devs don't even know which settings should go with which checkbox, how are users supposed to know? |
@abh-oss01 also what is the use case for deleting just some of your site settings, but not others? You want to delete your site location, camera, microphone, flash, images, sound, autoplay, notifications, etc... settings, but not your cookie, httpse, js and fingerprinting settings? And that's ignoring the fact that cookie and JS are listed as part of site settings in |
The bug here is that the checkbox was not labelled in a way that made it clear to users that shields settings are part of site settings. That has been corrected because we don't want people to unintentionally delete their settings. |
@bridiver Yes, to achieve fine grain control over what gets deleted, we would've liked clearing cookies, site settings, and js leftovers, but not the shield settings. |
@abh-oss01 your comment reinforces the fact that nobody would understand exactly what gets deleted for each option if we split it up. Also if you want fine grain control over site settings, it is already available in |
Description
Shields settings is lost after clearing data and relaunching
Steps to Reproduce
Actual result:
Shields settings is lost after clearing data and relaunching
Expected result:
Clear data shouldn't reset shields settings
Reproduces how often:
Easy
Brave version (brave://version info)
Reproducible on current release:
Yes
Website problems only:
Additional Information
Issue reproduced by @kjozwiak on macOS and @GeetaSarvadnya on Windows
cc: @diracdeltas @tomlowenthal @bbondy this should probably be part of 0.58.x or any earlier hotfix
Designs
Add clear browsing data controls for Shields.
On the "Clear browsing data" panel, add a "Shields site-specific preferences" checkbox which is off by default on the "Advanced" and "On exit" tabs.
In the Shields section in Settings, add a row at the bottom to "Clear all site-specific Shields settings"
Clicking on it will trigger an alert dialogue. The user has to click "Reset Shields" to clear Shields site-specific preferences.
The text was updated successfully, but these errors were encountered: