gnome-screenshot does not save --file when called with --clipboard option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-screenshot (Ubuntu) |
New
|
Low
|
Unassigned |
Bug Description
Dear developers,
I tried both options --file and --clipboard individually and they just work.
user@host ~/ $ gnome-screenshot --area --file=
user@host ~/ $ gnome-screenshot --area --clipboard
However running gnome-screenshot with both options does not work as intended, i.e. make a copy to the clipboard AND store a copy on my desktop or in a Screenshot folder for later reference. I am used to this behaviour from the LightScreen app.
user@host ~/ $ gnome-screenshot --area --file=
I guess the problem is with the following peace of code from gnome-screensho
if (screenshot_
{
screensho
screensho
g_
return;
}
It obviously does a g_application_
Suggested fix is to move this code block after the block saving the image to make it work.
Kind regards,
Stefan
user@host ~/ $ lsb_release -rd 10.1-0ubuntu1 0 archive. ubuntu. com/ubuntu/ trusty/main amd64 Packages packages. linuxmint. com/ rebecca/upstream amd64 Packages dpkg/status
Description: Linux Mint 17.1 Rebecca
Release: 17.1
user@host ~/ $ apt-cache policy gnome-screenshot
gnome-screenshot:
Installed: 3.8.2+qiana
Candidate: 3.8.2+qiana
Version table:
3.
500 http://
*** 3.8.2+qiana 0
700 http://
100 /var/lib/