Brave (AUR brave-bin) cannot open PDFs

Hi,

I am requesting help with an issue where PDF files do not open in Brave.

System

  • Browser: Brave Browser

  • Package: brave-bin (AUR)

  • Version: 1:1.85.117-1

Issue

  • PDF files open as blank pages in Brave

  • Same PDFs open correctly in Mozilla Firefox

  • Issue affects Chromium-based browsers only

  • This worked previously

Verified

  • Hardware acceleration disabled

  • No PDF-related extensions installed

  • PDF files are valid

Observations

  • brave://pdf-internals is not reachable

  • brave://components does not list a PDF Viewer / PDFium entry

Request

I am requesting assistance to determine what is causing this behavior and how it should be resolved.

Edit: Don’t try the first method I listed here, it will pull from the system repos or AUR if that’s not available. Also something called a partial upgrade which I don’t understand but here: Brave (AUR brave-bin) cannot open PDFs - #3 by cscs it was said.

Even though the AUR is an official distribution channel of Brave, I’d encourage you to try another official distribution of Brave to rule out the AUR source being the problem. This one for example on Installing Brave on Linux | Brave :

Then I’d also recommend checking if throwing the issue over at https://community.brave.app/ as it might give you better answers.

Brave showing off again that there are more reasons to doubt than to trust..

That script wont do anything special for you .. its going to try to install brave-bin from the repos if it exists or brave-bin from the AUR if not. Through a partial-upgrade.

This is very much how not to do installs..

    elif available pacman; then
        if pacman -Ss "brave-browser$dashCHANNEL" >/dev/null 2>&1; then
            show $sudo pacman -Sy --needed --noconfirm "brave-browser$dashCHANNEL"
        else
            aur_helper="$(first_of paru pikaur yay)" ||
                error "Could not find an AUR helper. Please install paru/pikaur/yay to proceed." "" \
                      "You can find more information about AUR helpers at https://wiki.archlinux.org/title/AUR_helpers"
            show "$aur_helper" -Sy --needed --noconfirm "brave$dashCHANNEL-bin"
        fi

Brave has various other reasons to be avoided like how they might decide to insert tracking code to your links and so on .. but if you want to use it then just install using your preferred AUR-helper and not that broken-by-design script on their website.

Flatpak Brave works here!

Thanks for letting me know, that’s useful to know. I haven’t installed using that before but now I know I should avoid it, and not recommend it

I have no such issues with the cachyos/brave-bin package. PDFs load fine, both from websites and from disk. Your points under Observations hold true even in my version though, so they’re not related.

It is a slightly older version though (mine: 1.85.111-1, repo: 1.85.116-1, see here), so may just be a regression in Brave itself. In any case, would recommend using cachyos repos over AUR when available.