It appears to be an upstream issue, as the only Ubuntu patches in gnome- screenshot 3.36.0 are related to:
* Unity support * Disabling the possibility of taking a screenshot of a window or an area by right-clicking on gnome-screenshot's desktop icon, because this feature doesn't work in Wayland (bug 1720262) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1864539 Title: gnome-screenshot adds unnecessary transparent padding around window screenshots To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-screenshot/+bug/1864539/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs