Created attachment 175533 [details]
Screenshot showing bad numbering
I had a long document with itemized lists at different levels.
To structure the list, I decided to add headers of level 1 and 2.
Surprisingly, when adding a level-2 header, the "next" number was completely unexpected. See screenshot.
Saving and loading the document fixed the numbering, however.
I suspect that a "continue numbering" setting from a list item was "inherited" to the heading paragraph somehow, using the item number of the list as heading number (which is totally insane, of course).
Created attachment 175534 [details]
Screenshot showing correct numbering after reload
Created attachment 175535 [details]
PDF document being exported also has the wrong number in it
Created attachment 175537 [details]
Sample ODT document that was used to demonstrate the problem
One more comment: In the original document version te "step" was more drastic, like 1.90 following 1.2, but for the sample I had removed most of the items.
I confirm it with
Version: 126.96.36.199 (x64) / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Steps to reproduce
1. Open attachment 175537 [details]
2. Put cursor after "nichts Gutes" (before 1.4)
3. Press enter
4. Change paragraph style to "Heading 2"
Numbering 6.1 appears instead of 1.4
5. Save and reload => 6.1 changes to 1.4
I had this allso several times in different documents; very annoying.
Seems to be a regression in 6.2, started with:
author Bjoern Michaelsen <firstname.lastname@example.org> Sun Oct 14 22:55:25 2018 +0200
committer Björn Michaelsen <email@example.com> Mon Oct 15 21:56:55 2018 +0200
tdf#118049 tdf#118833 tdf#118725: Fix some SwDepend regressions
Adding CC to: Björn Michaelsen