Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#66629 - [firefox] Add xdg-desktop-portal as an optdepends

Attached to Project: Arch Linux
Opened by Hugo Osvaldo Barrera (hobarrera) - Tuesday, 12 May 2020, 14:16 GMT
Last edited by freswa (frederik) - Tuesday, 12 May 2020, 14:33 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 4
Private No

Details

Description:

`xdg-desktop-portal` is required for screen sharing with Firefox (definitely is required for Wayland, I've no idea about Xorg).
It should be listed as an optional dependency.


Additional info:
* package version(s): 76.0.1-1
This task depends upon

Comment by Jan Alexander Steffens (heftig) - Tuesday, 12 May 2020, 18:15 GMT
Screen sharing is not supported on Wayland at all.
Comment by André (aandre) - Thursday, 18 June 2020, 17:29 GMT
Screen sharing is supported on Wayland thanks to pipewire, see for example [0].

Window screen sharing currently doesn't work with firefox from Arch Linux repository, but it works using [1].

According to [2] build flag `RTC_USE_PIPEWIRE=true` is required to use xdg-desktop-portal based screen casting.

[0] https://wiki.archlinux.org/index.php/PipeWire#WebRTC_screen_sharing
[1] https://aur.archlinux.org/packages/fedora-firefox-wayland-bin/
[2] https://github.com/emersion/xdg-desktop-portal-wlr/wiki/Screencast-Compatibility
Comment by Jan Alexander Steffens (heftig) - Thursday, 18 June 2020, 22:30 GMT
This is a no-go as long as it requires massive patches.
Comment by filip (filip) - Sunday, 10 January 2021, 11:31 GMT
All the patches required for screen sharing via pipewire have landed upstream and are shipped since Firefox 84.0. Coincidentally, Firefox 84.0 seems to default to Wayland instead of X11 which breaks screen sharing unless `xdg-desktop-portal` is also installed. Therefore, I agree that `xdg-desktop-portal` should be listed as an optional dependency for Firefox 84.0 and above.
Comment by depate (depate) - Thursday, 22 April 2021, 21:35 GMT
I second that. Most likely the Wayland WM or DM will provide the dependency, but e.g. sway does not.

Loading...