Bug 158818 - same character style eats list's numbers'/bullets' border box
Summary: same character style eats list's numbers'/bullets' border box
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 158834 (view as bug list)
Depends on:
Blocks: Bullet-Number-Outline-Lists Writer-Styles-Character Borders
  Show dependency treegraph
 
Reported: 2023-12-22 03:09 UTC by libretist
Modified: 2024-01-05 23:15 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
test case (10.42 KB, application/vnd.oasis.opendocument.text)
2023-12-23 00:23 UTC, libretist
Details

Note You need to log in before you can comment on or make changes to this bug.
Description libretist 2023-12-22 03:09:12 UTC
Description:
When the first character after a list ordinal has the same style as the list ordinal, the list ordinal's border box disappears.

It's hard to understand without seeing images. So please have a look at the screenshots here:
https://ask.libreoffice.org/t/strange-bug-in-libreoffice-writer-same-color-eats-borders/99735

Steps to Reproduce:
1. create a list
2. style the list so that the list ordinals have a border box
3. also assign a custom style to the list ordinal, e.g. bold + blue color
   (I don't know if step 3 is a requirement, but that's my test case, so I
    mention it to be safe)
4. now assign the same style to the adjacent text (including the first character after the ordinal - this is key, because if the first character does not have the same style, the bug does not occur)

Actual Results:
the list ordinal's border box disappears

Expected Results:
the list ordinal's border box should not disappear


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 1; OS: Windows 10.0 Build 16299; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded
Comment 1 m_a_riosv 2023-12-22 15:55:31 UTC
Please attach a sample file.
Comment 2 libretist 2023-12-23 00:23:36 UTC
Created attachment 191575 [details]
test case

1) open the writer document
2) select the word "birds"
3) click on "B" in the toolbar to remove the boldening

result: the border box magically appears
Comment 3 m_a_riosv 2023-12-23 04:17:42 UTC
Reproducible
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
and
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 71c28942fbc7f36e5bcd46c5a6cdfbb3fcbcd6a0
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded

I can reproduce also with: 
Version: 4.4.7.2
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: es_ES
the first version (that I have) showing the box around the number.

3.x version doesn't show the box around the number.

So seems it begun with version 4
Comment 4 Stéphane Guillou (stragu) 2023-12-27 10:58:08 UTC
*** Bug 158834 has been marked as a duplicate of this bug. ***
Comment 5 Stéphane Guillou (stragu) 2023-12-27 11:03:31 UTC
Likely related to bug 147869.