Bug 114074

Summary: Wrong info about Table of Contents' formatting shown [FORMATTING]
Product: LibreOffice Reporter: Clemens Prill <clemensprill>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: rb.henschel
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: example of ToC with changed font

Description Clemens Prill 2017-11-26 20:07:44 UTC
Description:
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: 5.3.7.2 (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 ***