Bug 144750 - Character style Borders applied to heading numbering doesn't work until the style is modified again
Summary: Character style Borders applied to heading numbering doesn't work until the s...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: Writer-Styles-Character
  Show dependency treegraph
 
Reported: 2021-09-27 10:02 UTC by John
Modified: 2022-09-04 09:35 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John 2021-09-27 10:02:11 UTC
Description:
1. Create a character style "_red": bottom border 3pt red
   
2. Press Ctrl+1 to create a level-1 heading "Foo"

3. Select "Tools", "Chapter Numbering", "Numbering".
   For Level-1, set "Number" to "1, 2, 3" and "Character style" to "_red".
   
4. **The issue:** Press OK. Notice that "1" in front "Foo" doesn't have 3pt bottom border.

5. **The workaround:** Open the preferences window of the "_red" style. Select the "Font Effects" tab. Change "Font color" from "Automatic" to "Black". Press OK. Notice the border is now visible.

Steps to Reproduce:
see above

Actual Results:
see above

Expected Results:
see above


Reproducible: Always


User Profile Reset: Yes



Additional Info:
see above
Comment 1 Roman Kuznetsov 2021-10-09 16:06:26 UTC
confirm that so strange behavior

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 559850da1f48fd7ea521c78a1867255212f7aee9
CPU threads: 4; OS: Mac OS X 10.16; UI render: Skia/Raster; VCL: osx
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded
Comment 2 Stéphane Guillou (stragu) 2021-12-19 14:26:59 UTC
Also confirmed on Linux:

Version: 7.1.8.1 / LibreOffice Community
Build ID: e1f30c802c3269a1d052614453f260e49458c82c
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

And on a recent build:

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 17a4f4d5e4d49189b43e748271d2d4fa330eef9b
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

And on an earlier version:

Version: 7.0.6.2
Build ID: 00(Build:2)
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Ubuntu package version: 1:7.0.6-0ubuntu0.18.04.1_lo1
Calc: threaded

Note that the red line appears once the character style is modified in any way: instead of changing the character's colour, you could add a shadow, or change the font, or make it a subscript: it doesn't matter. What makes the border appear is updating the character style.
I changed the summary accordingly.
Comment 3 Timur 2022-04-04 12:22:42 UTC
Bug was reported for "Character style" but that's too general, borders are faulty. For example, setting background for other levels, that works.

Seems like implementationError from 4.2 where Borders were introduced.