Bug 158867 - Formulas with comma-separated decimals are rendered incorrectly
Summary: Formulas with comma-separated decimals are rendered incorrectly
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
7.5.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2023-12-26 09:16 UTC by Kribly Krably
Modified: 2023-12-26 10:50 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 Kribly Krably 2023-12-26 09:16:21 UTC
Description:
Description:
The first problem is that fractions with comma-separated decimals not surrounded by {} are broken.

The second problem is that extra space added between integer part of decimal and comma.

Steps to Reproduce:
1. Open LibreOffice Math
2. Type "1,3 over 2 = 0,65" (without quotation marks)
3. See the preview window

Actual Results:
The formula rendered like 
   ,3 
1 ----=0 ,65
   2 

Expected Results:
The formula rendered like 
1,3
---=0,65
 2


Reproducible: Always


User Profile Reset: No

Additional Info:
Formulas created in previous versions of the LO will be broken when editing in new versions.
Comment 1 Mike Kaganski 2023-12-26 10:24:37 UTC
Repro using Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 24; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (en_US); UI: ru-RU
Calc: CL threaded

Was OK in Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: c21113d003cd3efa8c53188764377a8272d9d6de
CPU threads: 24; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (en_US); UI: ru-RU
Calc: threaded
Comment 2 Buovjaga 2023-12-26 10:50:22 UTC
Bibisected with linux-64-7.5 to 1bd9a51b826015746069fcc0d02a30a2ddc7e7f5
tdf#125154 i18npool,sw: fix group separators in numbers in formulas