Sharing screen doesn't work on version 1.12
Steps to reproduce
- Click on share screen.
- Select all windows (desktop)
- Only the element window is shared. The rest is black.
Outcome
Allow sharing of the entire screen.
Operating system
macOS
Application version
1.12
How did you install the app?
No response
Homeserver
No response
Will you send logs?
No
It doesn't seem to work on Linux either.
It only shows a black screen in the preview window. No popup shows up to ask whether I want to show the screen or the window, like it used to. On KDE wayland it used to also pop open a KDE dialog window (permission), but that doesn't happen either anymore.
Using Flatpak version of Element. DE: KDE Plasma 6.4.5 on Wayland OS: Arch Linux
Recently my Element Desktop is running using XWayland, not respecting my environment variable flag. It's probably the cause of the issue.
On wayland, it is caused by electron 38, the flags that were used to enable wayland support in electron no longer work. It should detect wayland by default via XDG_SESSION_TYPE variable now but its broken atm. it is supposedly fixed in 38.2.0 #48309. I haven't personally tried it yet (waiting for archlinux package to be updated).
The archlinux electron package was updated recently. Element desktop now runs in native wayland and screen sharing works.