Public bug reported: When running `gnome-screenshot` via terminal (or bash script) with both the `--clipboard` and `--file ...` options the screenshot copied to the clipboard is incomplete/corrupted while the screenshot saved to disk is fine. I'm able to reproduce this reliably via the following command:
gnome-screenshot --clipboard --file "${HOME}/Pictures/Screenshot $(date +'%F %T').png" --window When running this command I expect to have one copy of the screenshot saved to disk and a (complete) copy of the screenshot copied to the clipboard automatically. Additional information: $ lsb_release -rd Description: Ubuntu 20.04 LTS Release: 20.04 $ apt-cache policy gnome-screenshot gnome-screenshot: Installed: 3.36.0-1ubuntu1 Candidate: 3.36.0-1ubuntu1 Version table: *** 3.36.0-1ubuntu1 500 500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages 100 /var/lib/dpkg/status I've attached the incomplete/corrupted screenshot to this report. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: gnome-screenshot 3.36.0-1ubuntu1 ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30 Uname: Linux 5.4.0-29-generic x86_64 ApportVersion: 2.20.11-0ubuntu27 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Tue May 5 13:00:43 2020 InstallationDate: Installed on 2020-04-23 (11 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) ProcEnviron: PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gnome-screenshot UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: gnome-screenshot (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug focal ** Attachment added: "Screenshot as pasted from the clipboard into GIMP" https://bugs.launchpad.net/bugs/1876978/+attachment/5366966/+files/clipboard.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1876978 Title: gnome-screenshot clipboard image incomplete To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-screenshot/+bug/1876978/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs