You are not logged in.

#1 2024-09-21 03:43:50

Adriik
Member
From: Argentina
Registered: 2022-03-10
Posts: 134

[SOLVED]xdg-desktop-portal-gnome update causes FileChooser to not work

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 cheatsheetCommand not found?
If I write something wrong in English, please correct me.

Offline

#2 2024-09-21 15:19:39

seth
Member
Registered: 2012-09-03
Posts: 59,084

Re: [SOLVED]xdg-desktop-portal-gnome update causes FileChooser to not work

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

#3 2024-09-21 23:03:29

Adriik
Member
From: Argentina
Registered: 2022-03-10
Posts: 134

Re: [SOLVED]xdg-desktop-portal-gnome update causes FileChooser to not work

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 cheatsheetCommand not found?
If I write something wrong in English, please correct me.

Offline

#4 2024-09-22 07:09:43

seth
Member
Registered: 2012-09-03
Posts: 59,084

Re: [SOLVED]xdg-desktop-portal-gnome update causes FileChooser to not work

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

#5 2024-10-05 13:15:07

Adriik
Member
From: Argentina
Registered: 2022-03-10
Posts: 134

Re: [SOLVED]xdg-desktop-portal-gnome update causes FileChooser to not work

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 cheatsheetCommand not found?
If I write something wrong in English, please correct me.

Offline

#6 2024-10-05 14:18:25

seth
Member
Registered: 2012-09-03
Posts: 59,084

Re: [SOLVED]xdg-desktop-portal-gnome update causes FileChooser to not work

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

#7 2024-10-10 14:13:39

Adriik
Member
From: Argentina
Registered: 2022-03-10
Posts: 134

Re: [SOLVED]xdg-desktop-portal-gnome update causes FileChooser to not work

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 cheatsheetCommand not found?
If I write something wrong in English, please correct me.

Offline

#8 2024-10-10 14:17:04

seth
Member
Registered: 2012-09-03
Posts: 59,084

Re: [SOLVED]xdg-desktop-portal-gnome update causes FileChooser to not work

I'd advice to do whatever works and suits you best wink
Probably try to remove the gnome implementation if you don't want to buy into more gnome stuff.

Offline

#9 2024-10-10 14:26:42

Adriik
Member
From: Argentina
Registered: 2022-03-10
Posts: 134

Re: [SOLVED]xdg-desktop-portal-gnome update causes FileChooser to not work

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 cheatsheetCommand not found?
If I write something wrong in English, please correct me.

Offline

Board footer

Powered by FluxBB