Created attachment 144694 [details] Screenshot of the observed bug. 1. New Writer window. 2. Format > Paragraph > Borders > Presets: Set All Four Borders. 3. Make sure "Make with next paragraph" is checked. 4. Click OK. Should have the only empty paragraph with border. 5. Type "This is a list:", press Enter. 6. Type "Item 1", press Enter. 7. Type "Item 2", press Enter. 8. Type "This is a comment after the list", press Enter. 9. Select the two items (From I in "Item 1" to 2 in "Item 2"). 10. Click on "Toggle Bulleted List" on the toolbar. Observed behavior: Item 1 and Item 2 now have their own border. Expected behavior: Item 1 and Item 2 should still share their border with the rest of the document. See screenshot.
I confirm it with Version: 6.2.0.0.alpha0+ (x64) Build ID: 414ef6cb187dd3bbcc917dbedf3c0c1cc8668f60 CPU threads: 4; OS: Windows 10.0; UI render: GL; TinderBox: Win-x86_64@42, Branch:master, Time: 2018-08-21_00:13:04 Locale: en-US (de_DE); Calc: CL
This is the expected behaviour. Same would happen if you change the two items to use another paragraph style. The "Make with next paragraph" only works as long as the next paragraph uses the same style. Closing as RESOLVED NOTABUG
Xisco, do you think, we could treat this as a proposal for an enhancement?
Hi Xisco, Thank you for the response. I just checked the help and yes, it says: "These styles are only merged if the indent, border, and shadow styles of the next paragraph are the same as the current paragraph." So yes, considering it behaves according to the documentation, I acknowledge the "NOTABUG". However, there is no way to have a paragraph and a bulleted paragraph, both of the same style (and thus, same spacing properties) surrounded by the same border without using a hackish 1x1 table cell. Sections don't support borders either. Maybe we can rename this to "no way to have a list and its parent paragraph of the same paragraph style merged in the same border" and mark it as a request for enhancement? I don't think it will be that trivial. What do you think? Octavio.