Bug 81675

Summary: FILEOPEN: DOCX indent for list/heading incorrectly imported
Product: LibreOffice Reporter: Orbel <omkrtchyan>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: barta, jorendc, mst.fdo, vmiklos
Version: 4.2.4.2 releaseKeywords: bisected, regression
Hardware: Other   
OS: All   
Whiteboard: bibisected
i915 platform: i915 features:
Attachments: SourceDocument
bibisectlog
Text forced completely to the right
reduced test document

Description Orbel 2014-07-23 13:31:05 UTC
Created attachment 103336 [details]
SourceDocument

I am seeing some distortion when opening specific DOCX file, which is attached to the issue. This file is correctly opens in MS Word but have some broken parts in numbering when try to open it with LO Writer.
Comment 1 tommy27 2014-07-23 13:49:18 UTC
please post a comparative screenshot of the file in MS Word and LibO highlighting what you call "distortion"
Comment 2 Jorendc 2014-07-23 13:55:20 UTC
HI Orbel, thanks for your bug report.
I do see some odd indent behavior (complete text forced to the right margin of the page. Is that what you meant?
If not, can you please attach a screenshot of what you mean with 'some broken parts in the numbering'. If there are multiple issues which doesn't related to each other, please do create a bug report for each separate issue.

Kind regards,
Joren
Comment 3 Orbel 2014-07-23 13:59:14 UTC
Hi Jorendc
Yes, you're right, I do see the same behavior as you mentioned.

Best regards,
Orbel Mkrtchyan
Comment 4 Jorendc 2014-07-23 14:00:17 UTC
(In reply to comment #3)
> Hi Jorendc
> Yes, you're right, I do see the same behavior as you mentioned.

Okay, I'll attach a screenshot after I did run this bibisect. It is a regression.

Kind regards,
Joren
Comment 5 Jorendc 2014-07-23 14:02:49 UTC
Created attachment 103338 [details]
bibisectlog
Comment 6 Jorendc 2014-07-23 14:03:42 UTC
Created attachment 103339 [details]
Text forced completely to the right
Comment 7 Jorendc 2014-07-23 14:09:16 UTC
Probably a regression of http://cgit.freedesktop.org/libreoffice/core/commit/?id=2123ede032ca64f696ef54af4ad3238974ca2b5d

Thing is that Header3 style doesn't have a big indent, but the paragraph style of the erroneous text (header 3-style) do. So somehow this paragraph formatted differently (?direct formatting?).
Paragraph Indent before text = 45,06 which is causing this big shift to the right.

Kind regards,
Joren
Comment 8 Jorendc 2014-07-23 14:17:42 UTC
I did revert http://cgit.freedesktop.org/libreoffice/core/commit/?id=14d6cf1f8f86027d58fe56feae3139c314fbb058 and the huge right-shift is no more. So probably that patch is also related to this particular bug.
Comment 9 Jorendc 2014-07-23 15:27:05 UTC
Created attachment 103342 [details]
reduced test document
Comment 10 Michael Stahl 2014-07-24 13:13:50 UTC
perhaps CC:ing the author of the commit in comemnt #8 is a good idea :)
Comment 11 Björn Michaelsen 2014-10-16 14:59:07 UTC
(This is an automated message.)

It seems that the commit that caused this regression was identified. (Or at least a commit is suspected as the offending one.)

Thus setting keyword "bisected".

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.