Bug 38531 - Character style for Tab character (usually dots) in Table of Contents is not terminated
Summary: Character style for Tab character (usually dots) in Table of Contents is not ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.3 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 106697 (view as bug list)
Depends on:
Blocks: TableofContents-Indexes
  Show dependency treegraph
 
Reported: 2011-06-21 10:31 UTC by fabien.michel
Modified: 2021-09-02 07:31 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample files demonstrate the bug (9.92 KB, application/vnd.oasis.opendocument.text)
2011-06-21 10:42 UTC, fabien.michel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fabien.michel 2011-06-21 10:31:36 UTC
Reproduce :
1. Create somes tables with Legend.
2. Create simple character style (set color to red)
3. Insert Index of Type : Index of tables
4. In "entries" tab Selected the "T" of the "Tabulation"
5. Choose the previously created character style.

The tabulation goes red but not the following page number too.

The expected behavior is that only the tabulation must use the character style.
Comment 1 fabien.michel 2011-06-21 10:42:11 UTC
Created attachment 48244 [details]
Sample files demonstrate the bug
Comment 2 fabien.michel 2011-06-21 10:43:14 UTC
*The tabulation goes red but the following page number too.
Comment 3 Björn Michaelsen 2011-12-23 12:25:55 UTC Comment hidden (obsolete)
Comment 4 fabien.michel 2012-07-13 11:22:39 UTC
Always occur with
LibreOffice 3.5.5.3 
Version ID : 7122e39-92ed229-498d286-15e43b4-d70da21
Comment 5 Florian Reisinger 2012-08-14 14:01:27 UTC Comment hidden (obsolete)
Comment 6 Florian Reisinger 2012-08-14 14:02:32 UTC Comment hidden (obsolete)
Comment 7 Florian Reisinger 2012-08-14 14:07:08 UTC Comment hidden (obsolete)
Comment 8 Florian Reisinger 2012-08-14 14:09:13 UTC Comment hidden (obsolete)
Comment 9 sasha.libreoffice 2012-09-19 13:33:59 UTC
Reproduced in 3.6.1 on Fedora 64 bit using attachment
Workaround: place one space after tab and assign needed style to it. For example assign style Standard. And numbers will have this style.
Comment 10 fabien.michel 2012-11-15 11:58:48 UTC
Still happens with Version 3.6.3.2 (Build ID: 58f22d5) On Mac OS X Lion 10.7.5
Comment 11 sophie 2014-12-31 13:51:35 UTC
Hi, this is not a bug, you need to apply a style to the page number. In your sample, it has no style when you click on it. 
- edit the index
- go under Entries tab
- click on Page number (#) in the rule
- click on the drop down list in front of Character style and assign Page number. 
otherwise it will inherit the tab style - Closing as works for me - Sophie
Comment 12 fabien.michel 2015-01-06 08:32:55 UTC
Bug always occur with 4.3.
I disagree with you Sophie. It does not seem natural to me that the character style propagates to the following items.
Also when I choose "Default Style" for the page number, it does not work. I must create a style only to tell libroffice not to use a style that I have defined on another element. For me it is a strange behavior.
Comment 13 mahfiaz 2016-08-04 17:26:26 UTC
I agree with Fabien, this seems broken as it's inconsistent.
When you apply a style to the name of the chapter, then it doesn't propagate to the end of the line.
Comment 14 Buovjaga 2017-03-29 10:27:28 UTC
*** Bug 106697 has been marked as a duplicate of this bug. ***
Comment 15 QA Administrators 2019-09-02 09:19:21 UTC Comment hidden (obsolete)
Comment 16 fabien.michel 2019-09-02 09:34:03 UTC
Bug reproduced with LibreOffice 6.3.0.4 on Arch Linux.
Comment 17 QA Administrators 2021-09-02 03:52:53 UTC Comment hidden (obsolete)
Comment 18 fabien.michel 2021-09-02 07:31:10 UTC
Still there, 10 years after !

Version: 7.2.0.4 / LibreOffice Community
Build ID: 20(Build:4)
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: fr-FR (en_US.UTF-8); UI: en-US
7.2.0-1
Calc: threaded