Created attachment 150636 [details] comparison MSO 2010 and LibreOffice 6.3 Master Steps to reproduce: 1. Open attachment 97319 [details] from bug 77411 2. Go to page 2 -> Left section is shifted to the left, making the bullet list to look like it doesn't have indent. See attached screenshot Reproduced in Version: 6.3.0.0.alpha0+ Build ID: 040a54d89e8ca33171e86647ced8dc58efd85fbe CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded [Bug found by office-interoperability-tools]
Regression introduced by: https://cgit.freedesktop.org/libreoffice/core/commit/?id=8d4a7b17e60aa889d1a78da47630aae2d1c1513c author Justin Luth <justin_luth@sil.org> 2019-01-08 18:14:52 +0300 committer Justin Luth <justin_luth@sil.org> 2019-01-11 04:08:46 +0100 commit 8d4a7b17e60aa889d1a78da47630aae2d1c1513c (patch) tree 8f49b9cc7537aac12eef4fc42c547078ea6b3756 parent a2d2f0b30b75093b6ab517349f6db0649314495f (diff) writerfilter: import section margins and writingMode Bisected with: bibisect-linux64-6.3 Adding Cc: to Justin Luth
super yuck. This is caused by the footnote creating fake page styles (Converted2 and Converted3) and those fake page styles use default margin values, resulting in a negative margin when there should be a section margin of 0. I'll bet footnotes mess up lots of page style stuff.
Created attachment 150725 [details] endingSectionProps.docx: document showing the need for section indents It is safe to do a partial revert of the section indent - this never worked before, so it won't be a regression. The problem is that we don't know what page style underlies this section - and thus can't tell how much to indent. Because the endnote is interjecting a fake page style, we can't just assume the margins of the last page style seen. Probably endnote sections need to be identified, and the inherit function needs to skip over these. Preferably, they won't show up as actual page styles either...
Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/d7e6c898f5ec8fbd142f9d3e1c46dfcf90edfc27%5E%21 tdf#124637 writerfilter: partially revert import section margins It will be available in 6.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Leaving this issue open since the title is still accurate - section margins still need work. Use the document in comment 3 instead. See the patches for code pointers.
*** Bug 126035 has been marked as a duplicate of this bug. ***
The example file in bug #98480 also suffers from this problem.
Dear Xisco Faulí, 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
(In reply to NISZ LibreOffice Team from comment #7) > The example file in bug #98480 also suffers from this problem. This is still the case with: Version: 24.2.5.2 (X86_64) / LibreOffice Community Build ID: 420(Build:2) CPU threads: 16; OS: Linux 6.10; UI render: default; VCL: gtk3 Locale: en-US (C.UTF-8); UI: en-US Debian package version: 4:24.2.5-3+b1 Calc: threaded