Bug 158960 - HEADING NUMBERING DIALOG: Limitation number is not calculated for selected mesurement unit.
Summary: HEADING NUMBERING DIALOG: Limitation number is not calculated for selected me...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.4.1 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: Heading-Numbering-Dialog
  Show dependency treegraph
 
Reported: 2024-01-01 18:36 UTC by leceicer
Modified: 2024-08-24 20:32 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Step by step instructions as described in the report (27.58 KB, application/vnd.oasis.opendocument.text)
2024-01-01 18:40 UTC, leceicer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description leceicer 2024-01-01 18:36:49 UTC
Description:
Under "Tools/Heading Numbering" does Writer not calculate the the limiting values for "Tab stop at:" and "Indent at:" ackording to selected measurement unit under "Tools/Options/LibreOffice Writer/General.

Steps to Reproduce:
Open the attached document or an odt document of your choice.

1. Tools / Options / LibreOffice Writer General
2 Set ”Measurement unit” = millimetre
3. Set ”Tab stops” = 10
4. click: Ok

4.Tools / Heading Numbering
5. Set ”Tab stop at” = 20
6. Clic in ”Indent at”
7. ”Tab stop” changes to 17.00 millimetre (expected value =170 mm)
8 click: OK

9. Tools / Options / LibreOffice Writer General
10 Set ”Measurement unit” = centimetre
11 ”Tab stops” changes to 1 centimetre
12 click: OK

13.Tools / Heading Numbering
14. Set ”Tab stop at” = 20
15. Clic in ”Indent at”
16. ”Tab stop” changes to 17.00 centimetre (as expected)
17 click: OK

18. Tools / Options / LibreOffice Writer General
19 Set ”Measurement unit” = inch
20 ”Tab stops” changes to 0.39 inch
21 click: OK

22.Tools / Heading Numbering
23. Set ”Tab stop at” = 20
24. Clic in ”Indent at”
25. ”Tab stop” changes to 17.00 inches = (expected value = 6.69 inches)
26 click: OK

27. Tools / Options / LibreOffice Writer General
28 Set ”Measurement unit” = point
29.”Tab stops” changes to 28.4 pt
30 click: OK

31.Tools / Heading Numbering
32. Set ”Tab stop at” = 20
33. Clic in ”Indent at”
34. ”Tab stop” changes to 17.00 pt = (expected value = 4818,6 pt)
35 click: OK

Actual Results:
See above

Expected Results:
See above


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: sv-SE (en_SE); UI: en-GB
Calc: CL threaded
Comment 1 leceicer 2024-01-01 18:40:49 UTC
Created attachment 191687 [details]
Step by step instructions as described in the report
Comment 2 Dieter 2024-01-14 19:59:34 UTC
I confirm it with

Version: 24.2.0.1 (X86_64) / LibreOffice Community
Build ID: b4d45829793cddfe67b58a53f495528c75738d8a
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

But I think, first steps are sufficient to reproduce the problem:
1. Tools / Options / LibreOffice Writer General
2  Set ”Measurement unit” = millimetre
3. Set ”Tab stops” = 10 -> OK
4. Tools / Heading Numbering
5. Set ”Tab stop at” = 20
6. Click in ”Indent at”

Actual result:
"Tab stop” changes to 17.00 millimetre (and value can't be increased)

Expected result
Value in "Tab stop" is still 20.00 millimetre

Additional information
Works with 2,0 centimetre
Comment 3 Dieter 2024-01-14 20:03:07 UTC
Same in

Version: 6.3.6.2 (x64)
Build-ID: 2196df99b074d8a661f4036fca8fa0cbfa33a497
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: CL


But not with

Version: 5.4.7.2 (x64)
Build-ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU-Threads: 4; BS: Windows 6.19; UI-Render: GL; 
Gebietsschema: de-DE (de_DE); Calc: CL
Comment 4 raal 2024-01-15 17:21:40 UTC
(In reply to Dieter from comment #2)
> I confirm it with
> 
> Version: 24.2.0.1 (X86_64) / LibreOffice Community
> Build ID: b4d45829793cddfe67b58a53f495528c75738d8a
> CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL:
> win
> Locale: de-DE (de_DE); UI: en-GB
> Calc: CL threaded
> 
> But I think, first steps are sufficient to reproduce the problem:
> 1. Tools / Options / LibreOffice Writer General
> 2  Set ”Measurement unit” = millimetre
> 3. Set ”Tab stops” = 10 -> OK
> 4. Tools / Heading Numbering
> 5. Set ”Tab stop at” = 20
> 6. Click in ”Indent at”
> 
> Actual result:
> "Tab stop” changes to 17.00 millimetre (and value can't be increased)
> 
> Expected result
> Value in "Tab stop" is still 20.00 millimetre
> 
> Additional information
> Works with 2,0 centimetre

Cannot reproduce, maybe win only..
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 84a3401c28135735c7bbe324eb3642b31c7f26f5
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: x11
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 5 Buovjaga 2024-08-05 19:29:52 UTC
(In reply to Dieter from comment #2)
> I confirm it with
> 
> Version: 24.2.0.1 (X86_64) / LibreOffice Community
> Build ID: b4d45829793cddfe67b58a53f495528c75738d8a
> CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL:
> win
> Locale: de-DE (de_DE); UI: en-GB
> Calc: CL threaded
> 
> But I think, first steps are sufficient to reproduce the problem:
> 1. Tools / Options / LibreOffice Writer General
> 2  Set ”Measurement unit” = millimetre
> 3. Set ”Tab stops” = 10 -> OK
> 4. Tools / Heading Numbering
> 5. Set ”Tab stop at” = 20
> 6. Click in ”Indent at”
> 
> Actual result:
> "Tab stop” changes to 17.00 millimetre (and value can't be increased)
> 
> Expected result
> Value in "Tab stop" is still 20.00 millimetre
> 
> Additional information
> Works with 2,0 centimetre

No repro, please re-test.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 055c906d7b3f2e3709292d1410358d4e66a500ed
CPU threads: 2; OS: Windows 11 X86_64 (10.0 build 22621); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-GB
Calc: threaded
Comment 6 Dieter 2024-08-24 20:32:06 UTC
WORKSFORME with

Version: 24.8.0.3 (X86_64) / LibreOffice Community
Build ID: 0bdf1299c94fe897b119f97f3c613e9dca6be583
CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: default; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: CL threaded