I do not know if this is a bug of Libreoffice or Irfanview.
When I select some cells in Libreoffice Calc , copy and paste into the image software called Irfanview, the image has some faults.
I am using Irfanview 4.37 on Windows XP SP3.
You can try it easily. Just open a simple spreadsheet file and select some area and hit copy.
Open irfanview click paste icon. You will see the image has some faults on sides.
I tried with MS Paint, the image paste operation is normal.
There seems to be some incompatibility between Libreoffice and Irfanview.
You can check the software on www.irfanview.com
It is free and very fast software.
I also can confirm the bug that while copying pictures from Presentation to Irfanview the images get corrupted.
I will also try to contact and notify author of Irfanview software.
I am disappointed nobody has taken interest in this bug.
Well as you've stated that it pastes fine to other software - I have tested and confirm in Ifranview but do not see it in other software so it's their bug please report it with them.
As for "no interest" - we are all volunteers dedicating a lot of time to dig through thousands of bugs, a couple weeks passing without a comment is not enough to think there is "no interest." That being said - thanks for reporting and I hope you find the help you need over on their side.
Hi Joel ,
I have done some more tests and found out that this is actually a Libreoffice bug.
Here is what I found out:
I have copied some cells from Libreoffice.
I have creted an email in Mozilla Thunderbird in html and tried to paste into it.
Nothing seemed to happen, the paste does not work.
I have pasted the same clipboard to Microsoft Paint. I cut the image in Microsoft Paint (which changed it's clipboard properties or format) .
I could paste the image in Mozilla Thunderbird , and Irfanview.
This might only be happening in MS Windows platform, but I believe fixing this will be an important task.
ah yes the regression copy/paste bug - apologies for that you are correct. This is a duplicate and has been resolved - you'll see the fix in next stable release.
*** This bug has been marked as a duplicate of bug 74584 ***
Reopened as it does not look like the duplicate bug is related to this one.
REOPENED is only for bugs that are assigned to a developer and marked as FIXED. Correct status here is NEW as I've confirmed the bug exists
Created attachment 96000 [details]
Original picture copied to MS Paint.
But you can't go directly from DUPLICATE to NEW :)
Created attachment 96001 [details]
Copied picture in clipboard as Metafile.
Created attachment 96002 [details]
Copied picture in clipboard as Picture.
Created attachment 96003 [details]
Copied picture in clipboard as Bitmap.
Moving my comments from other thread...
I am using Libreoffice 188.8.131.52
I can still confirm that this bug affects copying pictures to the image editor called Irfanview on Windows XP SP3.
Upon further investigation it can be said that there is some problem in Libreoffice about copying pictures to Windows clipboard.
Please note that Ms Paint can render the copied picture correctly.
However there are 4 types of clipboard data in memory when copied from Libreoffice and except one, they are corrupted. Therefore some image programs rendering a corrupted image when pasted.
Please check attached picture files.
1- Original picture copied to Ms Paint. (orj.jpg)
2- Original picture copied and Windows Clipboard is being used to display contents, using (view--> Enhanced Metafile) (metafile.jpg)
Please notice the difference in the image compared the orj.jpg
3- Original picture copied and Windows Clipboard is being used to display contents, using (view--> Picture) (picture.jpg)
Please notice this is a correct display of the image which MS Paint probably using to import.
4- Original picture copied and Windows Clipboard is being used to display contents, using (view--> Bitmap) (bitmap.jpg)
Please notice the corruption in the image. A lot of image software could be using the bitmap format for pasting images , and they would get corrupted image from Libreoffice most of the time.
5- There is a clipboard data type Dib Bitmap but it can not be displayed in clipboard viewer so I pass that one.
Not every image is being affected as severe as the ones I attached, however this bug has affected every copied image from Libreoffice.
The only workaround I have, is to paste the image to MS Paint first.
Later cut the image from MS Paint , and paste it to any software I want.
It works without any corruption. However it is very annoying to use this workaround instead of pasting directly to an image editor.
Indeed you can't - it's on our long laundry list of things that need changed when we move to our own bug tracker :)
As for the bug still existing - that's unfortunate. I suspect it may be around for awhile as we have much more pressing issues to deal with but thanks for the update
Is it not possible to use some code from other openoffice derivatives to solve some problems that might already be solved?
For example Oxygenoffice was a fine fork before I switched to Libreoffice for better MS file compatibility.
Maybe you can use some code from it?
The issue is tracking down what code it is - 10,000,000+ lines of code, sometimes it's like digging for a needle in a haystack to find out where things are going wrong. But if you want to try to poke at the code - please feel free to do so
Also please be aware that just because two products are forks from the same source (AOO) does not mean that the code is now compatible - we're having thousands of commits per month which is constantly making our code different from others -- and I'm sure similar things are happening on the other side
Just wanted to confirm that the bugs I encountered does not happen in the 4.1.5.x series.
Therefore I believe you already have the solution to the image copy paste and lookup function bugs.
No, this is not how programming works. :)
Even if you know that it worked before you still have to go and check out what is wrong and where, what has changed in between and then you have to come up with a solution that also works in the new version.
yes please stop putting comments suggesting this is an easy fix - in that time frame there have been THOUSANDS of commits affecting tens if not hundreds of thousands of lines of code. It may very well be something easy but that doesn't change the fact that tracking it down could be quite hard.
Actually I think this is fixed in LO daily build. There were changes to Windows clipboard handling like messing with DIBV5, adding support for PNG,... I guess DIBV5 is responsible which was disabled in master but not in 4.2, however I can't confirm this as I don't have a LO build environment on Windows.
Burak can you try to install LO daily build and confirm?
I removed all libreoffice.org.
I installed libo-42~2014-03-23_18.49.53_LibreOfficeDev_184.108.40.206.0_Win_x86.msi on Windows XP SP3 with all updates.
The lookup function bug is fixed.
The copy-paste clipboard bug still not fixed.
I didn't mean 4.2 daily build.. I meant 4.3 (master) daily build, for example  or newer. Sorry for the confusion.
Created attachment 96278 [details]
220.127.116.11 alpha copy function errors 1/3
Created attachment 96279 [details]
18.104.22.168 alpha copy function errors 2/3
Created attachment 96280 [details]
22.214.171.124 alpha copy function errors 3/3
I did download and install both the one in your post and current one master~2014-03-24_05.49.26_LibreOfficeDev_126.96.36.199.alpha0_Win_x86.msi
However, while both worked fine the lookup function, they both failed to copy picture in Impress.
I guess the software is early alpha stage to perform basic functions.
Please check attached 3 files. ( 188.8.131.52 alpha copy function errors 1/3; 2/3 ; 3/3 )
Ah OK. I'll ask someone with a windows build to find the correct patch and backport it to 4.2.
Can you try it now with LO 4.2 daily build .
Which one, is the current one ok?
(In reply to comment #30)
> Which one, is the current one ok?
Yes, it's OK.. but just to be safe I used .
I have tested
libo-42~2014-04-01_09.38.08_LibreOfficeDev_184.108.40.206.0_Win_x86.msi on Windows
It works fine , I tested for both clipboard copy paste and lookup function
bugs, they are both solved.
Thanks for all the help.
On Tue, Apr 1, 2014 at 5:17 PM, <email@example.com> wrote:
> *Comment # 31 <https://bugs.freedesktop.org/show_bug.cgi?id=75522#c31>
> on bug 75522 <https://bugs.freedesktop.org/show_bug.cgi?id=75522> from
> Tomaz Vajngerl <firstname.lastname@example.org> *
> (In reply to comment #30 <https://bugs.freedesktop.org/show_bug.cgi?id=75522#c30>)> Which one, is the current one ok?
> > http://dev-builds.libreoffice.org/daily/libreoffice-4-2/Win-x86@42/current/
> Yes, it's OK.. but just to be safe I used .
> You are receiving this mail because:
> - You are on the CC list for the bug.
> - You reported the bug.
Resolved by backporting of  and . The fix will be in LO 4.2.4