Bug 118183 - FILEOPEN: bad text position rendering in table
Summary: FILEOPEN: bad text position rendering in table
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:odt
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2018-06-15 16:41 UTC by Marina Latini (CIB)
Modified: 2018-12-21 08:34 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
text_in_table_formatting (11.24 KB, application/vnd.oasis.opendocument.text)
2018-06-15 16:42 UTC, Marina Latini (CIB)
Details
wrong text position out of margins (10.17 KB, image/png)
2018-06-19 14:18 UTC, Marina Latini (CIB)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marina Latini (CIB) 2018-06-15 16:41:28 UTC
Description:
The text in the attached file is rendered in a wrong position (out of left margin)

Steps to Reproduce:
1. Open the attached file with writer

Actual Results:
The text in the table is rendered out of the left margin of the document

Expected Results:
The text is rendered in the correct position


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 6.1.0.0.beta1 (x64)
Build ID: 8c76dfe1284e211954c30f219b3a38dcdd82f8a0
CPU threads: 4; OS: Windows 10.0; UI render: default; 
Locale: de-DE (en_GB); Calc: CL
Comment 1 Marina Latini (CIB) 2018-06-15 16:42:06 UTC
Created attachment 142781 [details]
text_in_table_formatting
Comment 2 Marina Latini (CIB) 2018-06-15 16:43:13 UTC
added the keyword filter:odt
Comment 3 Brascens 2018-06-16 13:25:35 UTC
I can reproduce this.

Version: 6.1.0.0.beta1
Build ID: 8c76dfe1284e211954c30f219b3a38dcdd82f8a0
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: fr-FR (fr_FR.UTF-8); Calc: group
Comment 4 Xisco Faulí 2018-06-18 16:50:58 UTC
Reproduced back to 

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

@Regina, I thought you could be interested in this issue...
Comment 5 Marina Latini (CIB) 2018-06-19 14:18:18 UTC
Created attachment 142916 [details]
wrong text position out of margins

I attached a screenshot.
the behaviour is different and this screenshot shoud clarify the real issue.

The table is out of the left margin, try to look at the table properties but, with version 

Version: 6.1.0.0.beta1 (x64)
Build ID: 8c76dfe1284e211954c30f219b3a38dcdd82f8a0
CPU threads: 4; OS: Windows 10.0; UI render: default; 
Locale: de-DE (en_GB); Calc: CL

the text is out of table margins too.
Comment 6 Regina Henschel 2018-06-19 19:16:24 UTC
Version: 6.1.0.0.beta1 (x64)
Build ID: 8c76dfe1284e211954c30f219b3a38dcdd82f8a0
CPU threads: 8; OS: Windows 10.0; UI render: default; 
Locale: de-DE (de_DE); Calc: CL

I see the table borders on the margin edge. That is wrong, because fo:margin-left="-0.125cm". The paragraph seems to take the table margin in account and therefore the paragraph start is left from the table start. The error is not the paragraph start but the table start.



Version: 6.2.0.0.alpha0+ (x64)
Build ID: c3e552ac25be001a623469c549ee8d0719b98133
CPU threads: 8; OS: Windows 10.0; UI render: GL; 
Locale: de-DE (de_DE); Calc: CL

I see a correct position of table and paragraph, both -0.13cm left from the margin edge. But I get a glitch in the table property dialog. The option "from left" is active, but fields Width and Left are disabled.


The behavior was correct in Version: Version: 6.0.0.0.alpha1+ (x64)
Build ID: a5af0fd9f27af42cf2e8571f659cdad6e606215b
CPU threads: 8; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2017-11-07_00:30:02
Locale: de-DE (de_DE); Calc: CL


The error needs to be fixed for the version 6.1.beta, because such negative left table alignment value is needed for import of .docx files, which were produced by older Word versions or saved in Word compatibility mode.
Comment 7 Marina Latini (CIB) 2018-12-21 08:34:15 UTC
repro with:
Versione: 6.2.0.1 (x64)
Build ID: 0412ee99e862f384c1106d0841a950c4cfaa9df1
Thread CPU: 4; SO: Windows 10.0; Resa interfaccia: GL; VCL: win; 
Versione locale: de-DE (en_US); UI-Language: it-IT
Calc: threaded