[Libreoffice-bugs] [Bug 140123] New: FILESAVE DOCX Image caption Z-order incorrect in specific document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Feb 3 13:17:31 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=140123

            Bug ID: 140123
           Summary: FILESAVE DOCX Image caption Z-order incorrect in
                    specific document
           Product: LibreOffice
           Version: 7.2.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:docx
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: libreoffice at nisz.hu
                CC: nemeth at numbertext.org, varga.balazs3 at nisz.hu
            Blocks: 104449

Created attachment 169432
  --> https://bugs.documentfoundation.org/attachment.cgi?id=169432&action=edit
Example file from Writer

Attached document was edited in Writer, saved as docx and saved back to odt.
When saved as docx, the captioned image breaks and disappears. Selecting its
frame, then sending it to the back reveals the image and the caption.
At the same time It looks fine in Word.

It is also somewhat difficult to reproduce this problem: I can’t reproduce with
a new file, or with this example if I remove the header image (not the complete
header, only the image is enough) or any of the mostly empty first three pages.

Steps to reproduce:
1.      Open attached file
2.      Save as DOCX, reload.

Actual results:
Image on last page is hidden by the caption frame (shape since docx save).

Expected results:
Image and caption is visible.

Another way to reproduce the problem is inserting a new image before the last
page, adding a caption and saving to docx.
This causes the new image to be hidden by its caption frame and the already
existing one to not be hidden.

LibreOffice details:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 318d384c596c1593667d6c936f55bf6ebd0c5db6
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL

Additional Information: 

Bibisected using bibisect-win64-7.1 to:
URL:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=d84e590486e2c26212931de80a84181d7aca7bbe 
author  Michael Stahl <Michael.Stahl at cib.de>    2020-08-26 17:08:00 +0200
committer       Michael Stahl <michael.stahl at cib.de>    2020-08-26 20:44:07
+0200

sw: DOCX export: don't export text frames as transparent

Although I think this only made the problem visible (by adding a white
background to the frame on export) and did not cause it. So not setting
regression.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104449
[Bug 104449] [META] DOCX (OOXML) textbox-related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210203/453973b9/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list