Bug 129170 - FORMATTING: Area color fills the space between two paragraphs
Summary: FORMATTING: Area color fills the space between two paragraphs
Status: RESOLVED DUPLICATE of bug 108600
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.3.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-04 08:56 UTC by ro
Modified: 2021-12-11 13:31 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
LibreOffice Writer document which shows the problem. (9.50 KB, application/vnd.oasis.opendocument.text)
2019-12-04 08:56 UTC, ro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ro 2019-12-04 08:56:27 UTC
Created attachment 156283 [details]
LibreOffice Writer document which shows the problem.

Bug: Area color fills the space between two paragraphs!


To reproduce:

1. Open a new writer document.

2. Open the "Styles and Formatting" side panel:
   "View" > "Styles".

3. In the "Styles and Formatting" side panel:
   3.1 Select "Show previews".
   3.2 Select "Custom Styles" category from the list.

4. In the "Styles and Formatting" side panel:
   4.1 Create a new paragraph style with the following options:
       Organizer tab
         "Style Name": MyParagraph2
         "Style Next style": MyParagraph2
         "Style Inherit from": -None-
         "Style Category": Cusom Styles
       Indents & Spacing tab
         "Spacing Above paragraph": 0.20 "
       Borders tab
         "Line Arrangement Presets": Set All Four Borders
         "Properties": turn on "Merge with next paragraph"

5. In the "Styles and Formatting" side panel:
   5.1 Create a new paragraph style with the following options:
       Organizer tab
         "Style Name": MyParagraph3
         "Style Next style": MyParagraph3
         "Style Inherit from": -None-
         "Style Category": Cusom Styles
       Indents & Spacing tab
         "Spacing Above paragraph": 0.20 "
       Borders tab
         "Line Arrangement Presets": Set All Four Borders
         "Properties": turn on "Merge with next paragraph"

6. With the cursor in the document type:
     "Line1" <Enter> <Enter>
     "Line2" <Enter> <Enter>
     "Line3" <Enter> <Enter>

   so the results look like:
     Line1
     <blank_line>
     Line2
     <blank_line>
     Line3
     <blank_line>
     <blank_line>

7. Apply the "MyParagraph2" paragraph style to "Line2".
   Apply the "MyParagraph3" paragraph style to "Line3".

8. Test #1 - Delete the empty paragraph between "Line2" and "Line3".
   Result: Pass
   Outcome: The "Line2" paragraph merges with the "line3" paragraph and the border surrounds both paragraphs.
   Finish the test, by pressing 'Ctl+z' to undo the paragraph deletion.

9. Edit the "MyParagraph2" paragraph style and:
   uncheck, "Borders" tab > "Properties" > "Merge with next paragraph" option.

10. Test #2 - Delete the empty paragraph between "Line2" and "Line3".
    Result: Pass
    Outcome: The "Line2" paragraph does not merge with the "line3" paragraph and each paragraph has its own border.
    Finish the test, by pressing 'Ctl+z' to undo the paragraph deletion.

11. Edit the "MyParagraph2" paragraph style and:
    check, "Borders" tab > "Properties" > "Merge with next paragraph" option.
    select, "Area tab" > "Color" > "Light Gray 5".

12. Test #3 - Delete the empty paragraph between "Line1" and "Line2".
    Result: Pass
    Outcome: The "Line2" paragraph merges with the "line3" paragraph, the border surrounds both paragraphs, and only the "Line2" paragraph has area color.
    Finish the test, by pressing 'Ctl+z' to undo the paragraph deletion.

13. Edit the "MyParagraph2" paragraph style and:
    uncheck, "Borders" tab > "Properties" > "Merge with next paragraph" option.

14. Test #4 - Delete the empty paragraph between "Line2" and "Line3".
    Result: Pass
    Outcome: The "Line2" paragraph does not merge with the "line3" paragraph, each paragraph has its own border, and only the "Line 2 paragraph has area color.
    Finish the test, by pressing 'Ctl+z' to undo the paragraph deletion.

15. Edit the "MyParagraph2" paragraph style and:
    check, "Borders" tab > "Properties" > "Merge with next paragraph" option.

16. Edit the "MyParagraph3" paragraph style and:
    select, "Area tab" > "Color" > "Light Gray 5".

17. Test #5 - Delete the empty paragraph between "Line1" and "Line2".
    Result: Pass
    Outcome: The "Line2" paragraph merges with the "line3" paragraph, the border surrounds both paragraphs, and both the "Line2" and "Line3" paragraphs have area color.
    Finish the test, by pressing 'Ctl+z' to undo the paragraph deletion.

18. Edit the "MyParagraph2" paragraph style and:
    uncheck, "Borders" tab > "Properties" > "Merge with next paragraph" option.

19.Test #6 - Delete the empty paragraph between "Line2" and "Line3".
   Result: Fail
   Outcome: The "Line2" paragraph does not merge with the "line3" paragraph, each paragraph has its own border, each paragraph has area color, but now area color fills the space between the two paragraphs! (Note: This only happens if the two paragraphs have the exact same area color.)
   Finish the test, by pressing 'Ctl+z' to undo the paragraph deletion.
Comment 1 Dieter 2019-12-09 12:03:33 UTC
(In reply to ro from comment #0)
> Created attachment 156283 [details]
> LibreOffice Writer document which shows the problem.
> 
> Bug: Area color fills the space between two paragraphs!

Duplicate of bug 118204. Ro, if you don't agree, please give a short reasoning. Thanks

*** This bug has been marked as a duplicate of bug 118204 ***
Comment 2 Mike Kaganski 2021-12-11 13:31:20 UTC

*** This bug has been marked as a duplicate of bug 108600 ***