brave-browser: Downloads bubble doesn't popup when the download is blocked/dangerous (safe browsing disabled)
Description
@simonhong there is an tiny little bug with the Downloads bubble, where if you disable Safe browsing and a ‘dangerous’ downloaded is blocked, the bubble doesn’t popup, and the only way to download the file is by going to downloads page (ctrl+j) and click keep and then keep it anyway.
The easiest way to reproduce this is by creating a new profile, but I noticed it is also affecting my normal profile where I have never had Safe Browsing enabled.
The bug seems to get resolved in normal windows if you click keep and then keep anyway, in my test, new downloads are working as expected after doing that, even on restart.
Also, it worked fine when I had Safe Browsing on and downloaded a file, and then disabled it.
I guess the problem seems to be bigger for InPrivate windows though, because I noticed that if you download a file and ‘fix’ the issue by keeping the file, once you close the window and open a new InPrivate window and try to download a ‘dangerous’ file again, the bubble will not popup until you keep it and keep it anyway again.
Steps to Reproduce
- Create new profile/User Data.
- go to brave://settings/security and disable Safe Browsing.
- Go to
https://www.majorgeeks.com/mg/get/fort_firewall,2.html - Nothing seems to happen
- Go to downloads page, and the download should only appear there to discard it or keep it
- (optional) Discard it and go back to the page and try to download the file again to confirm it still doesn’t work.
- Click keep and then keep anyway
- Future downloads should show the bubble as expected (until it doesn’t)
Actual result:

Brave version (brave://version info)
1.52.36 Chromium: 112.0.5615.49 (Official Build) nightly (64-bit) - Windows 11 Pro 21H2 22000.1696
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 15 (6 by maintainers)
Links to this issue
Commits related to this issue
- Fixed download button is not shown when dangerous file downloaded fix https://github.com/brave/brave-browser/issues/29651 — committed to brave/brave-core by simonhong a year ago
- Fixed download button is not shown when dangerous file downloaded fix https://github.com/brave/brave-browser/issues/29651 — committed to brave/brave-core by simonhong a year ago
- Fixed download button is not shown when dangerous file downloaded fix https://github.com/brave/brave-browser/issues/29651 — committed to brave/brave-core by simonhong a year ago
- Fixed download button is not shown when dangerous file downloaded fix brave/brave-browser#29651 — committed to brave/brave-core by simonhong a year ago
- Fixed download button is not shown when dangerous file downloaded fix brave/brave-browser#29651 — committed to brave/brave-core by simonhong a year ago
- Fixed download button is not shown when dangerous file downloaded fix brave/brave-browser#29651 — committed to brave/brave-core by simonhong a year ago
- Fixed download button is not shown when dangerous file downloaded (uplift to 1.52.x) (#19151) * Fixed download button is not shown when dangerous file downloaded fix brave/brave-browser#29651 *... — committed to brave/brave-core by emerick a year ago
I’ll take a look