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.

  • thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    6
    ·
    5 months ago

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

    • Footnote2669@lemmy.zipOP
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      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
        link
        fedilink
        arrow-up
        3
        ·
        5 months ago

        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.

        • Footnote2669@lemmy.zipOP
          link
          fedilink
          arrow-up
          2
          ·
          5 months ago

          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

  • JetBlack
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    4 months ago

    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

  • lurch (he/him)@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    5 months ago

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