How to stop Brave auto-opening PDF files?

@Mattches yeah, you can see the version of Brave Beta and all I was using in that video. Only other consideration is it’s on Android 10 because it’s an old Samsung Galaxy S9. But I doubt that would/should have anything to do with it.

I also had cleared data and completely uninstalled the Brave Beta app in case it was some weird setting toggle. But even after that and doing a fresh install, the option was there and worked well, not automatically opening in Brave. Tried skimming through all the other settings and couldn’t find anything to change it to other behavior.

Has this already been implemented?

I see “Download > Automatically open PDFs” toggle ON/OFF on my phone but not on tablet.

@Mattches @Saoiray Hello!
I’ve been following the issue since it was raised - https://github.com/brave/brave-browser/issues/48477 - and consequently I downloaded Nightly to keep an eye on it.
On the first update the flag had been added but was inactive, with everything exactly the same as I reported.
I’ve just received the next and latest update - v1.83.76 - and now everything is working as it should and with all the correct options in Download settings.
Hopefully it’ll be in Beta before not too long and a big Thank You!

Just updated to Beta v1.83.86 and the flag is active with everything as it should be.
Thanks again!

@b2025b haven’t heard from you in a while. Can you advise if also is resolved for you?

Nope. I still don’t see “Automatically Open PDFs” on my tablet.

Same latest Brave version installed on phone shows that option.

@b2025b You’ll need the flag, ‘Open PDF inline on Android’ - chrome://flags/#brave-android-open-pdf-inline

However I installed Brave stable a little earlier - 1.81.136 - to check if the flag is available but as yet it isn’t.

It’s available and active in Beta - v1.83.86. When it becomes active in stable it needs to be set to ‘Disabled’ and you should then have the full options in Downloads settings.

Hope this helps.

@RiverStone

thanks but this option will be available for all devices in v1.83.86, right?

@b2025b Have you downloaded the latest Beta? (now v1.83.91)

Nope, I only download stable GPlay versions and still no PDF option on tablet compared to phone. Looks like tablets are not a priority to Brave’s team.

As I explained in my last reply above, the flag is active in Brave Beta as of v1.83.86 and which is now on v1.83.91

The current version of Brave stable is v1.82.162. The flag still hasn’t been included but I would imagine it will be available in some future update.

problem finally solved in v1.83 on my tablet too (still no toggle on/off in Settings>Downloads like on the phone but disabling Open PDF inline on Android flag works.

thanks for your replies.

btw noticed that PDF links in Google search results still load in a new tab despite “Opens pdf files in browser when enabled. – Android” set to “Disabled”

Brave v1.83.112

bump

several Brave updates in the meantime but PDFs still load in Brave and no option “Settings>Download>Automatically open PDFs” on my tablet

Can this be solved once and for all, please?

another bump

Will this ever be solved? FYI, PDFs do not auto open in Brave when I open a PDF link from another app nor in incognito. Why they still load in Brave??

another bump

Even after setting a reader app to always open PDF files, Brave still opens PDFs (small or large) in browser reader and ignores “Open PDF inline on Android > Disabled” flag.

Will devs kindly address my issue?

@mattches
Beta v1.88.112
Samsung A36, A16 (One UI 8.0)

Hi, and unfortunately the same issue has returned with PDF’s automatically opening in the browser rather than downloading.
I haven’t changed anything since my last report but the ‘Open PDF inline’ flag has since disappeared if you could please look into this.
Thanks.

Can you share an example PDF?

Yes, please do. I remember one thread having two PDF URL’s and one did download, and the other loaded inline. I tried to find that thread but failed to as I think that’d have helped. (While this thread is for Android, shockingly that effect happened on Windows as well, one downloaded, and one loaded in-line, not just Android.)

EDIT: Found it: Brave will not open PDFs in browser but only gives option to save before viewing - #9 by redbike9

They posted two URL’s on my phone or desktop they do behave differently, one downloads, the other loads in the browser, yet both URL’s are ending in .pdf (unless one is secretly HTML and embedding?)

@Mattches , you were in that thread and suggested a new profile, however I can verify this behavior happens everywhere. Are you still not able to replicate it with that post?

I’ve since been playing around a bit and discovered that the options are still there but were not that obvious to me at the time of reporting.emphasized text
So the PDF automatically opens in the browser with no ‘Open with…’ option popping up and with the ‘Open PDF inline’ flag also having been removed.
Going in to ‘Customise menu>Page actions’ and enabling ‘Open with…’ to appear in the 3-dot menu, on then clicking this the usual view options pop-up. Whether or not ‘Open with…’ is enabled the ‘Download’ button will then save the PDF should you wish.
Now I’ve (finally!) figured it out I really do prefer these options. I hadn’t viewed any PDF’s for some while and this totally threw me out, hence my reporting it, and apologies if I now appear a bit dumb!