Window screencast shows black areas over windows and black borders around windows
Currently running mutter/master, g-s/master. While screencasting a monitor via Pipewire works perfectly fine now on current master, window screencast does not:
In order to reproduce the issue, I use obs with the obs-xdg-portal plugin here.
- Start g-s (Wayland)
- Open some Xwayland window (e.g. Firefox)
- Open obs and add a new source (
Desktop Screencast (Wayland / X11)
) and select the the Xwayland window.
Observations:
- The window (which should be visible in the screencast) only becomes visible in the screencast if you hover over it.
- Wayland windows often don't show at all (this is reproducible with a (maximized) nautilus window for example)
- Maximized windows have a black border at the bottom (The size of the screencast here is the whole monitor, not the size of the window)
- Windows that are not maximized have black borders around the window
- Some areas of the windows are completely black, resizing and moving these windows might make these black areas bigger or smaller but independently of how the window is resized (making a window smaller does not necessarily make the black areas smaller)
This screencast shows some of these issues: Bildschirmvideo_von_06.03.2020_15_19_33