"Ubuntu 20" isn'ta release - is it Ubuntu 20.04 or Ubuntu 20.10?
They're quite different.
Under Wayland, screensharing is handled by components that are part of
the operating system. Gnome shell is responsible for capturing the
screen or window, Pipewire is used to connect that to Firefox, and xdg-
desktop-portal (and xdg-desktop-portal-gtk) is responsible for the UI
popup that's used to select the monitor or window to share.
The ability to share a single window was only added very recently, and
it's possible that the version of the distribution being used doesn't
have everything hooked up for it to work.
Worst case, on the login screen there should be an options (gear) menu
that can be used to switch to an X11 session, where the browser's built
in screenshare with window support can be used.
--
Calvin Walton <
calvin...@kepstin.ca>