ferdium / ferdium-app

All your services in one place, built by the community
https://ferdium.org
Apache License 2.0
2.95k stars 176 forks source link

Ferdium stopped using XDG Desktop Portal file picker on Kubuntu #1937

Open MurzNN opened 3 weeks ago

MurzNN commented 3 weeks ago

Avoid duplicates

Ferdium Version

6.7.7

What Operating System are you using?

Ubuntu

Operating System Version

Ubuntu Linux 24.04 with KDE 5.27.11

What arch are you using?

x64

Last Known Working Ferdium version

6.7.6

Expected Behavior

When I attach a file or save a file, I use the native KDE file selector window.

Actual Behavior

When I attach a file or save a file, in the previous version I save the native KDE file selector window. But in the current version - the GNOME file selector dialog appears instead.

Seems Ferdium stopped using XDG Desktop Portal file picker for some reason, maybe it's related to the Electron upgrade or other dependencies bump.

Steps to reproduce

  1. Use any Linux system with XDG Desktop Portal enabled and KDE.
  2. Open any messenger
  3. Try to attach a file to a message.

You will see the GNOME desktop file selector instead of the KDE one.

Debug link

https://debug.ferdium.org/5b9dff8b-c0a0-4f37-a61f-8ad41374fdfe

Screenshots

No response

Additional information

No response

TiZ-HugLife commented 2 days ago

I'm experiencing this on versions 6.7.7 and 7.0.0 from Flathub. I'm also on Plasma, and I'm getting the GTK3 file picker. It should be noted that it's not the GNOME file picker, but rather the GTK3 one.