File picker issues
from jaykay@lemmy.zip to linux@lemmy.ml on 15 Jun 21:53
https://lemmy.zip/post/17429756

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.

#linux

threaded - newest

thingsiplay@beehaw.org on 15 Jun 23:04 next collapse

My first guess might be you are using a Flatpak app, and the application does not have any rights to do this?

[deleted] on 16 Jun 06:53 next collapse

.

jaykay@lemmy.zip on 16 Jun 06:57 collapse

The browser is on flatpak but I tried the same thing on steam which isn’t and it still doesn’t work

thingsiplay@beehaw.org on 16 Jun 07:23 collapse

Look if you have xdg-desktop-portal-gtk and xdg-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.

jaykay@lemmy.zip on 16 Jun 10:03 collapse

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

boredsquirrel@slrpnk.net on 16 Jun 00:51 next collapse

If this is firefox specific, in about:config set the value of something portal to 1.

lurch@sh.itjust.works on 16 Jun 02:36 collapse

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”)