desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #114213
[Bug 1446650] Re: gnome-screenshot does not save --file when called wgnome-screenshot does not save --file when called with --clipboard optionith --clipboard option
user@host ~/ $ lsb_release -rd
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.10.1-0ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
*** 3.8.2+qiana 0
700 http://packages.linuxmint.com/ rebecca/upstream amd64 Packages
100 /var/lib/dpkg/status
** Summary changed:
- gnome-screenshot does not save --file when called wgnome-screenshot does not save --file when called with --clipboard optionith --clipboard option
+ gnome-screenshot does not save --file when called with --clipboard option
--
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/1446650
Title:
gnome-screenshot does not save --file when called with --clipboard
option
Status in gnome-screenshot package in Ubuntu:
New
Bug description:
Dear developers,
I tried both options --file and --clipboard individually and they just work.
user@host ~/ $ gnome-screenshot --area --file=/home/user/Desktop/Screenshot_1.png
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=/home/user/Desktop/Screenshot_1.png --clipboard
I guess the problem is with the following peace of code from gnome-
screenshot-3.16.0/src/screenshot-application.c
if (screenshot_config->copy_to_clipboard)
{
screenshot_save_to_clipboard (self);
screenshot_play_sound_effect ("screen-capture", _("Screenshot taken"));
g_application_release (G_APPLICATION (self));
return;
}
It obviously does a g_application_release and return before actually saving the image to file.
Suggested fix is to move this code block after the block saving the image to make it work.
Kind regards,
Stefan
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-screenshot/+bug/1446650/+subscriptions
References