Bug 114074 - Wrong info about Table of Contents' formatting shown [FORMATTING]
Summary: Wrong info about Table of Contents' formatting shown [FORMATTING]
Status: RESOLVED DUPLICATE of bug 73031
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
Depends on:
Reported: 2017-11-26 20:07 UTC by Clemens Prill
Modified: 2018-11-28 13:34 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

example of ToC with changed font (92.29 KB, image/jpeg)
2017-11-27 01:01 UTC, Clemens Prill

Note You need to log in before you can comment on or make changes to this bug.
Description Clemens Prill 2017-11-26 20:07:44 UTC
Wrong information about table of contents' formatting is shown.

Steps to Reproduce:
1. Create a document with 3 headings
2. Insert a Table of Contents
3. Click onto ToC and set font to Arial

Actual Results:  
ToC has right formatting but in the top left corner the information for font, size (maybe bold, etc. too?) is wrong.

Short note: It could be also that if I regenerate ToC that for new entries in an existing ToC, the paragraph's template is ignored and default formatting of ToC is applied. Someone should try to verify this.

Expected Results:
I can select specific parts of the ToC or simply all and I can see which formatting is applied so I know what is going on.

Reproducible: Always

User Profile Reset: No

Additional Info:
Version: (x64)
Build-ID: 6b8ed514a9f8b44d37a1b96673cbbdd077e24059

User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 Regina Henschel 2017-11-26 23:25:35 UTC
How to you do step 3?
The ToC is write protected in the default work flow of step 2.
Comment 2 Clemens Prill 2017-11-26 23:34:11 UTC
I do right click on ToC -> change paragraph's template/style -> change Liberation Sans to Arial in the new window.
Comment 3 Regina Henschel 2017-11-27 00:41:23 UTC
You can edit the paragraph style in the Styles&Formatting window as well in step 3.

The items are not updated, because the ToC is write-protected. But I agree with you, although the user cannot use the items, they should always show the current value.

There is a similar problem for protected sections, because a ToC is actually a section.

The paragraph style field shows the correct style name, if you click on a line in the ToC. [You can select a new style there, but it has no effect in protected sections. But that might be a different error.]
Comment 4 Clemens Prill 2017-11-27 01:00:57 UTC
I have to disagree with you if I do understand you correctly. If I choose a different font in the paragraph's style window, this change is reflected in ToC. I added a screenshot to show you.
Comment 5 Clemens Prill 2017-11-27 01:01:50 UTC
Created attachment 138005 [details]
example of ToC with changed font
Comment 6 Regina Henschel 2017-11-27 08:58:04 UTC
The issue is not about the ToC itself but about the font field in the Formatting toolbar. And it is not specific to ToC, but can be seen for all protected sections.
Comment 7 QA Administrators 2018-11-28 03:48:01 UTC Comment hidden (obsolete)
Comment 8 Timur 2018-11-28 13:34:01 UTC
Repro 6.3+. Looks like a duplicate of Bug 73031.

*** This bug has been marked as a duplicate of bug 73031 ***