element-hq / element-desktop

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

Screen sharing window selector only shows a small portion of what should be available #900

Open vertigo220 opened 1 year ago

vertigo220 commented 1 year ago

Your use case

What would you like to do?

I'm not sure if this is just a limitation in the current implementation or if it's a bug, but when screen sharing and choosing the option to share a specific window, I'd like to be able to choose any open window, including Element itself, however I can't.

Despite having 20+ windows open, I was only given three options to share, none of which were Element, which is what I wanted to share. Furthermore, one of the options was a browser window, yet I had two other windows for that browser and another window for an entirely different browser open, and none of those were shown as options for sharing. Another option was a video player, though I had at least two instances of it open, but only one was shown. And the third option was the TrayControl (small dock with controls) for AIMP, which is a bit pointless to share, yet was shown while not showing other apps.

Meanwhile, my friend, with far fewer apps running, was actually given more options than me for sharing. I'm not sure if what it shows is limited to not show apps that are minimized, and I'll have to check that, but if that's the case, it should say that in the window to avoid confusion, and Element certainly wasn't minimized.

Why would you like to do it?

To share only one window instead of the whole screen, i.e. use it for the purpose its intended.

How would you like to achieve it?

By having all open windows be available for selection, including Element.

Have you considered any alternatives?

No response

Additional context

SimonBrandner commented 1 year ago

Sorry, I am little confused - is this in the browser version of Element or the desktop one? What browser version are you using/what is your Element version?

vertigo220 commented 1 year ago

Sorry, desktop. Element version: 1.11.18 Olm version: 3.2.12. I checked, and it seemed like I was right that it only shows non-minimized windows, though I didn't have time to check thoroughly. And I think Element itself was still not an option.

MadLittleMods commented 1 year ago

@vertigo220 This is really more of a defect than an enhancement. Are you still experiencing this? Has it been consistently only showing 3 windows to share? What OS are you on (any other environment details)? What version of Element are you using now?

Although it's unlikely to elucidate any further information, submit some debug logs next time you reproduce in case there is something obvious.

vertigo220 commented 1 year ago

Will have to wait until I can get in a voice chat to test if it's still happening. I'll try to remember to check it tomorrow.

vertigo220 commented 1 year ago

Rageshake done, was only showing a few windows, including one that's not even an actual window (don't remember what it was, unfortunately), despite having around a dozen open.