Created attachment 165887 [details] Coloured section backgrounds A section is a part of a page with its own properties. Number of columns may be different as well as background. It is expected tht a section begins at a well defined and predictable position. The same for where it ends. A user expects section limits encompass everything contained inside the section. A section mainly contains paragraphs. A paragraph is defined as spacing above, text and spacing below. Therefore a section "frontier" is expected to be located between the spacing below of the paragraph preceding the section and the spacing above of the first paragraph of the section. Presently, Writer displays the section frontier immediately below the bottom of the bounding box of the characters of the last line. Blank space (spacing below + spacing above) is always considered to be part of the page, whatever the settings of the spacings. See attached file where page and section backgrounds have been coloured to show the behaviour. Then, either the "restricted" section area is a design decision. Then where is it specified? How can we work around the difficulty to paint precisely paragraph background in a section? Or this is bug and section limits should be fixed. This bug report is a follow-on of https://ask.libreoffice.org/en/question/268180/problem-with-section-no-background-color-at-the-sections-beginning/
Margins are always transparent. So it is correct, that in the left part of the section the yellow color of the page is visible. But the section has neither margin-top nor margin-bottom. Therefore the background color of the section should go from top of the section to the bottom of the section. Because margins are transparent, the red color of the section should be visible in the margins of the paragraphs. The 'text boundary' (menu View) of the section is wrong. To top boundary line should be 5mm below the paragraph text, because the paragraph has a 5mm bottom margin. Same for the bottom boundary line. I see the same in AOO4.1, so likely inherited from OOo, but I have not tested earlier LO versions. MS Word and Softmaker are not able to show background colors of sections, so not suitable for comparisons.
PS: forgot to mention that "horizontal behaviour" is as I expect it. If section has indents, then these indents are there to restrict laterally the extent of the section. Therefore (again as I expect it; don't know if this is so in the specification), background for the indents should be the one for the surrounding section or page. In the attached sample, I'm satisfied with the way the left indent is coloured. I don't see where I can define "padding" space around a section (but I'm on a trip and only have access to 4.1.6.2 - need to wait until I return to check with a more recent release). In 4.1.6.2, a section can't have borders, then there is no spacing to border (again, I must check with 6.4.6.2). In case there can be some padding, this padding IMHO is part of the section and should have the section background.
(In reply to ajlittoz from comment #2) > I don't see where I can define "padding" space around a section (but I'm on > a trip and only have access to 4.1.6.2 - need to wait until I return to > check with a more recent release). In 4.1.6.2, a section can't have borders, > then there is no spacing to border (again, I must check with 6.4.6.2). In > case there can be some padding, this padding IMHO is part of the section and > should have the section background. Sections have only fo:margin-left and fo:margin-right in file format. There exist no margin-top, no margin-bottom, no border and no padding.
Dear ajlittoz, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Spacing below paragraph still ignored in 7.3.6.2. All other spacing and indent parameters are correctly interpreted. This occurs on the paragraph preceding a section and in the last paragraph of a section.