RecordMonitor seems broken with Mutter 44
When I tried to record the screen via org.freedesktop.portal.ScreenCast
, all dbus calls seem completed successfully but there is no data on the Pipewire stream. I've tried dbus-monitor and it shows xdg-desktop-portal-gnome has called the RecordMonitor method of org.gnome.Mutter.ScreenCast.
Then I tried to record only a window and incredibly it worked fine. But recording xdg-desktop-portal-gnome calls the RecordWindow method for this, instead of RecordMonitor.
The built-in screen recorder of gnome-shell also worked fine, but it calls RecordArea even when recording an entire monitor. It seems there is no way to make xdg-desktop-portal-gnome use RecordArea for a monitor too so I cannot work around the issue.
This did not happen with Mutter 43, so I guess some change has somehow broken RecordMonitor.