Indeed! Thank you for pointing that out. I also found https://gitlab.gnome.org/GNOME/gnome-screenshot/-/issues/82 and linked issues and merge requests, for additional context.
So the option to include/remove-border is removed from the upstream GUI and so are the border effects. The CLI isn't updated yet though. Window screenshots now always include a faint shadow on all four sides of the window, and that's why there's transparent padding added all around. That's the new expected behavior. Would it make sense, and would it be possible, for the recently released 3.37.1 version of gnome-screenshot to be SRU'd into Ubuntu 19.10 and 20.04 then? With the current 3.36.0 version, it looks like border inclusion/removal and the border shadow/none effect are broken, or at least really don't work as the GUI states. ** Bug watch added: gitlab.gnome.org/GNOME/gnome-screenshot/-/issues #82 https://gitlab.gnome.org/GNOME/gnome-screenshot/-/issues/82 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-screenshot in Ubuntu. https://bugs.launchpad.net/bugs/1864539 Title: gnome-screenshot adds unnecessary transparent padding around window screenshots Status in gnome-screenshot package in Ubuntu: Triaged Bug description: When taking a window screenshot with gnome-screenshot in 19.10 and 20.04, a 20 to 25 pixel wide area of transparent padding (alpha) is added around the screenshot. See attached screenshots, possibly with an external image viewer that displays transparency as e.g. a checkered pattern, if your browser doesn't. The expected behavior is that of 18.04: * If a border effect is selected, the smallest necessary amount of transparent padding is added to accommodate the effect. * If no border effect is selected, no transparent padding is added (is there even a need for an alpha channel in this case?). ProblemType: Bug DistroRelease: Ubuntu 19.10 Package: gnome-screenshot 3.33.90-1ubuntu1 ProcVersionSignature: Ubuntu 5.3.0-40.32-generic 5.3.18 Uname: Linux 5.3.0-40-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu8.4 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Mon Feb 24 14:45:28 2020 ExecutablePath: /usr/bin/gnome-screenshot InstallationDate: Installed on 2019-10-20 (127 days ago) InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191014) ProcEnviron: SHELL=/bin/bash XDG_RUNTIME_DIR=<set> PATH=(custom, no user) LANG=en_US.UTF-8 SourcePackage: gnome-screenshot UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-screenshot/+bug/1864539/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp