Bug 132216 - Number indent inconsistent in Calc with right-aligned cells
Summary: Number indent inconsistent in Calc with right-aligned cells
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.4.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Calc-Cells
  Show dependency treegraph
 
Reported: 2020-04-18 10:20 UTC by Heikki Moisander
Modified: 2023-05-25 14:23 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
document I was working with while problem occur (24.64 KB, application/vnd.oasis.opendocument.spreadsheet)
2020-04-18 10:22 UTC, Heikki Moisander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heikki Moisander 2020-04-18 10:20:14 UTC
Description:
Cells with numbers should be right aligned and indent increase should add space to right. This works randomly in inconsistent matter and once occur can not be fixed in any way. Only option is to remove indents from all rows or start creating the table from empty new document, just to eventually end up to same problem.

Steps to Reproduce:
1.numbers in cells
2. align right several rows and columns
3. increase indent

Actual Results:
Indent of only part of the cells is increased. This is random and can not be fixed with any retrial or paste unformated values to cleared area.

Expected Results:
Cells with numbers should be right aligned and indent increase should add space to right.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.4.2.2
Build ID: 1:6.4.2-0ubuntu3
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: fi-FI (en_US.UTF-8); UI-Language: en-US
Calc: threaded

This problem is old and have been in place in several earlier libre-office versions. This formatting option is really important for creating readable tables. Similar problem occur in MS excel sometimes but there it is consistent to entire selection area and clearing the formats and reformat always solves the problem.
I have relatively clean new installation of OS and libre office package included to os -> resetting the user profile is not relevant. I have default settings of my distro -> don't know anything about OpenGL choice made. I will add document I was working with while my personal bug-reporting threshold was finally exceeded. (copy-paste inconsistency bug I reported is a showstopper for me)
Comment 1 Heikki Moisander 2020-04-18 10:22:14 UTC
Created attachment 159676 [details]
document I was working with while problem occur

Right align and indent applied in document with inconsistent outcome.
Comment 2 Jean-Baptiste Faure 2020-04-18 20:36:29 UTC
I do not see a problem if I first remove all manual formatting and then increase indent.

Best regards. JBF
Comment 3 Heikki Moisander 2020-04-19 09:34:45 UTC
It will not work for me. Same bug also with another pc and with several different files created separately:
Version: 6.3.5.2
Build ID: 1:6.3.5-0ubuntu0.19.10.1
CPU threads: 4; OS: Linux 5.3; UI render: default; VCL: gtk3; 
Locale: fi-FI (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 4 Buovjaga 2020-06-22 13:23:18 UTC
Trying to figure out what we need to test here exactly.

I selected the contents in columns P-S and cleared direct formatting. Then I increased the indent a single step and it worked for all the cells.

Heikki: do you get a different result than me?
Comment 5 QA Administrators 2020-12-20 03:46:27 UTC Comment hidden (obsolete)
Comment 6 Heikki Moisander 2020-12-20 13:09:15 UTC
Hello problem still there with version 7.0.3.1

If I remove all the direct formatting I lose all the formatting that I naturally need to have in the table. And when I re-do the formats the problem is back.

This inability to indent number cells in tables makes calc useless for presentation with bordered columns as table column borders need to have space to numbers.

This kind of basic use case should not be that difficult to recognize. I am sorry I can not help any further.
Comment 7 QA Administrators 2020-12-21 03:44:51 UTC Comment hidden (obsolete)
Comment 8 Buovjaga 2020-12-22 10:38:59 UTC
I think this might be related to
bug 107233
bug 107213

I confirm that if I set the alignment to right in columns P-S after clearing formatting, the result for increasing indent is inconsistent.

Arch Linux 64-bit
Version: 7.2.0.0.alpha0+
Build ID: 52c77ce5da7e583ea0a70d5de32de6b0a12790a2
CPU threads: 8; OS: Linux 5.9; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 22 December 2020
Comment 9 QA Administrators 2022-12-23 03:36:40 UTC Comment hidden (obsolete)
Comment 10 Heikki Moisander 2023-05-25 14:17:26 UTC
I tested this old bug with

Version: 7.5.3.2 (X86_64)
Build ID: 50(Build:2)
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Now the indentation seems to work like expected. It was not 100% consistent all teh time. During the testing there were one moment when indentation change affected also next cell on right that was not selected, but after some re-formating actions desired formatting was reached. At the time I reported about this it was impossible to use indentation for right aligned cells - now I am happy to notice it works.