FS#72171 - [obs-studio] PipeWire screen casting broken with xdg-desktop-portal 0.10.0

Attached to Project: Community Packages
Opened by Sefa Eyeoglu (Scrumplex) - Saturday, 18 September 2021, 22:00 GMT
Last edited by Jonathan Steel (jsteel) - Tuesday, 21 September 2021, 20:35 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Jonathan Steel (jsteel)
Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
OBS (among other xdg-desktop-portal clients) doesn't work with PipeWire screen casting with the latest version of xdg-desktop-portal (currently in testing).
This is because of a change of xdp's interface here: https://github.com/flatpak/xdg-desktop-portal/pull/609

Upstream OBS fixed this problem in https://github.com/obsproject/obs-studio/commit/ef0540c0d7df64b6cb148c80d566281a4ff3ba5c
I would suggest backporting that commit, so that at least one application still works with xdg-desktop-portal 0.10.0 (Firefox and Chromium are affected by this problem too).

Additional info:
* package version(s) obs-studio 27.0.1-2, xdg-desktop-portal 1.10.0-1

Steps to reproduce:
1. Make sure xdg-desktop-portal 1.10.0-1 is installed and screen casting is set up correctly.
2. Open OBS and create a PipeWire screen capture source
3. *crash*
This task depends upon

Closed by  Jonathan Steel (jsteel)
Tuesday, 21 September 2021, 20:35 GMT
Reason for closing:  Implemented
Comment by Sefa Eyeoglu (Scrumplex) - Saturday, 18 September 2021, 22:04 GMT
This is the PR for OBS: https://github.com/obsproject/obs-studio/pull/5294

So maybe just get the .patch from there
Comment by Jonathan Steel (jsteel) - Sunday, 19 September 2021, 09:19 GMT
Added heftig here so he's aware of this report (packager of xdg-desktop-portal). If I push this fix to testing can we move these packages at the same time, in case this fix causes any issue with current versions? Thanks
Comment by Jan Alexander Steffens (heftig) - Sunday, 19 September 2021, 15:03 GMT
The patch should work with the old portal as well, so you can push to extra.

Loading...