Shield settings not be saved when I close the browser

Description of the issue: Shield settings not be saved when I close the browser

Steps to Reproduce (add as many as necessary):

1. Open browser to surf web

2. As I surf I unbreak the sites via shields options so I can use them . Also as I am using the sites if I have multiple tabs of the same site I have to do it every time on every tab even if I refresh the tab.

  1. Close browser when done and when I go back the the same sites I have to do it again.

Actual Result (gifs and screenshots are welcome!):

Expected result: Shield settings saved and not reverted after closing

Reproduces how often: Every time I use brave

Operating System and Brave Version(See the About Brave page in the main menu): windows 10 brave 1.85.118

Additional Information:

@jaru

Correcting my blundering of 2 days ago . . .

For the following, my reference to the Brave Browser Site Specific Shields settings, applies to the Brave Lion icon (that you click) very nearby the right end of the Brave Browser URL address field.

Brave Browser Site Specific Shields settings CHANGES tend to NOT stick when using Brave Browser Private Windows.

IF you start up Brave Browser and use only Brave Browser “normal” aka “regular” aka “standard” Windows, and visit some website, and make a change in the Brave Browser Site Specific Shields settings ← those settings changes will probably stick for both:

  • Brave Browser “normal” aka “regular” aka “standard” Windows
  • Brave Browser Private Windows

BUT, the settings will not stick (should not stick), if you cleared them by having the Site and Shields Settings switch Enabled for the Advanced tab at brave://settings/clearBrowserData ← and you clicked the Delete data button.

AND, the settings will not stick (should not stick), if you clear them by having the Site and Shields Settings switch Enabled for the On exit tab at brave://settings/clearBrowserData ← and you Exit / Quit Brave Browser.

SIDE NOTE: A pattern I have noticed for Brave Browser desktop:

When you bookmark a webpage and are using a Brave Browser Private Window, the bookmark’s icon in the Brave Browser Bookmarks list and Bookmarks Manager window may be generic ← the webpage/website icon is not displayed.

When you bookmark a webpage and are using a Brave Browsers “normal” aka “regular” aka “standard” Window, the bookmark’s icon in the Brave Browser Bookmarks list and Bookmarks Manager window will probably reflect the icon/image for the webpage/website of interest. So, there may be a correlation (repeat, maybe):

  • Webpage / website icon displays for bookmark → Brave Browser Site Specific Shields settings stick.

  • Webpage / website icon DOES NOT display for bookmark → Brave Browser Site Specific Shields settings might not be sticking.


Tips regarding Brave Shields:

I have more success, with:

  • Brave Shields UP, but . . .
  • Either Allow All Cookies or Block 3rd Party Cookies, but NOT Blocking All Cookies
  • Allowing JavaScripts from specific sources, but NOT Allowing All JavaScripts
  • Trackers & Ads treatment: Aggressive (at first), and then incrementally relaxing that setting
  • Fingerprinting (aka footprinting) blocking: Strict (at first), and then incrementally relaxing that setting

I almost NEVER use:

  • All of Brave Shields UP
  • All of Brave Shields DOWN

Shields Basics

How do I configure global and site-specific Shields settings?

How do I use Shields while browsing?

When I go to brave://settings/clearBrowserData the options dont have a site and shields under the basic tab (time range doesnt matter)

Also when I followed these directions the issue wasnt fixed.

@jaru

Apologies; I have updated my previous reply, above.

No worries
I am not using private windows. The dark theme may make it look as if I do though.
I cant seem to figure out how to make it work and am unsure what exactly broke it.
My guess is an update as I didnt make any changes once I had it set up and it worked fine for months then one day it was broke.
Is there a way to get a previous version of brave that isnt broke?

This is because you have the Basic tab selected in the Delete browsing data window. Site and Shield data can be viewed on the Advanced and On Exit tab. So I would first click the On exit tab and ensure you do not have browsing data set to be cleared when the browser is closed. If it is, please uncheck the Site and Shields settings option and this should resolve the issue.

If that is not the case, then can you please confirm whether or not this occurs on every site or is it just specific sites? Would it be possible for you to share a short screen recording of the behavior so we can see it in action?

Lastly, I would be curious to know if this occurs when using a fresh browser profile. You can test this by opening Brave, clicking the main menu, then More tools --> Add profile to create an additional profile with no pre-associated data. Close your original profile window (so only the newly added one is open), then try and reproduce the issue with Shields in the new profile.

Let me know what you find out.