Bug 44012 - [FORMATTING] Space after paragraph appears as a white stripe, even though background is supposed to be colored
Summary: [FORMATTING] Space after paragraph appears as a white stripe, even though bac...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.4.4 release
Hardware: All All
: medium minor
Assignee: Not Assigned
Whiteboard: filter:odt
Depends on:
Blocks: Paragraph-Spacing
  Show dependency treegraph
Reported: 2011-12-21 05:48 UTC by Nicolas Mailhot
Modified: 2023-06-13 14:47 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

testcase (10.16 KB, application/vnd.oasis.opendocument.text)
2011-12-21 05:48 UTC, Nicolas Mailhot

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Mailhot 2011-12-21 05:48:41 UTC
Created attachment 54635 [details]

In the attached example, text is supposed to alternate over clear and less clear backgrounds

However, in libreoffice, a white stripe separates the different colour stripes, and is not coloured like the paragraph it belongs to

This kind of styling works perfectly in office 2007
Comment 1 A (Andy) 2013-04-27 13:15:57 UTC
reproducible with LO (Win7 Home, 64bit)

but for MSO 2007 the file has first to be restored
Comment 2 Cor Nouws 2014-08-15 13:19:21 UTC
Hi Nicolas,

I do recognise this.
Workaround: setting paragraph border the same color (+ spacing 0)
Comment 3 QA Administrators 2015-09-04 02:48:30 UTC Comment hidden (obsolete)
Comment 4 Buovjaga 2015-11-19 10:51:23 UTC
Still confirmed.
Severity minor as workaround exists.

Win 7 Pro 64-bit Version:
Build ID: 66d2b72667792cb18b25805387824d636e2a455c
TinderBox: Win-x86@39, Branch:master, Time: 2015-11-18_02:35:53
Locale: fi-FI (fi_FI)
Comment 5 QA Administrators 2017-01-03 19:36:35 UTC Comment hidden (obsolete)
Comment 6 Thomas Lendo 2018-10-10 13:08:25 UTC
Tested with and nothing changed.

But how should this be handled?

The white space comes from the paragraph settings of 'Spacing above paragraph' and 'Spacing below paragraph' (0,09 cm in the example file). This spacing is part of the margin of the paragraph which isn't filled with a background color. Should this be changed?

What does the odf specification say about that?
Comment 7 Regina Henschel 2018-10-27 20:30:11 UTC
Margin areas are always transparent. To get a colored distance between the paragraphs use "padding" from the "Border" tab of the paragraph style dialog.
Comment 8 Thomas Lendo 2018-10-28 13:51:23 UTC
Closing this bug as INVALID according to comment 6 and comment 7.