Bug 107537 - Table of content isn't created if title has new color applied
Summary: Table of content isn't created if title has new color applied
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.6.2 release
Hardware: All Linux (All)
: low normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: TableofContents-Indexes
  Show dependency treegraph
 
Reported: 2017-04-30 19:33 UTC by naga44
Modified: 2019-11-10 15:56 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Description of the bug step 2 and 3 (80.74 KB, image/png)
2017-05-06 15:26 UTC, naga44
Details
Document with the bug (675.60 KB, application/vnd.oasis.opendocument.text)
2017-05-07 09:58 UTC, naga44
Details

Note You need to log in before you can comment on or make changes to this bug.
Description naga44 2017-04-30 19:33:08 UTC
Description:
Hi,

When you actualise the table of content after applying a costumed colour to a title listed in it, it disappears. But only if you use the button "update the style"  (CTRL+Maj + F11), if you edit the paragaph style, no problem.

Steps to Reproduce:
1.Generate a table of content
2.Apply costumed colour to a title listed in it
3.Use the button "update the style" (CTRL+Maj
4.Actualise the table of content


Actual Results:  
Table of content disappears 

Expected Results:
Table of content actualise d


Reproducible: Always

User Profile Reset: No

Additional Info:
Thanks for the job you are doing !


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0
Comment 1 Buovjaga 2017-05-06 10:57:18 UTC
(In reply to naga44 from comment #0)
> 2.Apply costumed colour to a title listed in it

I'm not sure, what we are supposed to do here. By "title" do you mean heading? How do we apply the colour?

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.
Comment 2 naga44 2017-05-06 15:26:40 UTC
Created attachment 133103 [details]
Description of the bug step 2 and 3
Comment 3 naga44 2017-05-06 15:29:57 UTC
Hi, thanks for watching this !

I meant "heading" indeed (I am not a native speaker and did a really bad translation...)

On the attachment, step 2 and 3 to reproduce the bug are shown, it will be clearer.

I think step 1 and 4 are clear enough (is it ?)

Thanks again
Comment 4 Buovjaga 2017-05-06 16:19:00 UTC
Ok, thanks, now I get it. I did it, updating style and all, but I don't get the problem with "Update index".

Could you please try with version 5.3?

Arch Linux 64-bit, KDE Plasma 5
Version: 5.4.0.0.alpha1+
Build ID: 6e4cba99bb35e6697b94309eedd1a08ebea2dc68
CPU threads: 8; OS: Linux 4.10; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on May 5th 2016

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.2.2
Build ID: 5.3.2-1
CPU Threads: 8; OS Version: Linux 4.10; UI Render: default; VCL: kde4; Layout Engine: new; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Comment 5 naga44 2017-05-06 20:24:20 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2017-05-07 05:46:02 UTC Comment hidden (obsolete)
Comment 7 naga44 2017-05-07 09:12:29 UTC
Thanks, way easier this way.

With a new blank file, the bug isn't there.
I still have it on another document with way more content, but I must be missing some steps...

Do you want me to upload this document ? Because, I don't see what I am missing and CTRL + Z doesn't allow to overcome the bug...
Comment 8 naga44 2017-05-07 09:15:52 UTC Comment hidden (obsolete)
Comment 9 Buovjaga 2017-05-07 09:28:53 UTC Comment hidden (obsolete)
Comment 10 naga44 2017-05-07 09:58:13 UTC
Created attachment 133116 [details]
Document with the bug
Comment 11 naga44 2017-05-07 09:58:46 UTC Comment hidden (obsolete)
Comment 12 Buovjaga 2017-05-07 11:05:03 UTC
Well, I was not able to fix the document. I even tried changing the Heading 1 style in the styles.xml to the default from a fresh .odt, but it still gives the table of contents problem after setting the color.

Let's set to NEW and hopefully someone will find out the cause.
Comment 13 naga44 2017-05-07 11:07:29 UTC Comment hidden (obsolete)
Comment 14 QA Administrators 2018-05-08 02:32:34 UTC Comment hidden (obsolete)
Comment 15 Timur 2019-11-10 15:56:01 UTC
I couldn't reproduce. Is it because of Windows or bug resolved, I don't know. 
Seems reasonable to close.