I have Fedora Workstation 24 and I use Microsoft Teams through Google Chrome Version 91.0.4472.101 (Official Build) (64-bit).
In Microsoft Teams, when you share a screen, a pop up with 3 tabs open: (1) full screen (2) window (3) google chrome tab
Problems:
I cannot share the full screen. Only a black rectangle is shared
In the second tab, some windows are not shown. For example, Mozilla Thunderbird and KeePassXC are shown, while Text Editor (gedit), gnumeric and LibreOffice Calc are not shown. I cannot share these windows
How can I solve, especially problem (2)? Why I cannot share the windows of LibreOffice Calc and Text Editor? They don’t even appear in the list of windows to share.
According to this comment on askubuntu you can use chrome which supports wayland screen recording, thus allowing you to share your windows with teams web app. I haven’t checked this claim. Sadly, i use xorg, because other (also electron based) apps are not yet working with wayland on this issue.