! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Copy to clipboard does not work anymore
Status:
RESOLVED: DUPLICATE
Product:
Xfce4-screenshooter
Component:
General

Comments

Description fabiengb 2013-10-22 18:37:33 CEST
xfce4-screenshooter 1.8.1

When copying the screenshot to clipboard, nothing appends when pasting in Libre Office Writer or AbiWord for example.

Running XUbuntu 13.10.
Comment 1 fabiengb 2013-10-22 19:39:08 CEST
Created attachment 5195 
Paste test case

It is working fine with the attached test case. (code comes from GIMP).

I guess some apps, like Libre Office, are using something else than the GTK API to access the clipboard and maybe it is the cause the issue.
Comment 2 Paul Lee 2013-11-27 14:12:59 CET
(In reply to fabiengb from comment #0)
> xfce4-screenshooter 1.8.1
> 
> When copying the screenshot to clipboard, nothing appends when pasting in
> Libre Office Writer or AbiWord for example.
> 
> Running XUbuntu 13.10.

I can't paste to GIMP 2.8.8 either.
Comment 3 sgarbarini 2014-01-24 23:57:09 CET
It doesn't work for me either, but in my case I don't even see that "Copy to clipboard" option in the Screenshot dialog (I'm talking about the second dialog where you have options to Save, Open with, and Host).
Comment 4 sgarbarini 2014-01-24 23:59:25 CET
Created attachment 5330 
I don't get an option to "Copy to clipboard"

Here is a screen shot where there is no "Copy to clipboard" option.
Comment 5 Steve Dodier-Lazaro editbugs 2014-04-28 20:06:55 CEST
I just tried against Git, on Xfce 4.10.1 ArchLinux x86_64 (3.14.1).

I do get the option to copy to clipboard -- sgarbarini can you please tell us which distribution you're using and verify with them whether they removed the option with a patch?

I do am able to paste to GIMP.

I did not try to paste to a non-GTK app but supporting any further app would be fairly complicated -- the screenshooter would have to register different formats for the screenshot to be read and then provide an interface to query it, using the X11 lib (in opposition to its current 3-lines-or-so calls to GtkClipboard).

I'd recommend living with this bug until X11 is gone...
Comment 6 David Ayers 2017-01-10 18:16:57 CET
This is Xubuntu 16.04 with xfce4-screenshooter 1.8.2-2

We first noticed this using Xubuntu while creating multiple screenshots with "Print" and inserting them into the LibreOffice document.

open a new LibreOffice Writer document
press "Print"
choose save to clipboard
use context menu in LibreOffice to insert screenshot into document
edit document by simply adding 1 as a counter after the screenshot
press "Print" again
choose save to clipboard
use context menu in LibreOffice to insert screenshot into document
edit document by simply adding 2 as a counter after the screenshot
repeat until either the insert hangs an fails (for us it happened on the 3-8 iteration)

With a resolution of 1920x1080 we can insert about 3-8 full screen screenshots before the insert hangs for about ~30 seconds without inserting any contents. Yet editing may be resumed after words. We can also start LibreOffice Calc and attempt an insert and it would report the failure that it could not insert the image.

We can also:
start a fresh GIMP instead
press "print"
Choose File->Create->From Clipboard
here we expect the insertion of the screenshot yet instead:
wait for the ~30 second hang
have GIMP report there that it could not retrieve image Data
(If you start with GIMP it may work for the first few create from clipboard screenshots but it will hang and fail eventually.)
Comment 7 David Ayers 2017-01-10 18:19:37 CET
I forgot to mention, when using smaller screenhots (either smaller windows or at a resolution of 1280x1024, we haven't been able to easily reproduce this.
Comment 8 Andre Miranda editbugs 2017-06-08 18:49:06 CEST
Even though this bug is older, the discussion on #13342 is more detailed.

*** This bug has been marked as a duplicate of bug 13342 ***

Bug #10426

Reported by:
fabiengb
Reported on: 2013-10-22
Last modified on: 2017-06-08

People

Assignee:
Jérôme Guelfucci
CC List:
5 users

Version

Version:
unspecified

Attachments

Paste test case (1.91 KB, text/x-csrc)
2013-10-22 19:39 CEST , fabiengb
no flags
I don't get an option to "Copy to clipboard" (29.07 KB, image/png)
2014-01-24 23:59 CET , sgarbarini
no flags

Additional information