Created attachment 131537 [details] An example document Attached document contains a paragraph with two centered tabs, line breaks and justified alignment. In the lines with line breaks at the end, the second tab stop does not seem to work as expected: the text falling under it is justified, not centered. In case of the first tab stop the text is centered. If I add one more tab stop, the text under the second gets centered correctly. In the last line which ends with a paragraph break the text under the second tab stop is centered as well. This happens with left and right aligned kinds of tab stops as well. In Word 2013 this feature works like this: the text under both tab stops is centered, no matter the line break and the justified setting.
Created attachment 131538 [details] Screenshot of the problem in LO 5.2.3
Created attachment 131539 [details] Similar setup in MSO 2013
Confirmed. Arch Linux 64-bit, KDE Plasma 5 Version: 5.4.0.0.alpha0+ Build ID: ed0e8f970ff552e75222dc92ed2879aa3b3e5851 CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group Built on March 4th 2016 Arch Linux 64-bit LibreOffice 3.3.0 OOO330m19 (Build:6) tag libreoffice-3.3.0.4
** Please read this message in its entirety before responding ** 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 http://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://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Still repro. Version: 6.1.0.0.alpha0+ Build ID: 77db2da61658906c354084b13a95f1102949fbd0 CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; Locale: de-DE (de_DE.UTF-8); Calc: group 2018-03-05
Still reproducible with: Version: 6.3.0.0.alpha0+ Build ID: 65438bcda46bab4f2fe6fb555f44aace45e11e5e CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; Locale: hu-HU (hu_HU); UI-Language: en-US Calc: threaded
So I just found that setting the Options - Writer - Compatibility - "Expand word space on lines with manual line breaks in justified paragraphs" option to false solves this issue. I guess we can set this in our default config.
In fact, this is a regression since 2004, because the fix for i13507 was modeled after Word's justification, but not in the case of not left-aligned tabs unintentionally. Proposed fix: https://gerrit.libreoffice.org/c/core/+/96438
László Németh committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/cec1d2cb8eb17a28bf418625ea6ea522d6c1c580 tdf#106234 sw: don't justify after centered tabs It will be available in 7.1.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.
László Németh committed a patch related to this issue. It has been pushed to "libreoffice-7-0": https://git.libreoffice.org/core/commit/0d963060b612977139138d25b9e4649f84800a28 tdf#106234 sw: don't justify after centered tabs It will be available in 7.0.0.1. 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.
Verified in Version: 7.1.0.0.alpha0+ Build ID: cb72269f93a20dd175dae3dcf30740c9931e7684 CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded @László Németh, thanks for fixing this issue!!
(In reply to Xisco Faulí from comment #12) @Xisco: thanks for the verification!