element-hq / element-desktop

A glossy Matrix collaboration client for desktop.
https://element.io
GNU Affero General Public License v3.0
1.15k stars 264 forks source link

Screen sharing doesn't work on Gnome 42 (Ubuntu) #1171

Open benjistokman opened 1 year ago

benjistokman commented 1 year ago

Steps to reproduce

  1. I was in a voice call
  2. I clicked the screen share button in Element
  3. Two Gnome windows popped up, one asking for entire screen sharing, another for window sharing.
  4. The only thing I could do is go to the window asking for sharing of a window and select an application for that, and close the window asking for whole screen sharing. In that order.

Outcome

What did you expect?

I expected that the window I selected to share would be shown to me and the other members in the call.

What happened instead?

Gnome properly managed the permission of sharing a window (in the quick settings dropdown) and allowed me to stop sharing. Element did not show any window being shared and the other members did not see it. The share screen button did not work anymore. I pressed it many times and nothing happened.

Operating system

Ubuntu 22.04

Application version

element-desktop/unknown,now 1.11.38 amd64

How did you install the app?

Official DEB repository

Homeserver

No response

Will you send logs?

No

byquanton commented 1 year ago

https://github.com/electron/electron/pull/39111#issuecomment-1662433160 → The issue with the separate dialogs is fixed in the development Version of Electron, but not yet backported.

dal00 commented 2 months ago

Now the native gnome window does not pop up at all but just some built in window. No screens or windows are listed for sharing.

On latest Fedora 40 with Gnome 46. Screen share works for other electron chat apps. If using Ferdium I can screen share in MS Teams or Discord but Element does not work.

dal00 commented 5 days ago

Still an issue on Gnome 47.1