Bug 122962 - FILESAVE DOCX Missing shape after saving in LO
Summary: FILESAVE DOCX Missing shape after saving in LO
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx, regression
: 122963 (view as bug list)
Depends on:
Blocks: OOXML-Shapes
  Show dependency treegraph
 
Reported: 2019-01-25 11:50 UTC by NISZ LibreOffice Team
Modified: 2019-04-15 15:47 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
The original file (39.23 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-01-25 11:51 UTC, NISZ LibreOffice Team
Details
The original file after saving (23.41 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-01-25 11:51 UTC, NISZ LibreOffice Team
Details
Screenshot of the original and exported document side by side in Writer (286.59 KB, image/png)
2019-01-25 11:52 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2019-01-25 11:50:40 UTC
Description:
Shape goes missing after saving the attached file in LO as docx.

Steps to Reproduce:
    1. Open the original file LO.
    2. Save it as docx.
    3. Reopen the file.
    4. Notice the missing shape.

Actual Results:
The green rectangle goes missing after saving in LO.

Expected Results:
The green rectangle should stay the same even after saving in LO.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 NISZ LibreOffice Team 2019-01-25 11:51:11 UTC
Created attachment 148644 [details]
The original file
Comment 2 NISZ LibreOffice Team 2019-01-25 11:51:36 UTC
Created attachment 148645 [details]
The original file after saving
Comment 3 NISZ LibreOffice Team 2019-01-25 11:52:04 UTC
Created attachment 148646 [details]
Screenshot of the original and exported document side by side in Writer
Comment 4 Durgapriyanka 2019-01-25 17:03:02 UTC
Thank you for reporting the bug.I confirm the bug present in

Version: 6.3.0.0.alpha0+
Build ID: 3c964980da07892a02d5ac721d80558c459532d0
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-12-12_02:07:45
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 5 Buovjaga 2019-02-03 15:31:37 UTC
3.5.0 does not show the shape on fileopen.

Bibisected with 43max on Linux, but there were a lot of skipped commits due to crashes. The only DOCX-related commits in the range are

commit e930d96d95edc1c1e5fd54493d289a76f31a846f
Author:     Miklos Vajna <vmiklos@collabora.co.uk>
AuthorDate: Wed Dec 18 14:31:43 2013 +0100
Commit:     Miklos Vajna <vmiklos@collabora.co.uk>
CommitDate: Wed Dec 18 14:53:00 2013 +0100

    DocxAttributeOutput::EndParagraph: fix export of tables in textframes

    This is triggered by
    sw/qa/extras/ooxmlexport/data/floatingtbl_with_formula.docx when DML exp
    TextFrames is enabled in non-experimental mode.


commit cfb5b20cdc230320ff9f864d1cfd81aaea221da0
Author:     Miklos Vajna <vmiklos@collabora.co.uk>
AuthorDate: Wed Dec 18 11:03:57 2013 +0100
Commit:     Miklos Vajna <vmiklos@collabora.co.uk>
CommitDate: Wed Dec 18 11:09:47 2013 +0100

    DocxAttributeOutput::OutputFlyFrame_Impl: enable DML export by default

    This was only available in experimental mode previously. Also note that
    export of Writer TextFrames are handled separately, there DML export is
    still off by default.
Comment 6 Buovjaga 2019-04-13 20:29:59 UTC
(In reply to Buovjaga from comment #5)
> commit cfb5b20cdc230320ff9f864d1cfd81aaea221da0
> Author:     Miklos Vajna <vmiklos@collabora.co.uk>
> AuthorDate: Wed Dec 18 11:03:57 2013 +0100
> Commit:     Miklos Vajna <vmiklos@collabora.co.uk>
> CommitDate: Wed Dec 18 11:09:47 2013 +0100
> 
>     DocxAttributeOutput::OutputFlyFrame_Impl: enable DML export by default
> 
>     This was only available in experimental mode previously. Also note that
>     export of Writer TextFrames are handled separately, there DML export is
>     still off by default.

Did a new bibisect with win32-4.3 and this was the blamed commit.
Comment 7 Buovjaga 2019-04-15 15:25:29 UTC
*** Bug 122963 has been marked as a duplicate of this bug. ***