Bug 108093 - FILEOPEN: RTF table horizontal position wrong because frame not imported
Summary: FILEOPEN: RTF table horizontal position wrong because frame not imported
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:rtf
: 147077 (view as bug list)
Depends on:
Blocks: RTF-Tables
  Show dependency treegraph
 
Reported: 2017-05-25 21:26 UTC by Ari Latvala
Modified: 2023-04-27 08:10 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot comparing layout on Writer and Word Viewer (494.65 KB, image/jpeg)
2017-05-25 21:26 UTC, Ari Latvala
Details
RTF document kissaliitto_ilmo_141.rtf (1.36 MB, application/msword)
2017-05-25 21:29 UTC, Ari Latvala
Details
a second versie. (1.36 MB, application/msword)
2017-05-27 15:23 UTC, Jacques Guilleron
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ari Latvala 2017-05-25 21:26:49 UTC
Created attachment 133583 [details]
Screenshot comparing layout on Writer and Word Viewer

Those two tables on the RTF file have wrong horizontal position in LO Writer 5.3.3.2 in Windows 10 64-bit Creators Update when compared to layout at Word Viewer. Attached the RTF doc and screenshot pointing out the layout differences.
Comment 1 Ari Latvala 2017-05-25 21:29:04 UTC
Created attachment 133584 [details]
RTF document kissaliitto_ilmo_141.rtf
Comment 2 Jacques Guilleron 2017-05-27 15:23:47 UTC
Created attachment 133649 [details]
a second versie.

Hi Ari,

Tables 5 and 6 were not centered, even if they appear as such in Word.

Jacques
Comment 3 Ari Latvala 2017-05-28 11:51:25 UTC
Table 6 seem to be 0,62cm too far left for two reasons: 
A) Table is not on frame as it is on MS Word and thus "Text wrapping: Around" not available, which on MS Word then again commands horizontal positioning to be 0.37cm relative to margin and -0,03cm vertical related to Paragraph.
B) LO Writer configures Table spacing to -0,25 from Left, which moves table even more left.

Table 5 seems to be 0,24cm too far left because instead of honoring alignment to left with "Text Wrapping: None" with 0,3cm indent from left LibreOffice Writer defines instead to "From left" only 0.06cm. If that value is corrected manually to 0,3cm, table is at right position.
Comment 4 Telesto 2017-06-14 17:56:47 UTC
Table 5 looks fine in
Versie: 4.4.6.3 
Build ID: e8938fd3328e95dcf59dd64e7facd2c7d67c704d
Locale: nl_NL
Comment 5 Telesto 2017-06-14 18:01:30 UTC
A bit confused: Is bug 108094 a dupe of this one?
Comment 6 Ari Latvala 2017-06-16 16:31:24 UTC
(In reply to Telesto from comment #5)
> A bit confused: Is bug 108094 a dupe of this one?

No, these are two totally different bugs, even though about the same document. This one is about incorrect table horizontal position, other one about incorrect vertical alignment for text in table.
Comment 7 Ari Latvala 2017-07-30 09:32:19 UTC
Problem is partially fixed on LO 5.4.0.3 running on Windows 10 64-bit Creators update. Now only the table 6 is too far left, apparently because table is not on frame as it is on MS Word and thus "Text wrapping: Around" not available, which on MS Word then again commands horizontal positioning to be 0.37cm relative to margin and -0,03cm vertical related to Paragraph.
Comment 8 Ari Latvala 2017-07-30 09:55:45 UTC
DOC version of the document imports also frame containing Table 6 but on DOC version frame wrapping then again is incorrectly using Page Wrap instead of "Wrap Off" or "Optimal Page Wrap" letting next table to overlap Table 6. This Wrapping bug handled on separate report.
Comment 9 Ari Latvala 2018-06-11 10:12:18 UTC
Problem still exists on the latest LO 6.0.4
Comment 10 Ari Latvala 2018-11-08 22:17:27 UTC
Problem still valid with LO 6.1.3
Comment 11 Ari Latvala 2019-02-12 06:59:36 UTC
Problem still valid on LO 6.2.0.3 for 64-bit Linux
Comment 12 QA Administrators 2021-02-12 04:14:44 UTC Comment hidden (obsolete)
Comment 13 Ari Latvala 2021-02-13 12:53:03 UTC
Problem exits still at the latest LO 7.1 version

Version: 7.1.0.3 (x64) / LibreOffice Community
Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded
Comment 14 Gabor Kelemen (allotropia) 2022-01-30 23:30:53 UTC
*** Bug 147077 has been marked as a duplicate of this bug. ***