Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
34.31k stars 1.93k forks source link

Cannot open Choose File dialog #6777

Open gandriyko opened 10 months ago

gandriyko commented 10 months ago

Expected Behavior

When press button "Choose File" dialog should show up

Actual Behavior

When press button "Choose File" nothing happens. In journalctrl: rest.insomnia.Insomnia.desktop[9283]: (insomnia:2): Gtk-WARNING **: 10:57:12.837: Can't open portal file chooser: GDBus.Error:org.freedesktop.portal.Error.InvalidArgument: invalid filter: name is empty

Reproduction Steps

  1. Go to Request Page
  2. Change method to POST
  3. Change type to "Multipart"
  4. Add new line
  5. Change to file
  6. Press "Choose File"

Is there an existing issue for this?

Additional Information

Version: Insomnia 2023.5.8 Build date: 9/7/2023 OS: Linux x64 6.5.9-arch2-1 Electron: 25.2.0 Node: 18.15.0 Node ABI: 116 V8: 11.4.183.23-electron.0 Architecture: x64

Insomnia Version

2023.5.8

What operating system are you using?

Other Linux

Operating System Version

ArchLinux

Installation method

Flatpak

Last Known Working Insomnia version

No response

cirelli94 commented 10 months ago

I have the same problem, but I think flatpak is not a supported version

badnutz commented 5 months ago

I have this issue, too. I am using Fedora Linux 39 (Workstation Edition). Is there something new?

Additional information:

Version: Insomnia 2023.5.8 Build date: 9/7/2023 OS: Linux x64 6.7.9-200.fc39.x86_64 Electron: 25.2.0 Node: 18.15.0 Node ABI: 116 V8: 11.4.183.23-electron.0 Architecture: x64

badnutz commented 5 months ago

I manually installed 8.6.1 from the website, and the error no longer exists. Maybe you could change the version in Flatpak Version: Insomnia 8.6.1 Build date: 2/5/2024 OS: Linux x64 6.7.9-200.fc39.x86_64 Electron: 28.0.0 Node: 18.18.2 Node ABI: 119 V8: 12.0.267.8-electron.0 Architecture: x64