For Firefox, this is a duplicate of bug 1312376. The fix/workaround is to use environment MOZ_USE_XINPUT2=1 or MOZ_ENABLE_WAYLAND=1 in your /etc/environment.
For Tor Browser, if that did not come from Ubuntu then we can't track its bugs on this site.
For LibreOffice, there doesn't seem to be a bug for this yet that I can find, so this bug is now about LibreOffice.
For Firefox, this is a duplicate of bug 1312376. The fix/workaround is to use environment MOZ_USE_XINPUT2=1 or MOZ_ENABLE_ WAYLAND= 1 in your /etc/environment.
For Tor Browser, if that did not come from Ubuntu then we can't track its bugs on this site.
For LibreOffice, there doesn't seem to be a bug for this yet that I can find, so this bug is now about LibreOffice.