Hi, I’m having issues with the file picker on my arch system. Sometimes it doesn’t work at all. If I press “Upload file” in a browser, nothing happens, no window pops up. It doesn’t work in other apps either when that happens. It sometimes starts working after a restart. Does anyone have any ideas? Let me know if you need any logs and how to get them please :)
I’m on arch, hyprland, both xdg-hyprland and xdg-gtk are installed.
My first guess might be you are using a Flatpak app, and the application does not have any rights to do this?
deleted by creator
The browser is on flatpak but I tried the same thing on steam which isn’t and it still doesn’t work
Look if you have
xdg-desktop-portal-gtk
andxdg-desktop-portal
are installed. I can’t say if this solves your problem. You can see each portal to be an API that an application must support to use the functionality which the portal does. But you also need to have the portal installed. I know it’s a mess, but its how it is.For a totally different application, I could not save files until I installed these portals (if I remember right). The problem with Steam might be a different one, if its not a Flatpak.
The thing is, it only breaks sometimes (usually when I need it the most lol). Both are installed and I don’t think it would only not work sometimes if they were missing. I’m thinking of hopping to another distro haha I know it’s not arch’s fault, but this excuse is as good as any lmao
If this is firefox specific, in
about:config
set the value of somethingportal
to 1.on a totally different system and different app i had similar issues after an update. my solution was to run the app with a java version closer to what it was compiled for, which is not helpful for you. however, i think it was related to gtk/gnome libs having been updated (the app was using the file picker with gtk “look and feel”)
Have you checked the logs? I guess a simple
journalctl —user -f
would tell you what went wrong. Just run the command on a terminal and click the file picker button couple times and see what pops up