Bug 115640 - Align right/center with trailing spaces aren't treated the same in XLS(X) as in DOC(X)
Summary: Align right/center with trailing spaces aren't treated the same in XLS(X) as ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: filter:xls, filter:xlsx
Depends on:
Blocks: XLSX
  Show dependency treegraph
Reported: 2018-02-12 06:33 UTC by Aron Budea
Modified: 2021-02-13 04:04 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:
Regression By:

Sample XLSX (8.41 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2018-02-12 06:33 UTC, Aron Budea
Sample XLS (25.00 KB, application/vnd.ms-excel)
2018-02-12 06:34 UTC, Aron Budea

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2018-02-12 06:33:14 UTC
Created attachment 139809 [details]
Sample XLSX

In MS Office, when a paragraph is right-aligned, the alignment is done to the word even if there are extra spaces at the end.
In LibreOffice, the alignment considers those spaces as well.

Handling this has been implemented for DOC(X) files in LO 5.4 (bug 104668), but it's not handled in XLS(X) files.

Attaching a sample XLS/XLSX, in both lines the words should be aligned exactly to the end.

Observed using LO / Windows 7.
Comment 1 Aron Budea 2018-02-12 06:34:16 UTC
Created attachment 139810 [details]
Sample XLS
Comment 2 Kevin Suo 2018-02-12 07:03:00 UTC
Confirmed in

Build ID:60bfb1526849283ce2491346ed2aa51c465abfe6
CPU 线程:4; 操作系统:Linux 4.14; UI 渲染:默认; VCL: gtk2; 
区域语言:zh-CN (zh_CN.UTF-8); Calc: group

And MSO 2010.
Comment 3 Aron Budea 2018-02-12 07:38:22 UTC
Same with centered text.
Comment 4 QA Administrators 2019-02-13 03:49:20 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2021-02-13 04:04:07 UTC
Dear Aron Budea,

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://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team