https://bugs.documentfoundation.org/show_bug.cgi?id=159117

            Bug ID: 159117
           Summary: Table of Contents tab formatting can be edited but is
                    not applied.
           Product: LibreOffice
           Version: 7.5.9.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: p...@seekfirst.net

Description:
When formatting a table of contents, the 

Steps to Reproduce:
1. Start a new Text document in Writer
2. Enter two lines of text.

Line 1
Line 2

3. Press F11 to show the Styles on the right.
4. Press Ctrl+A to select both lines.  While they are selected, double-click
the  type Heading 1 which is under Heading.  Both lines will become larger and
bold.
5. Go to the top of the document (Ctrl+Home).
6. Select from the menu: Insert > Table of Contents and Index > Table of
Contents, Index, or Bibliography...
7. Select OK taking the default of all controls.

Notice the table of contents (TOC) has both lines because they are of style
'Heading 1' 

8. Click on the "Line 1" line in the TOC (not the one below).  This line has
periods going out to the page number on the right.

Notice the Style in the right side becomes "Contents 1".  This is the style of
that line.

9. Right-click in the Styles box (on the right) on "Contents 1" and select
"Modify..." to modify this style.
10. On the Paragraph Style dialog, select the "Tabs" tab.

The bug is that anything changed on this tab does not apply the way it should. 
Watch...

11. Change the fill character to None.  Click OK.

Notice the TOC has not changed.

12. Right-click the TOC and select "Update Index".

Still no change to the TOC.

13. However, right-click the TOC and select "Edit Index" and UNCHECK "Protect
against manual changes", then click OK.

14. Now put the cursor on "Line 1" in the TOC.  Note that the style is
"Contents 1".

15. Double-Click the "Contents 1" style in the list of styles on the right. 
This applies that style-- even though it is supposed to be the currently
applied style.

NOTICE the fill character becomes NONE as it should be because that is how the
style is defined.

16. Right-click the TOC and select "Update Index".

NOTICE the fill character has come back-- that's a bug.  The same thing happens
with the tabs set in the paragraph style.  It somehow reverts back to some
other style even though it says the style in the ribbon below the menu.




Actual Results:
See steps above.

Expected Results:
See steps above.


Reproducible: Always


User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: yes

Version: 7.5.9.2 (X86_64) / LibreOffice Community
Build ID: cdeefe45c17511d326101eed8008ac4092f278a9
CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to