Brave browser download broken in Fedora 41

UPDATE: I mean with Brave browser itself will not download anything.

Steps to Reproduce:
1.Browse using Brave to Git
2.Click on the PDF to begin downloading

I just installed Fedora 41 on my old MacBook Pro (Intel) laptop and it seems to be working well for the most part.

However Brave browser download is broken, nothing happen. Is anyone else seeing this problem running Fedora 41 on a laptop?

Firefox download is working fine.

Welcome to :fedora: :exclamation:

Could you be more specific? Where did you get the download from? Brave website?

There is only one place to download Brave off the official website, see instructions here.

@hamrheadcorvette I see your confusion!

Steps to Reproduce:
1.Browse using Brave to Git
2.Click on the PDF to begin downloading

Nothing happens.

Well it looks like that site is broken.

Or brave is blocking something.

Ask in their forums, but they arent really responding to anything there lol

(Explanation: this is their official software with an external RPM repo. Fedora doesnt have to do anything here)

The problem only happens on Fedora 41 with Brave. I got openSUSE TW running KDE and I use Brave exclusively on it with zero issues.

1 Like

I just installed brave on Fedora 41 workstation using the instructions you linked and download works fine here, I don’t know what’s different for you.

@korbel same here.

I open my Brave browser i go to Git and click on PDF link and start downloading

@korbel @javazquez thanks for reporting back success, have no idea why I’m am seeing download problems on a fresh install.

@devguy are you using brave repo? snap? flatpak?

Im using brave repo directly. I’v installed following this: Can't install Brave on Linux Fedora 41 - #2 by Eslih - Desktop Support - Brave Community

Can you create a clean profile of the brave browser on OpenSUSE TW and try? Or copy the entire profile folder?

This may simply be a new change in some default in Brave.

Or some insecure thing that Fedora blocks? But I dont know of anything.

Can you send us a link to the PDF?

@javazquez I used the repo method.

@boredsquirrel I deleted my old Brave profile, I copied my other profile from openSUSE TW and still won’t download anything.

@grumpey I gave this a try, cleaned the dnf cache, remove than installed Brave, delete the old Brave profile, but still same problem with downloads.

cat /etc/yum.repos.d/brave-browser.repo
[brave-browser]
name=Brave Browser
enabled=1
autorefresh=1
baseurl=https://brave-browser-rpm-release.s3.brave.com/$basearch

I installed Chromium browser using the “Software” app since Brave uses the same codebase and Chromium downloads files fine. Brave is doing something weird, just no idea what.

There’s a similar issue in the issue tracker of brave: nothing happens on downloading anything · Issue #42114 · brave/brave-browser · GitHub

Please check if xdg-desktop-portal-gtk.service is running:

systemctl --user status xdg-desktop-portal-gtk.service
2 Likes

That service was not running, however after starting it, it didn’t fix anything. I closed Brave and restarted it to make sure.

However, after reading that linked issue I also noticed that I never get asked where to download the file, since I had:

Ask where to save each file before downloading"

selected. So it got me think maybe there is a bug causing the dialog not to open and this results in download never getting started.

So I disabled asking where to download and now download is working! Thanks for helping to solve this @korbel !

So it seems there are two issues here:

  1. Service “xdg-desktop-portal-gtk.service” is not running.
  2. Dialog never opens, (crashes) to ask me where to download.

The two are related. Did the service crash? It would be informative if you posted the log if you don’t mind:

journalctl --user -xe -u xdg-desktop-portal-gtk.service

There is no entry in the journal, however how do I enable this service to start on bootup? I tired the following with this error:

$ systemctl --user enable xdg-desktop-portal-gtk.service

The unit files have no installation config (WantedBy=, RequiredBy=, UpheldBy=,
Also=, or Alias= settings in the [Install] section, and DefaultInstance= for
template units). This means they are not meant to be enabled or disabled using systemctl.
 
Possible reasons for having these kinds of units are:
• A unit may be statically enabled by being symlinked from another unit's
  .wants/, .requires/, or .upholds/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
  a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
  D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
  instance name specified.

OK it seems you don’t even need service “xdg-desktop-portal-gtk.service” running to have download working.

All you need to make sure is that the following Brave download settings is disabled (unchecked).

“Ask where to save each file before downloading”

FYI: What’s annoying is this setting will flip on you back to enable, not sure how.