You are not logged in.
The upgrade of xdg-desktop-portal-gnome from 46.2-2 to 47.1-1 causes flatpak programs not to open the FileChooser.
For example, if I open Librewolf, go to Discord, and use "Upload a file" in any chat, the only new entry that appears in the journal is the following:
xdg-desktop-por[3161]: Delegated FileChooser call failed: The name is not activatable
Downgrading the package to version 46.2-2 will make the FileChooser to appear again. But using either version 47.0-1 or 47.1-1 makes the FileChooser to not work.
I would like to report this issue to upstream, but first I want to be completely sure that this is a release to release issue and I would like to get more info before reporting.
Complete journal log: https://0x0.st/X35j.txt
Last edited by Adriik (2024-10-10 14:28:44)
Solo soy un loco más. Please use [code] [/code] tags.
Command cheatsheet ♠ Command not found?
If I write something wrong in English, please correct me.
Offline
Sep 20 21:57:02 batman-bostero xdg-desktop-por[877]: Theme parser error: gtk.css:7894:18-22: Expected a number
Sep 20 21:57:12 batman-bostero xdg-desktop-por[835]: Failed to get application states: GDBus.Error:org.freedesktop.portal.Error.Failed: Could not get window list
Sep 20 21:57:35 batman-bostero xdg-desktop-por[877]: Delegated FileChooser call failed: The name is not activatable
Sep 20 22:01:24 batman-bostero xdg-desktop-por[896]: Error reading events from display: Broken pipe
So, what's your GTK theme?
Offline
This one: https://aur.archlinux.org/packages/toky … -theme-git
I tried again, updating the theme package. No luck, the same error message of FileChooser.
I tried removing the theme configuration on Flatpak apps, so Flatpak uses the default theme, and again no luck, the same message.
Here's a journal log after rebooting and doing only what I tested before: open Librewolf, go to Discord and trying to upload a file in any chat
Solo soy un loco más. Please use [code] [/code] tags.
Command cheatsheet ♠ Command not found?
If I write something wrong in English, please correct me.
Offline
Sep 21 19:56:13 batman-bostero xdg-desktop-por[872]: Theme parser error: gtk.css:7916:18-22: Expected a number
Sep 21 19:56:13 batman-bostero xdg-desktop-por[872]: Theme parser error: gtk.css:7928:18-22: Expected a number
I tried removing the theme configuration on Flatpak apps, so Flatpak uses the default theme, and again no luck, the same message.
The problem is the file-chooser/portal, remove the theme entirely.
Offline
Sorry the late reply.
I deleted the theme completely from my system and choose another theme to test (adw-gtk-theme).
Here's the journal with xdg-desktop-portal-gnome 47.1-1: https://0x0.st/XEui.txt . The same problem.
Here's the journal with 46.2-2: https://0x0.st/XEu-.txt . No problem.
I did the exact steps as before: open Flatpak version of Librewolf, go to Discord webpage and in any chat try to send a file.
Solo soy un loco más. Please use [code] [/code] tags.
Command cheatsheet ♠ Command not found?
If I write something wrong in English, please correct me.
Offline
https://gitlab.gnome.org/GNOME/xdg-desk … 8bc86a3eef looks like they switched to nautilus as backend, since you're using sway I guess you don't have that intalled? Any reason you're not just using https://archlinux.org/packages/extra/x8 … ortal-gtk/ ?
Offline
I'm not using Sway, but Niri. And no, I don't have Nautilus installed.
About xdg-desktop-portal-gtk package, it's installed. I have the two packages installed: gnome and gtk.
I can't remember if the two were a required dependency for Niri, or if I installed gnome version that has the gtk version as a dependency.
Do you advice to have only gtk, and remove gnome portal? or install Nautilus since now it uses Nautilus as a backend?
Solo soy un loco más. Please use [code] [/code] tags.
Command cheatsheet ♠ Command not found?
If I write something wrong in English, please correct me.
Offline
I'd advice to do whatever works and suits you best
Probably try to remove the gnome implementation if you don't want to buy into more gnome stuff.
Offline
I removed gnome implementation, I'm not interested in using Nautilus.
So now I only have the gkt portal and the file chooser works perfectly with my theme.
So, I mark this thread as [SOLVED]. Thank you so much for the help, Seth.
Solo soy un loco más. Please use [code] [/code] tags.
Command cheatsheet ♠ Command not found?
If I write something wrong in English, please correct me.
Offline