Bug 61405 - LibreOffice unable to paste image from clipboard
Summary: LibreOffice unable to paste image from clipboard
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
4.0.2.2 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-24 19:12 UTC by Olivier
Modified: 2019-04-30 14:16 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier 2013-02-24 19:12:21 UTC
To repeat the problem:

* Capture a region from your screen with a tool like "xfce4-screenshooter"
* Do "copy to clipboard"
* Then try to paste in LibreOffice with CTRL+v

Result : LibreOffice stops running during 8 seconds, and nothing is pasted.

Expected result : Screen capture should be pasted, of course.

Note that the mentioned screen capture can be pasted into Gimp without any issue with CTRL+v... This shows that LibreOffice is not functional.
Comment 1 Adolfo Jayme Barrientos 2013-02-25 16:20:26 UTC
I can’t reproduce this problem in Ubuntu 13.04, LibreOffice 4.0.0, GNOME: after taking a screenshot with gnome-screenshot, clicking “Copy to Clipboard”, switching to LibreOffice Writer and pressing Ctrl+V, the image is immediately pasted. You don’t specify it, what’s your LibreOffice and xfce version?
Comment 2 Olivier 2013-02-25 19:21:41 UTC
Hi, thank you for trying.

* The LO version was specified above: 3.5.4 (Debian Testing)
* XFCE: xfce4-session 4.8.3 (Xfce 4.8) and xfce4-screenshooter 1.8.1
Comment 3 mossman44 2013-03-14 13:40:02 UTC
I was able to reproduce the problem in Ubuntu 12.04.2 Libreoffice 4.0.1.2 xfce 4.8. However, when I switched to Unity and tried to paste an image from the clip board, I experienced no issues. This leads me to believe this potential bug is xfce specific.
Comment 4 Alla Bezroutchko 2013-05-08 13:09:33 UTC
I have the same problem on Xubuntu 12.04. The problem is present in LibreOffice 3.5.7.2 and 4.0.2.2.

Copying in xfce4-screenshooter and pasting into Writer does not work. Copying from screenshooter to Gimp, than from Gimp to Writer works. In both cases if I do Paste Special in LibreOffice I see "Bitmap" in the list of available formats.
Comment 5 Jorendc 2013-05-19 12:28:34 UTC
Hi,

Thanks for reporting.

I can not reproduce this using Linux Mint 15 x64 (Cinnamon) with LibreOffice Versie 4.0.3.3 .3.3 (Bouw-id: 400m0(Build:3)); Dutch UI;

I tested both "xfce-screenshooter (1.8.1" as well as "Shutter". I can paste correctly an image to LibreOffice.

@Bug reporter and Alla: you have the chance to reproduce this using a non-xfce interface Linux? I mean, I can not reproduce this using Cinnamon.

Otherwise I'm struggling with the fact this is a LibreOffice bug or not. It is also possible there is something different/wrong/... with the clipboard of xfce interface linux's. But, because Alla reproduced this one, lets mark it as NEW for now. I hope a developer can determine it's a bug in LibreOffice or not.

Kind regards,
Joren
Comment 6 retired 2013-05-19 12:32:33 UTC
Just FYI: Here's the xfce bugtracker clipboard related bugs: maybe add this link and not our bug? https://bugzilla.xfce.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=&content=clipboard

Maybe create a bug with them and see if they can verify it as theirs.
Comment 7 gibi 2013-11-04 18:56:42 UTC
Same issue with Linux Mint 15 Xfce Edition 64:
-  xfce4-screenshooter                         1.8.1-1                                amd64
-  xfce4-session                                     4.10.0-2ubuntu1.1                      amd64  
- libreoffice 4.1.3 official X86_64
Comment 8 antistress 2014-03-31 22:51:00 UTC
I can confirm this bug on my Debian Sid GNOME 64 bits system with Libreoffice 1:4.1.5-2

Copy a text within LibreOffice Writer.
Then copy an image from LibreOffice Writer or Firefox
Then try to paste the image to LibreOffice Writer : the text is copied, not the image.

Thanks
Comment 9 Ben M 2014-05-13 19:38:28 UTC
I can confirm I have the same problem on my versions.  Copying to clipboard from a screenshot and pasting into LibreOffice does not work as intended.

LibreOffice: 4.1.3.2  Build410m0(Build:2)
xfce4-screenshooter: 1.8.1-2
xfce4-session: 4.10.1-1ubuntu1
Comment 10 Ioannis A 2014-12-20 00:53:57 UTC
Can confirm the issue exists with i3 (http://i3wm.org/) on Debian Jessie x86_64 with Libreoffice 4.3.3.2.
Comment 11 QA Administrators 2015-12-20 16:18:00 UTC Comment hidden (obsolete)
Comment 12 Olivier 2016-04-16 10:06:29 UTC
It apparently works now on my system (Debian):

  LibreOffice Version: 5.0.5.1
  xfce4-screenshooter     1.8.1-2
  xfce4-session   4.10.1-5
Comment 13 Daniel Boyd 2017-10-04 20:54:20 UTC
I am experiencing a slight variation of this issue.  I am running:

Debian Testing (Buster)
GNOME 3.26
LibreOffice 5.4.1.2.0+, Build ID: 1:5.4.1-1

I am unable to copy and paste graphics from GIMP to Libreoffice.

I am able to paste the same image into Gnumeric, so the issue appears to be with LibreOffice.

To Repeat:
1) select area in GIMP
2) Ctrl-C
3) switch to libreoffice program (have tested Impress and Calc)
4) Ctrl-V

Expected Result:
image is pasted into Libreoffice

Actual Result:
The mouse cursor switches to a spinning wheel for a few seconds and then nothing happens.  A few times, LibreOffice has then gone onto crash shortly afterwards.
Comment 14 Xisco Faulí 2017-10-04 21:16:52 UTC
Dear Daniel,
This bug has been in RESOLVED WORKSFORME status for more than 6 months.
If the issue is still reproducible with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/, please report a new issue in https://bugs.documentfoundation.org/enter_bug.cgi providing, if needed, the steps and documents to reproduce it.
Thanks for your understanding and collaboration.
Closing as RESOLVED WORKSFORME
Comment 15 Jan Lachnitt 2019-04-30 14:16:21 UTC
I am having the same problem. LO behaves exactly as described in the original report, but I can not even paste my screenshot into GIMP. This is why I believe the bug is not in LO. I think it is actually the following bug in GNOME and XFCE:

https://bugzilla.gnome.org/show_bug.cgi?id=652609
https://bugzilla.xfce.org/show_bug.cgi?id=13537

It has been fixed in GNOME in 2011, but in XFCE it has been fixed only recently, and so most XFCE installations are still affected.