emersion / xdg-desktop-portal-wlr

xdg-desktop-portal backend for wlroots
MIT License
591 stars 57 forks source link

screencast: unable to use screencapture a second time on firefox #181

Closed columbarius closed 2 years ago

columbarius commented 2 years ago

Distribution: Archlinux

Steps to reproduce:

Restarting firefox will reset this circle.

Tested with firefox 96 (arch and flatpak) and xdpw from master.

This issue does not occur with the gnome wayland session.

columbarius commented 2 years ago

Using dbus-monitor "interface='org.freedesktop.portal.ScreenCast'" "interface='org.freedesktop.impl.portal.ScreenCast'" "interface='org.freedesktop.portal.Session'":

The logs were generated by trying to start two screencast sessions using the flatpak versions of firefox and chromiums. Note: chromium will always create to double amount of screencast sessions because of it's preview.

dbus-ff.log dbus-chromium.log

columbarius commented 2 years ago

Update: Falling back to sway 1.6.x solves this issue

codicodi commented 2 years ago

I think this is fixed by https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3436

columbarius commented 2 years ago

Yeah, wlroots 0.15.1 was released which fixes this problem. Closing the issue.