FS#78844 - [xdg-desktop-portal-kde] dependency on xdg-desktop-portal is missing.

Attached to Project: Arch Linux
Opened by Fabian Bornschein (fabis_cafe) - Tuesday, 20 June 2023, 13:22 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 20 June 2023, 17:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Currently it is possible to have xdg-desktop-portal-kde installed without having xdg-desktop-portal installed. This means that the portal functionality will never work. All other xdg-desktop-portal-impl, except the GTK one do have this dependency included.

* xdg-desktop-portal-xapp - https://gitlab.archlinux.org/archlinux/packaging/packages/xdg-desktop-portal-xapp/-/blob/main/PKGBUILD#L11
* xdg-desktop-portal-wlr - https://gitlab.archlinux.org/archlinux/packaging/packages/xdg-desktop-portal-wlr/-/blob/main/PKGBUILD#L13
* xdg-desktop-portal-lxqt - https://gitlab.archlinux.org/archlinux/packaging/packages/xdg-desktop-portal-lxqt/-/blob/main/PKGBUILD#L13
* xdg-desktop-portal-hyprland - https://gitlab.archlinux.org/archlinux/packaging/packages/xdg-desktop-portal-hyprland/-/blob/main/PKGBUILD#L17

This means it is currently possible to install Plasma, run a wayland session, install Firefox on it, install the xdg-desktop-portal-kde package to make screensharing work but you will be unable to make screensharing work because nothing will pull xdg-desktop-portal in.


This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 20 June 2023, 17:21 GMT
Reason for closing:  Not a bug
Comment by Antonio Rojas (arojas) - Tuesday, 20 June 2023, 13:43 GMT
This is intentional. The idea is that plasma installs xdg-desktop-portal-kde as a dependency so that, *if* you use portals, it will use the KDE implementation, but Plasma doesn't pull xdg-desktop-portal itself. Firefox already has xdg-desktop-portal as an optdepend for screen sharing, as it should be.
Comment by Fabian Bornschein (fabis_cafe) - Tuesday, 20 June 2023, 15:04 GMT
This makes sense. I just did the right thing around a working system.
I did a test installation to help someone with this problem and it didn't worked for me as well. I haven't used a meta package or package group (except maybe plasma-wayland-session if you want to count this) and I ended up with it also not working. The similar naming scheme of xdg-desktop-portal and xdg-desktop-portal-kde was also confusing in research.

The thing is, I didn't knew what would use portals. I know that flatpak will use them and surely that worked right away and was how I learned about this whole thing as it pulled in the xdg-desktop-portal for me. I was not able to find anything about this online. It always lead to the direction of "something something xwayland". That's why I thought this should be reported.

Loading...