Bug 81567 - FILESAVE: DOCX caption of image is shown at top instead of bottom in Word
Summary: FILESAVE: DOCX caption of image is shown at top instead of bottom in Word
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: 4.3.0.3 rc
Hardware: Other All
: medium major
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard: bibisected filter:docx
Keywords: bisected, regression
Depends on:
Blocks:
 
Reported: 2014-07-20 17:00 UTC by Jorendc
Modified: 2015-01-15 11:11 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Sample document. Save this as .docx (10.35 KB, application/vnd.oasis.opendocument.text)
2014-07-20 17:00 UTC, Jorendc
Details
LibO 4.0 VS 4.3 (349.68 KB, image/png)
2014-07-20 17:42 UTC, Jay Philips
Details
sample files created for the testing (2.81 MB, application/zip)
2014-07-20 22:01 UTC, Jay Philips
Details
bibisectlog (2.32 KB, text/plain)
2014-07-22 19:39 UTC, Jorendc
Details

Description Jorendc 2014-07-20 17:00:26 UTC
Created attachment 103147 [details]
Sample document. Save this as .docx

* Open and resaved attached document as .docx
* Open using Microsoft Office

Behavior: image caption is shown at the top, and the caption text is lost.

Tested using LibreOffice Version: 4.4.0.0.alpha0+
Build ID: a82ff18269e5b37348d402b7c21c3f200068265c
TinderBox: Win-x86@39, Branch:master, Time: 2014-07-20_02:34:36

Test file created with following steps:
* Open Writer
* Insert > image > from file
* Just pick a random image
* Right click on it > Caption
* Add some caption text
* Save document as .odt an .docx
Comment 1 Jay Philips 2014-07-20 17:38:16 UTC
Confirmed in Linux Mint on 4.3.1 and 4.4. The saved docx file from 4.1.6 and 4.2.5 crashes ms word. The docx file saved from 4.0.6 works fine.
Comment 2 Jay Philips 2014-07-20 17:42:35 UTC
Created attachment 103150 [details]
LibO 4.0 VS 4.3
Comment 3 Jay Philips 2014-07-20 22:01:26 UTC
Created attachment 103157 [details]
sample files created for the testing
Comment 5 Jorendc 2014-07-22 19:42:22 UTC
Hi Tushar,

This bug _might_ be introduced by commit 7e92d9881f039899262882633712ec0a3de01474 (http://cgit.freedesktop.org/libreoffice/core/commit/?id=7e92d9881f039899262882633712ec0a3de01474). You mind taking a look?

Thanks in advance,
Joren
Comment 6 Michael Stahl 2014-07-24 15:01:58 UTC
comment #5 does have the right commit; but for me without that
Word 2010 will go into an infinite loop reading the file - that
was the bug that was fixed.
Comment 7 Tushar Bende 2014-07-24 15:53:47 UTC
Hi Joren,
Sure I will check this issue document tomorrow. 
Michael has correctly said if we remove this fix Microsoft word goes in infinite loop.
Comment 8 Tushar Bende 2014-07-28 06:56:13 UTC
Joren:
I checked the issue document on latest build.I can work on this issue you no one is working on it please assign it to me.

Thanks,
Tushar
Comment 9 Jorendc 2014-07-28 11:19:48 UTC
Hi Tushar,

First of all thanks for your time! Really appreciated!

(In reply to comment #8)
> I checked the issue document on latest build.I can work on this issue you no
> one is working on it please assign it to me.

Sure you can :-). No one is assigned to this bug right now, and no one did left a comment saying (s)he's working on it. Please do :-).

PS: this is the same for all bugs: if it's not assigned and no one is commenting he's working on it -> feel free to take it.

Thanks!

Joren
Comment 10 Joel Madero 2015-01-10 19:57:45 UTC
Tushar - 

Are you still working on this one? If not you mind setting to NEW and removing yourself from Assigned to? Thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.