Bug 2231134

Summary: Screencasting Broken
Product: [Fedora] Fedora Reporter: matt.bagnara
Component: xdg-desktop-portal-wlrAssignee: Aleksei Bavshin <alebastr89>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: alebastr89, sway-sig
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-28 13:48:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description matt.bagnara 2023-08-10 17:40:37 UTC
Screencasting is broken on:
xdg-desktop-portal-wlr-0.7.0-1.fc38.x86_64
wireplumber-0.4.14-1.fc38.x86_64
firefox-116.0-2.fc38.x86_64

I enabled verbosity on the xdg-desktop-portal-wlr service and using the https://mozilla.github.io/webrtc-landing/gum_test.html page in Firefox I attempt to start a screencast:

The following logs of the xdg-desktop-portal-wlr unit
```
Aug 10 09:26:59 fedora xdg-desktop-portal-wlr[7863]: 2023/08/10 09:26:59 [INFO] - xdpw: screencast instance 0x559ea434e280 has 1 references
Aug 10 09:26:59 fedora xdg-desktop-portal-wlr[7863]: 2023/08/10 09:26:59 [INFO] - xdpw: 1 active screencast instances
Aug 10 09:26:59 fedora xdg-desktop-portal-wlr[7863]: 2023/08/10 09:26:59 [INFO] - wlroots: output: eDP-1
Aug 10 09:26:59 fedora xdg-desktop-portal-wlr[7863]: 2023/08/10 09:26:59 [INFO] - dbus: session closed
Aug 10 09:26:59 fedora xdg-desktop-portal-wlr[7863]: 2023/08/10 09:26:59 [DEBUG] - dbus: destroying session 0x559ea434da50
Aug 10 09:26:59 fedora xdg-desktop-portal-wlr[7863]: 2023/08/10 09:26:59 [DEBUG] - xdpw: screencast instance 0x559ea434e280 now has 0 references
Aug 10 09:26:59 fedora xdg-desktop-portal-wlr[7863]: 2023/08/10 09:26:59 [DEBUG] - xdpw: destroying cast instance
```

The screnceast is created and destroyed immediately. There are no relevant logs in the firefox log either

Reproducible: Always

Steps to Reproduce:
1. Launch https://mozilla.github.io/webrtc-landing/gum_test.html
2. Select screen capture
3. Start screen capture
Actual Results:  
Screencapture starts and destroys immediatly

Comment 1 Aoife Moloney 2024-05-28 13:48:05 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.