Bug 138974 - Paragraph Styles: Settings for border not maintained if no border set
Summary: Paragraph Styles: Settings for border not maintained if no border set
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paragraph-Dialog Writer-Styles-Paragraph Paragraph-Borders
  Show dependency treegraph
 
Reported: 2020-12-16 16:15 UTC by Olivier Hallot
Modified: 2024-10-08 15:37 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 Olivier Hallot 2020-12-16 16:15:48 UTC
Description:
If no border is set in Heading style, the style does not record other attributes such as color, width and type.

This affect style inheritance.

Steps to Reproduce:
Step to reproduce
1) Open a blank text document
2) select "Heading"" top style.
3) define: border color Green, Solid, 1pt
4) deselect any border
5) Click OK
6) Reopen Heading style, border tab.



Actual Results:
Actual results: border reset to black, solid, 0.05pt

Expected Results:
Expected result: keep border settings as Green, solid, 1pt 


Reproducible: Always


User Profile Reset: No



Additional Info:
The situation is an annoyance because styles Heading 'N' inherit from Heading, so if Heading 1 get a border, it does not inherit the color and width set in top style Heading.


Version: 7.0.3.1
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: kf5
Locale: pt-BR (pt_BR.UTF-8); Interface: pt-BR
Calc: threaded
Comment 1 Dieter 2020-12-31 13:23:28 UTC
I confirm it with

Version: 7.2.0.0.alpha0+ (x64)
Build ID: c0eee433e079d8e3413f4691607e075b99af92b0
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: threaded
Comment 2 Justin L 2021-05-04 06:48:11 UTC
Why pick specifically on the "Heading" style?  AFAICS, this is true for every style. It is also true for the default paragraph style, and one other random style I tested on.

If I'm wrong, please attach a proof document.
Comment 3 QA Administrators 2023-05-05 03:24:27 UTC Comment hidden (obsolete)
Comment 4 Dieter 2023-05-13 14:21:12 UTC
Still present in

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 69d0be09ad81935f7da4b6f8d036c3562357d068
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded
Comment 5 Dieter 2023-05-13 14:29:08 UTC
Additional information:
True for every PS and also true for line style and padding => I've changed bug summary
Comment 6 Buovjaga 2024-10-08 15:37:38 UTC
Still repro. Already in 3.5.

Arch Linux 64-bit
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 40beeb144a00c9725cde4239c251f67c658d31a8
CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 6 October 2024