After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 781925 - Unable to paste image from clipboard
Unable to paste image from clipboard
Status: RESOLVED INVALID
Product: gnome-screenshot
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-screenshot-maint
gnome-screenshot-maint
Depends on:
Blocks:
 
 
Reported: 2017-04-28 23:46 UTC by Andre Miranda
Modified: 2018-04-12 22:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andre Miranda 2017-04-28 23:46:37 UTC
Version: gnome-screenshot 3.22.0

How reproducible:
Always

Steps to Reproduce:
1. Run gnome-screenshot -c
2. Open GIMP
3. File-New-Create from clipboard  (CTRL + SHIFT + V)

Actual results:
It takes some time than it writes "There is no image data in the clipboard"

Expected results:
Import of image data without timeout

This bug was reported for xfce4-screenshooter[1]. Since both apps use gtk_clipboard_set_image this function might be the culprit. This bug doesn't seem to affect the interactive mode, maybe because the app is not closed after clicking the Copy to Clipboard button.

1 - https://bugzilla.xfce.org/show_bug.cgi?id=13342
Comment 1 Cosimo Cecchi 2017-04-28 23:52:00 UTC
Is the bug only reproducible under xfce? Clipboard data is managed by gnome-settings-daemon in GNOME, and if xfce does not use it there may be a bug in its equivalent implementation.
Comment 2 Andre Miranda 2017-04-29 00:09:59 UTC
You're right. Running /usr/lib/gnome-settings-daemon/gsd-clipboard instead of xfsettingsd fixes the bug on both apps. I'll report a bug for xsettingsd, thanks!