Bug 118047 - FILEOPEN RTF: In page header "spacing below paragraph" is 0.35 cm, should be 0
Summary: FILEOPEN RTF: In page header "spacing below paragraph" is 0.35 cm, should be 0
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, filter:rtf, regression
Depends on:
Blocks: RTF-Header-Footer
  Show dependency treegraph
 
Reported: 2018-06-07 07:15 UTC by Ari Latvala
Modified: 2019-02-12 06:56 UTC (History)
12 users (show)

See Also:
Crash report or crash signature:


Attachments
RTF version of "Pentutarkistus_elltarkistus_17" document (150.13 KB, application/msword)
2018-06-07 07:15 UTC, Ari Latvala
Details
DOC version of Pentutarkistus_elltarkistus_17 document (47.00 KB, application/msword)
2018-06-07 07:16 UTC, Ari Latvala
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ari Latvala 2018-06-07 07:15:51 UTC
Created attachment 142579 [details]
RTF version of "Pentutarkistus_elltarkistus_17" document

+++ This bug was initially created as a clone of Bug #96276 +++

LibreOffice 6.0.4.2 running on Windows 10 64-bit. Layout incorrect for RTF version of document "Pentutarkistus / Eläinlääkärintodistus" available at https://www.kissaliitto.fi/lomakkeet/rekisterointi

Attached RTF and DOC versions of the same document for comparison. On RTF version header table's paragraph setting "Spacing below paragraph" is 0.35 cm when it should be 0 cm. DOC -version of the document does not have this problem.

This problem is separate from the bug described on original Bug #96276 about incorrect paragrah spacing set to 1.15 on whole document instead of Single.
Comment 1 Ari Latvala 2018-06-07 07:16:51 UTC
Created attachment 142580 [details]
DOC version of Pentutarkistus_elltarkistus_17 document

DOC version shows the expected layout.
Comment 2 Dieter 2018-06-07 07:23:52 UTC
I can't see a difference between rtf and doc with

Version: 6.0.4.2 (x64)
Build-ID: 9b0d9b32d5dcda91d2f1a96dc04c645c450872bf
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: group

Paragraph spacing in table is always 0 cm
Comment 3 Xisco Faulí 2018-06-07 08:51:43 UTC
It's 0 cm in

Version: 6.0.4.2
Build ID: 1:6.0.4~rc2-0ubuntu0.16.04.1
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 4 Ari Latvala 2018-06-08 10:28:05 UTC
Tested with LO 6.0.4 at 64-bit Windows 10. Problem only at the header causing middle cell between logos be too high and messing  page layout.
Comment 5 Dieter 2018-06-08 10:46:52 UTC
I confirm it with

Version: 6.0.4.2 (x64)
Build-ID: 9b0d9b32d5dcda91d2f1a96dc04c645c450872bf
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: group
Comment 6 Buovjaga 2018-06-08 11:49:42 UTC
Bibisected with Win 44 repo to range 73e4a5d091de89064c931128da46a910cc139bc3...8a4dc64c04c9b0d6dbd1ce1699f793beeecfe95f
There are two RTF import commits
https://cgit.freedesktop.org/libreoffice/core/commit/?id=1be0a3fa9ebb22b607c54b47739d4467acfed259
n#825305: writerfilter RTF import: override style properties like Word

https://cgit.freedesktop.org/libreoffice/core/commit/?id=6c0e1270889deb513f961f864dfc1c02ee8705f4
fdo#70578: writerfilter RTF import: by default style is para style 0

Adding Cc: to Michael Stahl
Comment 7 Xisco Faulí 2018-07-17 19:39:37 UTC
Checking the list of Most CC bugs ( https://wiki.documentfoundation.org/QA/Stats/MostCCBugs ) I found this one...

@Miklos, I thought you could be interested...
Comment 8 Ari Latvala 2019-02-12 06:56:04 UTC
Problem still valid on LO 6.2.0.3 for 64-bit Linux version