There were only xdg-desktop-portal and xdg-desktop-portal-gtk installed and
running after login to kde.
After installing xdg-desktop-portal-kde and logging out and in, it was
immediately running after login. Chromium now utilizes the KDE file dialog.
Yaaayy! :-D
So the fix should be to make xdg-desktop-portal-kde a dependency for plasma-
desktop, I assume. I have not changed my version of chromium and it is not a
bug in that sense...
Thanks a lot for your effort!
Am Mittwoch, 9. Februar 2022, 05:55:39 CET schrieb Andres Salomon:
> On 2/8/22 13:25, Matthias Gies wrote:
> > Hi,
> >
> > thanks for the quick response.
> >
> > "echo $XDG_CURRENT_DESKTOP" returns "KDE"
> >
> > "dbus-update-activation-environment --systemd XDG_CURRENT_DESKTOP" does
> > not
> > return anything.
> >
> > No change in behavior after restarting Chromium. Still stuck with GTK file
> > dialog.
>
> Alright, so I tried installing KDE (under wayland) and chromium
> 97.0.4692.99-1, but when I opened the file dialog it was the gtk one.
> Probably because I'd been previously running cinnamon and gnome on the
> machine, but XDG_CURRENT_DESKTOP *was* set to "KDE". I noticed that
> xdg-desktop-portal-gtk and xdg-desktop-portal-gnome were running in the
> background of my session, and xdg-desktop-portal-kde wasn't installed.
> After installing it and restarting kde, I had kde's file dialog.
>
>
> So then I installed chromium 98.0.4758.80-1, right clicked to download a
> file ("save link as"), and again had kde's file dialog.
>
>
> That was all tested on unstable, and there's an older version of
> xdg-desktop-portal-kde on stable so the package's behavior may be
> different. Do you have it installed? When you start kde, is it running
> in the background?