Bug 139255 - Paragraph border is not continuous, if there is intended paragraph (see comment 7)
Summary: Paragraph border is not continuous, if there is intended paragraph (see comme...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paragraph-Indent Paragraph-Borders
  Show dependency treegraph
 
Reported: 2020-12-27 11:20 UTC by DarkTrick
Modified: 2023-12-29 10:56 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example document (11.01 KB, application/vnd.oasis.opendocument.text)
2020-12-27 11:21 UTC, DarkTrick
Details
image showing "actual" and "expected" (47.15 KB, image/png)
2020-12-27 11:22 UTC, DarkTrick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DarkTrick 2020-12-27 11:20:44 UTC
TL;DR:
=====
- See attached image to quickly understand "actual" and "expected".
- See attached document, that shows the expected output

Summary
=======
If you format a paragraph to have borders, the border will not be continuous if you add a list into that paragraph. The result looks like two different paragraph formattings.

You get similar effects when setting the background color. 

Reproduce
=========
. Write three lines of text.
. Create a new paragraph style with solid borders.
. Format the text with the new style
. (Writer draws a continuous line around the whole paragraph)
. Select one a row within the paragraph and make it a bullet point (Shift+F12)
. (Line becomes a bullet point list
. EXPECTED: Border lining doesn't change. It's still one continuous line.
ACTUAL: The paragraph looks like it's ripped apart at the bullet point.

(see attached document)

Workaround
==========
Put content into a table with a single cell and format it.


Severity
========
This bug has the following effect:
- Border formatting for paragraphs containing lists look weird.
- Background color formatting for paragraphs containing lists look weird.
Comment 1 DarkTrick 2020-12-27 11:21:21 UTC
Created attachment 168507 [details]
Example document
Comment 2 DarkTrick 2020-12-27 11:22:23 UTC
Created attachment 168508 [details]
image showing "actual" and "expected"
Comment 3 Dieter 2021-01-11 08:16:34 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

I'm sure, that this problem has been reported before, but I couldn't find it.
Comment 4 Justin L 2021-05-05 09:36:49 UTC
(In reply to Dieter from comment #3)
> I'm sure, that this problem has been reported before, but I couldn't find it.
There is a similar sounding bug 99330, but these two are very different bugs, and no code sharing at all between them I'm sure.

This happens already in earliest bibisect-43all LO 3.5, so probably inherited from OOo.
Comment 5 Regina Henschel 2021-12-10 22:41:28 UTC
There are related problems with background color of paragraphs in bug 39756, bug 108600, bug 106021.
Comment 6 QA Administrators 2023-12-12 03:13:52 UTC Comment hidden (obsolete)
Comment 7 Dieter 2023-12-29 10:21:08 UTC
Still present in

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 40617d867346956588ac023511f31210107217f4
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

But not related to lists. If paragraphs with list have same indent as paragraphs without a list, everything works as expected

Steps to make the problem visible
1. Open attachment 168507 [details]
2. Select third and forth paragraph -> Shift+F12 (all paragraphs within the same borders; expected)
3. Change indent of third paragraph to 1 cm

Actual result
Extra border around third paragraph

Expected result
No change in borders

=> I've changed bug summary