Bug 58463

Summary: FILESAVE: LibreOffice Does Not Save Draw Items (ex. Smiley) with .DOCX Extension
Product: LibreOffice Reporter: Juan Matías de la Cámara Beovide <juanmatias>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jmadero.dev, samuel.mehrbrodt
Priority: low    
Version: 3.6.3.2 release   
Hardware: Other   
OS: Linux (All)   
Whiteboard: BSA
Crash report or crash signature: Regression By:
Attachments: The documents for both cases with all the diff exports.

Description Juan Matías de la Cámara Beovide 2012-12-18 14:30:25 UTC
Created attachment 71731 [details]
The documents for both cases with all the diff exports.

Problem description: when a file is exported to DOCX it loses certain formats. I made a file with paragraph's lines (one paragraph with upper line, one with lower line and one with all lines). Then I saved it as ODT, DOC and exported to PDF with no problem. When I export it to DOCX and then open the docx again the lines are gone. If I add some draws (a smily, a box and a dialog box) the DOCX can't be reopened.

Steps to reproduce:
1. Create a doc
2. Add lines around the paragraphs
3. Export to DOCX
4. Close LO
5. Open LO and try to open the created DOCX
6. The lines are not shown
7. Now create a doc again
8. Add some draws (a smily it's ok)
9. Export it to DOCX
10. Close LO
11. Open LO and open the created DOCX
12. LO will crash

Current behavior: In the firt case the lines are not shown. In the second LO will crash.

Expected behavior: In the first case is expected to see the lines. In the second at least see the document without crash.


Operating System: Linux (Other)
Comment 1 Joel Madero 2012-12-20 19:08:10 UTC
What do you mean by "add lines around the paragraph", I can't reproduce the crash on 4.1 master, what I can reproduce is loss of data (for the 2nd case, the smiley face). 

The issue is that I can also confirm this on 3.6.3.2, so I'm changing the version to reflect that.

Marking as NEW, editing title to reflect what I have confirmed.

Once Beta 2 comes out please retest this to confirm what I have said, also expand on "add lines around paragraph" so I can test that as well

Prioritizing:

Normal: Can prevent high quality work with .docx extension

Low: Only happens with 1 format but you wouldn't know that it happens unless you reopen the document. Only occurs with draw items which aren't used that frequently in a document
Comment 2 Samuel Mehrbrodt (allotropia) 2014-01-24 13:15:01 UTC
The first issue (missing paragraph lines) is resolved on recent master.
So I'm closing this issue.

I have opened Bug 74018 for the crasher problem, which still exists.
I think it's better to have one bug report per problem, that makes it easier for developers to dive in.

Thanks for reporting anyway.