Bug 114142 - Decimal tab stop should allow for any defined character to be interpreted as decimal
Summary: Decimal tab stop should allow for any defined character to be interpreted as ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.3.2 release
Hardware: x86-64 (AMD64) macOS (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paragraph-Dialog
  Show dependency treegraph
 
Reported: 2017-11-29 15:33 UTC by w_s_how
Modified: 2020-02-28 07:39 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example of faulty decimal tabs (11.67 KB, application/vnd.oasis.opendocument.text)
2017-11-29 15:35 UTC, w_s_how
Details

Note You need to log in before you can comment on or make changes to this bug.
Description w_s_how 2017-11-29 15:33:27 UTC
Description:
Decimal tab seems to align the right ends of first numerical values encountered rather than to a set character, such as "=". E.g. ("T" representing decimal tab),

...:.....T.....:.....:.....:.....:.....:
    $5,890 + 9% TAX = $6,420.10
      $200 + $500 + $300 = $1,000.00


Steps to Reproduce:
1. Insert tab in ruler.
2. Double click on it and in Paragraph->Tabs dialogue change to "Decimal" and instead of using the default ".", change it to "=".
3. Type numbers and equal signs to see how it behaves.

Actual Results:  
...:.....:.....:.....T.....:.....:.....:.....:
                $5,890 + 9% TAX = $6,420.10
                  $200 + $500 + $300 = $1,000.00


Expected Results:
...:.....:.....:.....T.....:.....:.....:.....:
     $5,890 + 9% TAX = $6,420.10
  $200 + $500 + $300 = $1,000.00



Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/604.3.5 (KHTML, like Gecko) Version/11.0.1 Safari/604.3.5
Comment 1 w_s_how 2017-11-29 15:35:46 UTC
Created attachment 138072 [details]
Example of faulty decimal tabs
Comment 2 Dieter 2017-11-29 17:03:07 UTC
I tried it in different ways. I think the setting "decimal" is only for numbers, so you only can choose between "." and ",". You also can use "=", but it is treated as a decimal sign, so you can use 46.2=738.7, but that makes no sence. So my proposal is to add a possiblity to choose between "," and "." and to skip the general "character".
So if you agree I would change this to enhancement.
Comment 3 Alex Thurgood 2017-11-30 08:51:24 UTC
My understanding is that the option "decimal" is intended only to align around the decimal point, whatever that character might be in the language of use. The possibility to change the character to be interpreted should thus only extend to characters used to define a decimal point. This is not the case with the "equals" sign.

In addition, the alignment functions only for number strings around the character used to represent the decimal. This is the designed functionality.

What you are asking for is a request for enhancement. Marking as such.