Bug 107233 - UI left indent on right aligned cell gives wrong visual appearance of right indent
Summary: UI left indent on right aligned cell gives wrong visual appearance of right i...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ODF-export-invalid
  Show dependency treegraph
 
Reported: 2017-04-17 13:56 UTC by Regina Henschel
Modified: 2024-12-23 20:05 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
increase indent used on right-aligned paragraph (6.63 KB, application/vnd.oasis.opendocument.spreadsheet)
2017-04-17 13:56 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2017-04-17 13:56:23 UTC
Created attachment 132636 [details]
increase indent used on right-aligned paragraph

Start document in Calc and enter some text in cell A1.
Set the cell to right align.
Click on "increase indent" button in toolbar or in side bar.
Notice, that the text gets a right indent.
Save the file.
Examine the file source. You will find the attribute fo:margin-left in the paragraph properties of the cell.

The button "increase indent" is only able to set a left indent. Even the extended tip of it only speak of "left". In former versions in case a user clicks on "increase indent", the alignment was changed to left align automatically. And in the cell properties dialog the field "indent by" is disabled in case of right alignment.

Error: The UI must not produce a right indent.

The enhancement request for having a right indent too is in bug 107213. This bug is about the wrong rendering of a file format fo:margin-left in case of fo:text-align="end".

It was OK in Version 4.1.0.0.alpha0+ (Build ID: 049ce78144650d92eb6bd73292868f73d37c901)
TinderBox: Win-x86@6, Branch:master, Time: 2013-03-29_23:59:42

It was wrong in Version: 4.1.0.1
Build ID: 1b3956717a60d6ac35b133d7b0a0f5eb55e9155
Comment 1 m_a_riosv 2017-04-17 14:01:27 UTC
Hi @Regina,thanks for a properly report.
Comment 2 QA Administrators 2018-04-18 02:34:19 UTC Comment hidden (obsolete)
Comment 3 Regina Henschel 2018-11-06 13:33:51 UTC
The error still exists in Version: 6.2.0.0.alpha1+ (x64)
Build ID: f825e6d4082c0d0beb1c95b881f6a2ee9bfc9161
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-05_00:20:26
Locale: de-DE (en_US); Calc: CL
Comment 4 QA Administrators 2019-11-07 03:34:14 UTC Comment hidden (obsolete)
Comment 5 Regina Henschel 2019-11-07 11:49:19 UTC
The error still exists as described in Version: 6.4.0.0.alpha1+ (x64)
Build ID: 7c6226bee72805db7f0e567ca9f06c786a7d0da2
CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: default; VCL: win; 
Locale: de-DE (en_US); UI-Language: en-US
Calc: threaded
Comment 6 QA Administrators 2022-12-23 03:36:36 UTC Comment hidden (obsolete)
Comment 7 Regina Henschel 2022-12-23 08:31:29 UTC
The error still exists in Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9b46020c262045aed0beace4708565235c2523cc
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL threaded

BTW, Excel correctly writes fo:margin-right in this situation.
Comment 8 QA Administrators 2024-12-23 03:21:34 UTC Comment hidden (obsolete)
Comment 9 Regina Henschel 2024-12-23 20:05:57 UTC
The file markup is still wrong in Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4ffd1e31b17965646fe4893e9a393fab3294b383
CPU threads: 32; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded