Bug 126829 - Able to apply an indent for right justified values in cell, even though indent not selectable
Summary: Able to apply an indent for right justified values in cell, even though inden...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.1.6.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Calc-Cells
  Show dependency treegraph
 
Reported: 2019-08-11 17:06 UTC by themountinman
Modified: 2023-05-19 15:09 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description themountinman 2019-08-11 17:06:45 UTC
Currently, when setting alignment in a cell, the indent box is not selectable when Horizontal alignment is set to 'Right' (Why?)

However, this can be circumvented using the following steps:
1. Select a cell.
2. Select Format -> Cells menu option.
3. Select Alignment tab.
4. Select 'Left' for Horizontal alignment.
5. Select a non-zero indent (e.g. 10 pt).
6. Click Ok.

Contents of cell are now left justified with an indent of 10 pts.

7. Select same cell.
8. Select Format -> Cells menu option.
9. Select Alignment tab.
10. Select 'Right' for Horizontal alignment (indent box becomes non-selectable but RETAINS non-zero indent value).
11. Click Ok.

Contents of cell are new right justified with an indent of 10 pts.

Personally, I like this. I've never understood why we are prohibited from setting a right alignment indent, since no indent often has numerical data crammed right up against the border. I would recommend you stop making the indent box unselectable when right horizontal alignment is selected.

If, however, you intended for right aligned text to never be indented, you should fix the behavior above (i.e. when horizontal alignment is changed from left to right, zero out the indent).
Comment 1 IM 2019-08-11 20:47:00 UTC
Thank you for reporting the bug. I can confirm that the bug is present in:

Version: 6.4.0.0.alpha0+ (x86)
Build ID: 5c30c20101f72d973ff28c228f755e635cad14d5
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
Locale: pl-PL (pl_PL); UI-Language: en-US
Calc: threaded

Version: 6.3.0.4 (x64)
Build ID: 057fc023c990d676a43019934386b85b21a9ee99
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
Locale: pl-PL (pl_PL); UI-Language: en-US
Calc: threaded
Comment 2 m_a_riosv 2019-08-11 22:09:34 UTC
Looks a duplicate https://bugs.documentfoundation.org/show_bug.cgi?id=91816
Comment 3 QA Administrators 2021-08-11 03:58:13 UTC Comment hidden (obsolete)
Comment 4 themountinman 2021-08-13 13:13:48 UTC
Version: 7.0.6.2 (x64)
Build ID: 144abb84a525d8e30c9dbbefa69cbbf2d8d4ae3b
CPU threads: 6; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

Yes, this bug (feature?) is still present.

Still think you should support direct application of non-zero right alignment indent.