Bug 138352

Summary: PARAGRAPH TABS: Confusing behavior with No-break space and comma decimal tab stop
Product: LibreOffice Reporter: LeroyG <iavs.leroy>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: dgp-mail, himajin100000
Priority: medium    
Version: 6.4.7.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=58434
https://bugs.documentfoundation.org/show_bug.cgi?id=135451
https://bugs.documentfoundation.org/show_bug.cgi?id=127951
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107834    
Attachments: Sample cases

Description LeroyG 2020-11-19 21:41:54 UTC
Description:
Changing attributes of a no-break space (U+00A0 Ctrl+Shift+Space) used as thousand separator causes the number to misalign with a decimal tab stop with character set to comma.

Steps to Reproduce:
1. Type "tab12no-break space345,67" (Ctrl+Shift+Space or U+00A0 and Alt+X for the NBS)
2. Set a comma decimal tab stop
3. Change some attribute of the NBS (Font Size, Font Name, Font Color, Highlight Color, Scale Width, etc.)
4. Change the comma to a period

Actual Results:
At step 2, the number is aligned at the right of 345 (correct result)
At step 3, the number is aligned at the right of 67 (wrong result)
At setp 4, the number is aligned at the right of 345 (wrong result)

Expected Results:
At step 2, the number is aligned at the right of 345 (actual result)
At step 3, the number is aligned at the right of 345
At setp 4, the number is aligned at the right of 67


Reproducible: Always


User Profile Reset: No



Additional Info:
Decimal separator key is set to ".".

Version: 6.4.7.2 (x86)
Build ID: 639b8ac485750d5696d7590a72ef1b496725cfb5
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win; 
Locale: es-MX (es_MX); UI-Language: en-US
Calc: threaded
Comment 1 LeroyG 2020-11-19 21:42:46 UTC
Created attachment 167407 [details]
Sample cases
Comment 2 Dieter 2020-12-18 07:35:29 UTC
I confirm it with

Version: 7.1.0.0.beta1 (x64)
Build ID: 828a45a14a0b954e0e539f5a9a10ca31c81d8f53
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: threaded
Comment 3 LeroyG 2022-05-15 20:59:03 UTC
Reproducible with:

Version: 7.2.3.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 1; OS: Linux 5.3; UI render: default; VCL: gtk3
Locale: es-MX (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 4 LeroyG 2022-05-27 13:06:32 UTC
Reproducible with:

Version: 7.4.0.0.alpha1 (x86) / LibreOffice Community
Build ID: b871abad383583f02eb49c7e49aeae01f6941072
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: es-MX (es_MX); UI: es-ES
Calc: threaded
Comment 5 LeroyG 2024-01-07 16:49:49 UTC
Reproducible with:

Version: 7.5.9.2 (X86_64) / LibreOffice Community
Build ID: cdeefe45c17511d326101eed8008ac4092f278a9
CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: es-ES
Calc: CL threaded