Description of problem: Screensharing does not work on wayland Version-Release number of selected component (if applicable): $ rpm -q firefox firefox-98.0-3.fc37.x86_64 $ rpm -q wireplumber wireplumber-0.4.8-2.fc37.x86_64 $ rpm -q xdg-desktop-portal* -a xdg-desktop-portal-gtk-1.12.0-2.fc36.x86_64 xdg-desktop-portal-1.12.2-2.fc37.x86_64 How reproducible: Steps to Reproduce: 1. https://webrtc.github.io/samples/src/content/getusermedia/getdisplaymedia/ 2. Select "whole screen" 3. In FF popup "use system settings" 4. Nothing happens Actual results: Screensharing does not work Expected results: Screensharing works Additional info: This might be somehow related to [1], but it is not clear what needs to be done, if anything. I'd expect it to work out of the box without me changing any settings. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1678269
I tested F36 and works as expected. Will test rawhide. If https://bugzilla.mozilla.org/show_bug.cgi?id=1678269 is related then new profile should fix that.
Hm, I'm unable to run rawhide in Wayland mode due to gnome-shell crashes. Can you try clean profile?
(In reply to Martin Stransky from comment #2) > Can you try clean profile? It does not work with clean profile either.
I wonder if xdg-desktop-portal-gnome package is required or not ...
So the xdg-desktop-portal-gnome makes the difference. Maybe FF could recommend this dependency, dunno. I have reported this against fedora workstation WG to try to address this: https://pagure.io/fedora-workstation/issue/298
(In reply to Vít Ondruch from comment #5) > So the xdg-desktop-portal-gnome makes the difference. Maybe FF could > recommend this dependency, dunno. I have reported this against fedora > workstation WG to try to address this: > > https://pagure.io/fedora-workstation/issue/298 Firefox is used on KDE too so xdg-desktop-portal-gnome is not an option. xdg-desktop-portal-gtk should be enough as we use gtk. xdg-desktop-portal-gnome is a Gnome component so it should be installed as a part of Gnome environment.
(In reply to Martin Stransky from comment #6) > (In reply to Vít Ondruch from comment #5) > > So the xdg-desktop-portal-gnome makes the difference. Maybe FF could > > recommend this dependency, dunno. I have reported this against fedora > > workstation WG to try to address this: > > > > https://pagure.io/fedora-workstation/issue/298 > > Firefox is used on KDE too so xdg-desktop-portal-gnome is not an option. Yes, right. That is why I believe all the desktop specific components should provide some common virtual provide. And this is why I have not explicitly requested any require yet and went to report this against Fedora Workstation WG. > xdg-desktop-portal-gtk should be enough as we use gtk. > xdg-desktop-portal-gnome is a Gnome component so it should be installed as a > part of Gnome environment. BTW is these something from FF POV, what could help to detect the missing desktop portal component? Can FF detect and report this somehow? Sorry for asking, this might be OT.
Firefox uses DBus interface, we may throw an error when it's missing so we can't connect to portal.
(In reply to Martin Stransky from comment #8) > Firefox uses DBus interface, we may throw an error when it's missing so we > can't connect to portal. That would be nice. Even better if this was somehow reported in UI.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle. Changing version to 37.
This message is a reminder that Fedora Linux 37 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '37'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 37 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
(In reply to Martin Stransky from comment #8) > Firefox uses DBus interface, we may throw an error when it's missing so we > can't connect to portal. Was there some improvement? Is this tracked somewhere? Other then that, the underlying issues were likely resolved elsewhere, so I'm fine with autoclosing ...
Okay, let's close this one then. Thanks.