Bug 118962 - "Tab position relative to paragraph style indent" issues in ToC where tab stop position less than “before text”
Summary: "Tab position relative to paragraph style indent" issues in ToC where tab sto...
Status: NEW
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:
Depends on:
Blocks: TableofContents-Indexes
  Show dependency treegraph
 
Reported: 2018-07-26 17:02 UTC by Timur
Modified: 2019-09-02 11:24 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Tab position relative test.odt (17.06 KB, application/vnd.oasis.opendocument.text)
2018-07-26 17:02 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timur 2018-07-26 17:02:28 UTC
Created attachment 143793 [details]
Tab position relative test.odt

While untangling Bug 32360 and Bug 90667 and creating Bug 118960 where right alignment is focused, I noticed another possible issue with "Tab position relative to paragraph style indent".
I may not give all the details because dealing with previous bugs was tedious but I kindly ask testers to first try Bug 118960 and then this one. 

In preparation: open ODT, Edit Index, Stay at level 1, Between E# and E add "Tab Stop" with "1 cm" position and try "Tab position relative to paragraph style indent" with different tab stop positions.

My conclusion for general ODT file, Contents 1 has 2 cm Before Text:

tab stop position is 1 cm (less than paragraph style “before text”) 
	If "Tab position relative to paragraph style indent" ON - it behaves as expected (2+1 cm)
	If "Tab position relative to paragraph style indent" OFF - it behaves as if “Align right” is on
tab stop position is 3 cm – it behaves as expected (2+1 cm or 2+3 cm)
Comment 1 Timur 2018-07-26 17:05:29 UTC
As far as I noticed (needs additional testing), behavior is different for DOT or DOC/X file, Contents 1 has 2 cm Before Text:

tab stop position is 1 cm (less than paragraph style “before text”) - it behaves as if “Align right” is on
tab stop position is 3 cm
	If "Tab position relative to paragraph style indent" ON, it behaves as expected
	If "Tab position relative to paragraph style indent" OFF, it behaves as if “Align right” is on
Comment 2 Timur 2018-07-27 14:03:08 UTC
General conclusion is that Writer cannot prevent wrong setting in ToC where tab stop position is less than (paragraph style) “before text” (for LO documents) or not sufficiently larger (for MS documents). 
Bug 90667 can be regarded as a special case or as a DOC/T/X case.
Comment 3 Buovjaga 2018-09-01 15:07:19 UTC
(In reply to Timur from comment #0)
> My conclusion for general ODT file, Contents 1 has 2 cm Before Text:
> 
> tab stop position is 1 cm (less than paragraph style “before text”) 
> 	If "Tab position relative to paragraph style indent" ON - it behaves as
> expected (2+1 cm)
> 	If "Tab position relative to paragraph style indent" OFF - it behaves as if
> “Align right” is on
> tab stop position is 3 cm – it behaves as expected (2+1 cm or 2+3 cm)

Repro. Not sure if minor, so leaving as normal. Feel free to specify severity.

Arch Linux 64-bit
Version: 6.2.0.0.alpha0+
Build ID: 1c59d021b3dd27c8c0255312bd0d53ad25965bab
CPU threads: 8; OS: Linux 4.18; UI render: default; VCL: gtk3_kde5; 
Locale: fi-FI (fi_FI.UTF-8); Calc: threaded
Built on September 1st 2018

Arch Linux 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 4 QA Administrators 2019-09-02 09:22:27 UTC Comment hidden (obsolete)
Comment 5 Timur 2019-09-02 11:24:35 UTC
Repro 6.4+