Bug 151675 - Section background not fully filled, seems to be using paragraph background
Summary: Section background not fully filled, seems to be using paragraph background
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Section
  Show dependency treegraph
 
Reported: 2022-10-21 08:36 UTC by kocjs
Modified: 2024-10-05 17:08 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Section background (13.93 KB, application/vnd.oasis.opendocument.text)
2022-10-21 08:36 UTC, kocjs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kocjs 2022-10-21 08:36:26 UTC
Created attachment 183184 [details]
Section background

Adding a background colour to a section does not fill the whole section.

Expected behaviour:

If a background colour is added to a section the whole section should be filled out.
Comment 1 Rafael Lima 2022-10-21 19:03:03 UTC
So the last line in the section has Below Spacing and it is not considered for coloring the section. The same goes for the 120% proportional spacing. Neither are considered for coloring the section.

IMO this seems like a bug.

But I'm not sure if this is somehow the intended behavior.
Comment 2 Roman Kuznetsov 2023-05-09 11:32:48 UTC
Confirm the bug in

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 69d0be09ad81935f7da4b6f8d036c3562357d068
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL threaded
Comment 3 Roman Kuznetsov 2023-05-09 11:34:44 UTC
I think the background for section implemented by using a paragraph background. 
Instead, it should be implement the same as a page background.
Comment 4 Buovjaga 2024-10-05 17:08:38 UTC
(In reply to Rafael Lima from comment #1)
> So the last line in the section has Below Spacing and it is not considered
> for coloring the section. The same goes for the 120% proportional spacing.
> Neither are considered for coloring the section.
> 
> IMO this seems like a bug.
> 
> But I'm not sure if this is somehow the intended behavior.

At least I don't see anything defined about it in ODF: https://docs.oasis-open.org/office/OpenDocument/v1.4/OpenDocument-v1.4-part3-schema.html#element-text_section

Still confirmed and already in 3.5.

Arch Linux 64-bit
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3370e122d7f9edf40895f90706047ceb8ee7229d
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 4 October 2024