-
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
Clearing "Site and Shields Settings" resets global Shields settings #15347
Comments
Confirming the issue is still present in the latest update Version 1.24.85 Chromium: 90.0.4430.212 (Official Build) (64-bit) |
The issue is present in the latest stable version.
|
This is expected behaviour. Site specific shields settings are part of the global site settings which will get reset if you clear site settings. cc: @bridiver |
I could understand site specific, but also global shield setting gets reset. |
@srirambv thank you for your input, but I sincerely fail to understand the idea, and looks like even @rebron isn't completely sure how all that is happening, based on this comment: #15319 (comment). How are site-specific Shields settings different to the site-specific permissions that also fall under the "Site and Shields Settings" category? We can adjust global permissions for location, microphone, etc, and then we can give websites different permissions on a site-specific basis, but here comes the huge difference: if we clear the browsing data for "Site and Shields Settings", we won't have to re-adjust the global permissions. If site-specific Shields settings are a part of the global Shields settings, aren't site-specific permissions also a part of the global permissions? According to you, if I understand you correctly, users have to go through every website they have made site-specific Shields changes if they want to change those Shields settings? Not trying to be disrespectful to anyone, I highly appreciate Brave's team's hard work, but if that's how Shields settings are supposed to work, I sincerely believe changes are required. |
@Tonev shields settings are content settings (site settings) and they are treated just like all other content settings in the chromium code, but what you are pointing out is a legitimate bug because the global settings are implemented as content settings with the default host, but global settings should not be cleared with site settings. @Tonev were the cookie settings also cleared? They shouldn't be because those use the chromium global pref value, but there is no global pref value for the others right now. Ultimately the global settings have to be implemented as content settings, but they should be changed to be automatically generated from pref values so they are unaffected by clearing site settings. |
The "Cookie blocking" option at brave://settings/shields was reset after clearing the browsing data for "Site and Shields Settings", which led to the global cookies settings at brave://settings/cookies being reset. It makes sense to me that the global Shields settings are related to the global cookies settings, but I don't know if they're supposed to reset. Other than that, clearing the browsing data for "Site and Shields Settings" leads to the site-specific section at brave://settings/cookies being cleared which is completely normal to me. This bug was easily reproduced on Android (#16217) so it would be correct to add the OS/Android label. |
Any progress on that issue? |
Some changes have been merged to fix the way defaults are set, but the defaults are currently still set as wildcard content settings. @petemill I thought you created a ticket for switching the defaults to prefs, but now I can't find it. |
Still waiting for this, so I can switch to Brave as my main browser. 🫤 |
@giwrgosmant progress has been made and some settings have been switched over to prefs, but not all of them. It's a bit complicated dealing with the settings across different versions of Brave when users have sync enabled. |
Hey I understand and I appreciate the work of Brave team. |
Description
Clearing "Site and Shields Settings" (brave://settings/clearBrowserData) resets Brave's global Shields settings (brave://settings/shields).
Steps to Reproduce
2KeGPxt5MS.mp4
Actual result:
Global Shields settings are reset.
Expected result:
Clearing "Site and Shields Settings" shouldn't reset Brave's global Shields settings. Clearing browsing data for "Site and Shields Settings" should clear site-specific Shields settings, as explained here: #15319 (comment).
Reproduces how often:
Easily
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
Worth taking a look if it's related to #15319.
The text was updated successfully, but these errors were encountered: