#1107959 xdg-desktop-portal-kde: quietly does not work

Package:
xdg-desktop-portal-kde
Source:
xdg-desktop-portal-kde
Description:
backend implementation for xdg-desktop-portal using Qt
Submitter:
Thorsten Glaser
Date:
2025-06-18 22:47:02 UTC
Severity:
normal
#1107959#5
Date:
2025-06-17 22:27:38 UTC
From:
To:
On a trixie system I just set up, I somehow cannot get this to work,
but it works on my bullseye system.

My use case is I installed xdg-desktop-portal-kde for exactly one
thing, which is to not have the Gtk+3 file chooser in Firefox (I’d
actually prefer Qt’s like Mu͒seScore has, but KDE’s is sufficiently
tolerable).

What I try is:

$ export GTK_USE_PORTAL=1
$ firefox

Then press ^O or ^S to trigger a file load/save dialogue.

On this trixie system this just does nothing (if I unset
GTK_USE_PORTAL, it shows the Gtk+3 dialogue as usual).

#1107959#10
Date:
2025-06-17 22:42:28 UTC
From:
To:
Le mercredi 18 juin 2025, 00:27:38 heure d’été d’Europe centrale Thorsten Glaser a écrit :

Ah, that’s in idea, I like it. :)

I just tested on my main machine and it works-for-me™.

Can we try narrowing down what is causing it ?


Thanks,
--
Aurélien

#1107959#15
Date:
2025-06-17 22:42:28 UTC
From:
To:
Le mercredi 18 juin 2025, 00:27:38 heure d’été d’Europe centrale Thorsten Glaser a écrit :

Ah, that’s in idea, I like it. :)

I just tested on my main machine and it works-for-me™.

Can we try narrowing down what is causing it ?


Thanks,
--
Aurélien

#1107959#20
Date:
2025-06-17 23:03:46 UTC
From:
To:
I expected that, somehow.

Gladly, if you have ideas how to poke it.

I already tried --replace --verbose, with few success.

It should be noted I run sysvinit, log in to the console,
then run “exec startx”, but a dbus user session is started
by the Xsession, and this detail is identical between the
two laptops.

I could perhaps clone the working one and upgrade to
bookworm then trixie if needed, but that’s intense and
I’ve not got a lot of time for this within the next two
weeks.

bye,
//mirabilos

#1107959#25
Date:
2025-06-18 20:27:13 UTC
From:
To:
Le mercredi 18 juin 2025, 01:03:46 heure d’été d’Europe centrale Thorsten Glaser a écrit :

I just stumbled upon #1051276 doing some triaging.

Could you try installing pipewire and see if it improves anything ?
(I know it’s not supposed to be required for a file browsing functionality, but…)


Thanks,
--
Aurélien

#1107959#30
Date:
2025-06-18 21:17:04 UTC
From:
To:
I’d rather not, I just managed to get everything working
with just ALSA…

I’d rather patch the portal and recompile that…

Meow,
//mirabilos

#1107959#35
Date:
2025-06-18 21:37:12 UTC
From:
To:
Le mercredi 18 juin 2025, 23:17:04 heure d’été d’Europe centrale Thorsten Glaser a écrit :

It doesn’t seem to have any compile-time reference to pipewire, it’s just being used in QML files so maybe that’s the wrong lead.

I tried the same in an X11 session started from SDDM and one started from a linux vt with exec startx and it worked in both case.

I’m out of time to dedicate to that issue. :)


Happy hacking,
--
Aurélien

#1107959#40
Date:
2025-06-18 22:44:41 UTC
From:
To:
Huh.

Fair. I’ll get back to that… probably next month, taking some
time to experiment more, like upgrading the working system and
comparing package lists and settings.

bye,
//mirabilos