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: 7.2.2.2 (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 Calc: CL 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" Result 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: https://git.libreoffice.org/core/+/bafd49fb4d72b6dbb10b2fea1386d295dc9d435c author Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> Sun Oct 14 22:55:25 2018 +0200 committer Björn Michaelsen <bjoern.michaelsen@libreoffice.org> Mon Oct 15 21:56:55 2018 +0200 tdf#118049 tdf#118833 tdf#118725: Fix some SwDepend regressions Adding CC to: Björn Michaelsen
Bjoern Michaelsen committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/2aed71fa9e8a36ff2dc9f48897092c26ab89ea9e tdf#144939: fix chapter numbering updates It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Bjoern Michaelsen committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/cb43334ee9938d7b8e250f9ddbdc81e53779f8d0 tdf#144939: fix chapter numbering updates It will be available in 7.4.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** This bug has been marked as a duplicate of bug 134294 ***
Bjoern Michaelsen committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/84fde6fb3151aae8506fc66554a4fa2983127e87 tdf#144939: fix chapter numbering updates It will be available in 7.3.7. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
VERIFIED with Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 8991cbb7986d3967bc6c3719d95254ff04428d1a CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL threaded Björn, thanks for fixing it!