Created attachment 74134 [details] Testdocument with bmp and gif objects Problem description: Steps to reproduce: 1. in LibO 3.5.6 I inserted a bmp and a gif object into the document 2. when opening with LibO starting from version 4.0.0.1 to 4.0.0.3, the git object was shown correctly, the bmp object was just shown using a symbol Current behavior: wrong display of bmp objects Expected behavior: bmp objects should be shown correcly Operating System: Windows 8 Version: 4.0.0.3 rc Last worked in: 3.6.5.2 rc
Created attachment 74137 [details] used bmp object
Created attachment 74138 [details] Screenshot of wrong display of bmp object
Created attachment 74154 [details] screenshot of test document opened in 3.6.5.2 I looked at your document in 4.0.0.3 and indeed I can't see the bmp images. I tried to replicate the issue with a new document created in 3.6.5.2 with bmp and gif images, they are ok in 4.0.0.3. I then downloaded your test document again and opened it in 3.6.5.2 - exactly the same problem is present (see attached screenshot) so I suspect this is some kind of corruption that you had with the original document. If you can still replicate this let me know and state exactly the steps taken and I will relook at it.
By the way my testing environment was W8 Pro 32bit, x86.
(In reply to comment #3) > so I suspect this is some kind of corruption that you had with the original >document. I completely agree with that. Therefor I should say: RESOLVED WORKSFORME. Although I also can reproduce the problem by opening your created document, but can't reproduce it by insert it/save it/reopen it by myself. Therefore I also suspect this is a corrupt file created by that version of LibreOffice. Kind regards, Joren
Created attachment 74157 [details] Document only saved with LibO 3.6.5.2
Created attachment 74158 [details] Screenshot of document save only with LibO 3.6.5.2
when creating the document with bmp and gif in LibO 3.6.5.2, the images aer shown correctly (see added screenshot). When the document is opened in LibO 4.0.0.3, the bmp image is shown incorrectly. When then the document is save in LibO 4.0.0.3 and re-opened in LibO 3.6.5.2, the image is also shown incorrectly. This does not only happen with this document, but with all other documets I've created using LibO 3.6
Thanks for testing again and providing clears steps which I followed. I can confirm that when I opened the document in attachment 74157 [details] in Libreoffice 3.6.5.2 it appears correctly but when I open it in 4.0.0.2 or 4.0.0.3 the bmp images are not visible. However, if I create a new document in 3.6.5.2 with bmp and gif images (I used your bmp but I had to recreate your gif by saving it in Paint) and save it, the bmp and gif images are visible in 3.6.5.2, and 4.0.0.2, and 4.0.0.3. I have searched for similar bugs (mentioning bmp) with status UNCONFIRMED, NEW, ASSIGNED, REOPENED, VERIFIED, NEEDINFO, PLEASETEST in 3.6.5.2 and 4.x and there were non found (yet!). This indicates that there may be a problem with documents that are created on your specific installation. To check this could you reinstall Libreoffice using full admin privileges, test again and report back with your results. If you still have a problem could you please provide full details of your installation - 32 / 64 bit, processor, locale, etc. Also does this problem only happen with bmp images? If so please create a new test document (in your fresh installation) with different bmp images which have been saved in Paint. Thanks.
Marking as NEEDINFO until headsup request is done. Thanks for your patience
I did the tests, like you proposed: - I created a new document using LibO 3.6.5 and inserted the bmp and gif image attached to this document. - I opened the document again with LibO 4.0.0.3 and both images are shown correctly. This means, that in the document, where the bmp image is not shown correctly, there seems to be an error in. I have several of these documents, because I use LibO since a long time. So I'm not sure with which version of LibO these documents have been created. Do you have an idea how to deal with it, because I estimate that I have more than hundred documents, which are affected. Thank you.
(In reply to comment #11) > Do you have an idea how to deal with it, because I estimate that I have more > than hundred documents, which are affected. Mmh, that's hard to do I guess. I ran this document through a ODF validator: http://odf-validator.rhcloud.com/ and I get some errors: Test LibO 3.5.6.odt/styles.xml[2,5417]: Error: unexpected attribute "style:contextual-spacing" Test LibO 3.5.6.odt/styles.xml[2,5805]: Error: unexpected attribute "style:contextual-spacing" Test LibO 3.5.6.odt/styles.xml[2,6109]: Error: unexpected attribute "style:contextual-spacing" Test LibO 3.5.6.odt/styles.xml[2,8665]: Error: unexpected attribute "style:contextual-spacing" Test LibO 3.5.6.odt/content.xml[2,5089]: Error: unexpected attribute "officeooo:paragraph-rsid" Test LibO 3.5.6.odt/content.xml[2,5202]: Error: unexpected attribute "officeooo:rsid" Following last 2 comments, is it possible this document is opened/saved with OpenOffice or something similar? Kind regards, Joren
Before I started using LibO some years ago, I used Microsoft Office. In these times, I converted the existing doc files to odt format. Maybe the wrong formatting is still coming from these times. Is there a possibility (tool) to correct wrong odf formatting ? Thanks.
jorendc, re: comment #12: those attributes are only written by LibreOffice, and only when using the default "ODF 1.2 Extended" format. you need to use the "ODF 1.2 (extended conforming)" option for the validator to not get these error reports.
bug is a regression from 393588ce8e698203dd87a87eb506afb551457717 which only adapted one of the two component files for the emboleobj library to the new prefix; fixed on master
forgot to say: bug happens only on Windows
Michael Stahl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=63ca871bf8f14e0450e5da0dbcfa3ee5d48f1604 fdo#60234 fdo#60492: fix emboleobj library on WNT: The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 60492 has been marked as a duplicate of this bug. ***
will this fix be available already in version 4.0.1 or only in 4.1.0 as written in the "whiteboard" field ?
This bug is fixed, we can request that it's ported back to 4.0.1 but it's still fixed so status should remain as such
Thank you very much. For sure it's fixed. How can it be requested to be ported back to 4.0.1 ?
Michael Stahl should see these messages and port it back if he's able to. Give it a few days, if he hasn't responded, send headsup (QA contact) and email and see if he can look into it :-D
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-4-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=bf9157f9cc26446f0c25e85393fbe3a7603455d2&h=libreoffice-4-0 fdo#60234 fdo#60492: fix emboleobj library on WNT: It will be available in LibreOffice 4.0.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Thank you very much for backporint to 4.0.1