[Pkg-utopia-maintainers] xdg-desktop-portal-gtk is installed when user specifies to install xdg-desktop-portal-kde with flatpak

Andrew Hayzen ahayzen at gmail.com
Thu Sep 20 22:23:37 BST 2018


Hi everyone.

tl;dr; Should xdg-desktop-portal-kde provide xdg-deskop-portal-backend?


A bug was reported against Ubuntu [0] from a KDE user, they tried to 
install flatpak on their machine.  But when installing xdg-desktop-
portal-gtk is installed rather than xdg-desktop-portal-kde - even if
you specify xdg-desktop-portal-kde.

>From my understanding of xdg-desktop-portal, one only needs a single
backend installed - either the -gtk or -kde - depending which desktop
environment they want the portals to feel integrated into.

Assuming my understanding is correct, flatpak has a recommends line of
"xdg-desktop-portal-gtk | xdg-desktop-portal-backend," [1].  So it
appears that xdg-desktop-portal-kde should "provide" xdg-desktop-
portal-backend ? xdg-desktop-portal-gtk already does this [2] but I
cannot see this for -kde [3].  Would this then allow the user to
install flatpak with xdg-desktop-portal-kde and without installing -gtk
?

Thanks,

Andrew


0 - https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal-kde/+b
ug/1793473
1 - https://salsa.debian.org/debian/flatpak/blob/debian/master/debian/c
ontrol#L72
2 - https://salsa.debian.org/debian/xdg-desktop-portal-gtk/blob/debian/
master/debian/control#L32
3 - https://salsa.debian.org/qt-kde-team/kde/xdg-desktop-portal-kde/blo
b/master/debian/control



More information about the Pkg-utopia-maintainers mailing list