Bug 137334 - Fileopen DOCX: missing frame with paragraph level border set
Summary: Fileopen DOCX: missing frame with paragraph level border set
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Frames
  Show dependency treegraph
 
Reported: 2020-10-08 12:24 UTC by Timur
Modified: 2023-04-24 14:28 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
DOCX compared MSO 2016 LO 7.1+ (89.09 KB, image/png)
2020-10-08 12:24 UTC, Timur
Details
Full DOCX (373.67 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-10-08 12:27 UTC, Timur
Details
Other DOCX that looks good (180.09 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-10-08 12:29 UTC, Timur
Details
Very simple reproducer document (13.20 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-12-07 16:49 UTC, NISZ LibreOffice Team
Details
Screenshot of the reproducer document in Word and current master (65.93 KB, image/png)
2020-12-07 16:50 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timur 2020-10-08 12:24:16 UTC
Created attachment 166185 [details]
DOCX compared MSO 2016 LO 7.1+

1 page DOCX attachment 166174 [details] opens wrong, without frame from header.
It's MSO created DOCX from DOC attachment 117968 [details] from bug 61967.
Comment 1 Timur 2020-10-08 12:27:42 UTC
Created attachment 166188 [details]
Full DOCX

Full 12-page MSO created DOCX from original DOC, for test.
Comment 2 Timur 2020-10-08 12:29:06 UTC
Created attachment 166189 [details]
Other DOCX that looks good

Other DOCX with frame in header looks good in LO. From bug 65881.
Comment 3 Xisco Faulí 2020-10-08 14:10:19 UTC
Reproduced in

Version: 7.1.0.0.alpha0+
Build ID: a9976a958b2857e308c6598532151878615bfd9f
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 4 NISZ LibreOffice Team 2020-12-07 16:49:29 UTC
Created attachment 167907 [details]
Very simple reproducer document

I managed to reproduce the problem. 
We need one frame in Word with two (does not happen with one) paragraphs. 
One of them also needs a paragraph border set.
Open it in Writer and boom: no frame :)

This frame does not need to be in the header, breaks in the document body too.
Comment 5 NISZ LibreOffice Team 2020-12-07 16:50:09 UTC
Created attachment 167908 [details]
Screenshot of the reproducer document in Word and current master

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 561e5559bb68242c7f785f0ca3bee3eb12b58963
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL
Comment 6 QA Administrators 2022-12-08 03:25:46 UTC Comment hidden (obsolete, spam)
Comment 7 Justin L 2023-04-22 23:08:59 UTC
fixed in LO 7.6 with commit 31ea6305b6a763ee48f639562313d9bd109a2923
Author: Justin Luth on Sat Apr 8 08:22:45 2023 -0400
    tdf#154703 writerfilter framePr: avoid exception with hasValue
Comment 8 Timur 2023-04-24 14:28:40 UTC
Verified for DOCX, opening and saving. Thanks Justin. 

DOC is wrong, but that would be another ticket.