wayland: screen sharing
Affected version
GNOME Shell 45.5
Bug summary
I can't share my screen on discord (electron) when on wayland.
Steps to reproduce
- open discord app (.tar.gz from official discord website) (or slack)
- join any chat
- click "share screen and select window
- app will get stuck in loading mode and will share "blank screen"
What happened
I can't share my scrin via discord (or slack) when using wayland. I think it has something to do with pipewire but I don't know how to debug this
What did you expect to happen
Firs of all I'm sorry if its no a right place to post this I'd like to know the origin of the problem and possibly some fixes for that.
Relevant logs, screenshots, screencasts etc.
there is something like this:
Error occurred in handler for 'DISCORD_DESKTOP_CAPTURER_GET_SOURCES': Failed to get sources.
'loop->recurse > 0' failed at ../src/pipewire/thread-loop.c:426 pw_thread_loop_wait()
'loop->recurse > 0' failed at ../src/pipewire/thread-loop.c:426 pw_thread_loop_wait()
'loop->recurse > 0' failed at ../src/pipewire/thread-loop.c:426 pw_thread_loop_wait()
'loop->recurse > 0' failed at ../src/pipewire/thread-loop.c:426 pw_thread_loop_wait()