Bug 61405 - LibreOffice unable to paste image from clipboard
Summary: LibreOffice unable to paste image from clipboard
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
(earliest affected) release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Reported: 2013-02-24 19:12 UTC by oc-spam65
Modified: 2017-10-04 21:16 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description oc-spam65 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 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 oc-spam65 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 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 and

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

Thanks for reporting.

I can not reproduce this using Linux Mint 15 x64 (Cinnamon) with LibreOffice Versie .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,
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.

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:  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
Comment 11 QA Administrators 2015-12-20 16:18:00 UTC Comment hidden (obsolete)
Comment 12 oc-spam65 2016-04-16 10:06:29 UTC
It apparently works now on my system (Debian):

  LibreOffice Version:
  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, 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.