[Libreoffice-bugs] [Bug 136551] New: FILEOPEN DOTX Template rendered with only one element, missing text and shapes

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Sep 7 15:47:23 UTC 2020


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

            Bug ID: 136551
           Summary: FILEOPEN DOTX Template rendered with only one element,
                    missing text and shapes
           Product: LibreOffice
           Version: 4.4.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: ilmari.lauhakangas at libreoffice.org
            Blocks: 104450

Created attachment 165240
  --> https://bugs.documentfoundation.org/attachment.cgi?id=165240&action=edit
Problematic DOTX file

The attached file is featured in this article, section "Microsoft Office
compatibility" (with screenshot):
https://www.dedoimedo.com/computers/libreoffice-6-3-review.html

The error upon opening is just due to improved exception handling.

This file has a colourful history.

The timeline in Linux 43max repo:

The oldest commit is perfect, except that the image of the lady is missing.

This commit made it fully perfect:
https://git.libreoffice.org/core/commit/57450afb768c085df0ba2344aa94b5f843060178
DOCX import: declare wps as a supported feature

This commit made the colourful shapes disappear:
https://git.libreoffice.org/core/commit/8c73b16f5f18f3bc1dbf9ff6c1475db56b44d304
DOCX import: declare wpg as a supported feature

This commit made the image of the lady disappear:
https://git.libreoffice.org/core/commit/9820a8b2a0d89c355db5a363857c410125b54214
oox: tokenize wp14 namespace

This commit made the template open completely blank:
https://git.libreoffice.org/core/commit/da52cd209e4ce77ae5dc06866039fd0f0a28e778
writerfilter: remove no longer needed generated resourceids.hxx in doctok

This commit change it from blank to the state where only the colourful shapes
were missing (even though the commit looks unrelated):
https://git.libreoffice.org/core/commit/b7ad3991628b0dee40bb1f823ca90b5c71b49939
long to sal_Int32

Moving on to 44max repo:

This commit made the colourful shapes return, so the rendering was fully
perfect again:
https://git.libreoffice.org/core/commit/194c17a7c7c00f966b0256a1e90d50d8dd49f2bc
fdo#80895 : Shape in Header&Footer is getting lost after RT

This commit made the shapes disappear again:
https://git.libreoffice.org/core/commit/7f9b242331327c5c1b137b91861a6bb57bfb0ecc
DOCX drawingML import: fix remaining rotation / flip combinations

The final state of only the image of the lady being rendered was achieved with
https://git.libreoffice.org/core/commit/82d08580e368afbc9d73da3613845a36a89b0a8c
switch saxparser from expat to libxml2

Adding Cc: to Miklos Vajna


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104450
[Bug 104450] [META] DOCX (OOXML) file opening 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/20200907/5adb7078/attachment.htm>


More information about the Libreoffice-bugs mailing list