Bug 63853

Summary: Bullets of a bullet list doesn't change color when there is a hyperlink in the list item
Product: LibreOffice Reporter: Clemens Eisserer <linuxhippy>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: andreas.heinisch, buzea.bogdan, kira.tubo
Priority: medium    
Version: Inherited From OOo   
Hardware: Other   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=157863
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107733    
Attachments: test document
test document

Description Clemens Eisserer 2013-04-23 17:31:47 UTC
When changing the color of the text+bullet-list in the sample-document attached, two bullets of the bullet-list stay always red while the other bullets adopt to the chosen color correctly.

Steps to reproduce:
- Select the top-most bullet list
- Apply different color
- Some bullets adjust to the new color, some do not.

I've created a screencast to better illustrate the issue: http://youtu.be/HmQ4aF2g0o0

Could this be related to bug 49103 ?
Comment 1 Clemens Eisserer 2013-04-23 17:32:10 UTC
Created attachment 78391 [details]
test document
Comment 2 Jorendc 2013-04-24 10:01:10 UTC
Hi Clemens,

Thanks for your test document and screencast!

I can reproduce this using Linux Mint 14 x64 with LibreOffice Version 4.0.2.2 (Build id: 4c82dcdd6efcd48b1d8bba66bfe1989deee49c3). 

I see when you try to change the bullet list color of an item with a hyperlink in the item, the bullet color doesn't change.

I think this is not related to Bug 49103, because that's related to Impress, and the bullet list doesn't contain hyperlinks.

Kind regards,
Joren
Comment 3 Jorendc 2013-04-24 10:03:08 UTC
Created attachment 78419 [details]
test document
Comment 4 QA Administrators 2015-04-19 03:22:02 UTC Comment hidden (obsolete)
Comment 5 Clemens Eisserer 2015-04-19 18:20:49 UTC
Of course still present in LibreOffice-4.4.0.3
Comment 6 John T. Jameson 2016-06-08 20:02:11 UTC
This bug is still present at the latest 5.0.6.3
Comment 7 Clemens Eisserer 2016-06-08 20:13:48 UTC
still present in Libreoffice 5.1.3.2
Comment 8 QA Administrators 2018-08-22 02:36:45 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2020-08-22 03:50:06 UTC Comment hidden (obsolete)
Comment 10 Andreas Heinisch 2022-07-08 19:07:23 UTC
In SwNumberPortion *SwTextFormatter::NewNumberPortion [1] a new number portion will be created, and the colors are correct if there is no hyperlink in the text.

However, if a hyperlink is present, then the color of the hyperlink somehow interferes with the color of the text portion with several calls to RES_CHRATR_COLOR. I will try further, but I am not sure if I can solve this issue with my limited knowledge.

[1] https://opengrok.libreoffice.org/xref/core/sw/source/core/text/txtfld.cxx?r=0203485a#614
Comment 11 Kira Tubo 2023-10-28 01:52:42 UTC
Reproduced in current master and 3.3.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 676e0527d2f31556eccae314fbb12ce204f02ec7
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 12 BogdanB 2024-03-12 19:34:31 UTC
Repro with
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e5548dceb9086a6f0c8fa70bce8de6da0be72e40
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded