Bug 122888 - FILESAVE Shape with caption incorrectly saved as DOCX
Summary: FILESAVE Shape with caption incorrectly saved as DOCX
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Textbox Shapes
  Show dependency treegraph
 
Reported: 2019-01-23 02:17 UTC by Aron Budea
Modified: 2019-10-28 13:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample ODT (9.44 KB, application/vnd.oasis.opendocument.text)
2019-01-23 02:17 UTC, Aron Budea
Details
Sample DOCX (exported from ODT) (5.18 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-01-23 02:17 UTC, Aron Budea
Details
Result, when opening docx in LO (8.08 KB, application/pdf)
2019-01-23 08:09 UTC, Dieter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2019-01-23 02:17:12 UTC
Created attachment 148533 [details]
Sample ODT

- Add a shape to a document.
- Add a caption to it.
- Save as DOCX, and reload.

=> The shape appears off, and the caption slides up to top of text box.

Attaching both an ODT saved after the first two steps, and the same saved as DOCX.
This is an export issue, as the DOCX appears the same in Word as in Writer after reload.

Observed using LO 6.3.0.0.alpha0+ (6d70e04f66cbeb3aeeb1e9b69d5b201ae3d24747) & 4.4.0.3 / Windows 7.
In 4.0.0.3 the caption and the enclosing text box gets lost during export.
Comment 1 Aron Budea 2019-01-23 02:17:55 UTC
Created attachment 148534 [details]
Sample DOCX (exported from ODT)
Comment 2 Dieter 2019-01-23 08:09:16 UTC
Created attachment 148539 [details]
Result, when opening docx in LO

Although my result perhaps looks a little different, I confirm that bug with

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 411f3a050ac2be598019d512f8ccfe041080c28f
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-01-14_03:17:11
Locale: en-US (de_DE); UI-Language: en-US
Calc: threaded
Comment 3 Aron Budea 2019-01-23 08:29:30 UTC
(In reply to Dieter Praas from comment #2)
> Although my result perhaps looks a little different, I confirm that bug with
Yes, that's what the DOCX looks like for me, too. I assume if you save the ODT as DOCX yourself, the result will look the same.
Comment 4 sdc.blanco 2019-10-28 13:01:01 UTC
Can confirm with Version: 6.3.3.1 (x64), using .odt file in attachment 103147 [details].

One additional observation:  

Before saving the file as .docx, the frame (Frame1) is listed under "Text frames" in Navigator.  After saving as .docx and reloading, this frame is now listed under "Drawing objects".
Comment 5 sdc.blanco 2019-10-28 13:03:58 UTC
(In reply to sdc.blanco from comment #4)
> Can confirm with Version: 6.3.3.1 (x64), using .odt file in attachment
> 103147 [details].

Sorry.  I meant  attachment 148533 [details]