Bug 120358 - Long multi-layered numbered list in a table became mis-ordered after some editing
Summary: Long multi-layered numbered list in a table became mis-ordered after some edi...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
Keywords: bibisectRequest, regression
Depends on:
Blocks: Writer-Tables Bullet-Number-Outline-Lists
  Show dependency treegraph
Reported: 2018-10-06 03:53 UTC by Franklin Weng
Modified: 2021-12-29 14:10 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Problematic odt file (40.92 KB, application/vnd.oasis.opendocument.text)
2018-10-06 03:54 UTC, Franklin Weng
The original doc file (90.00 KB, application/msword)
2018-10-06 03:55 UTC, Franklin Weng
Desktop recording (2.95 MB, video/webm)
2018-10-06 03:57 UTC, Franklin Weng

Note You need to log in before you can comment on or make changes to this bug.
Description Franklin Weng 2018-10-06 03:53:18 UTC
I just experienced a series of Writer crashing, anonymous report starting from UUID: 27bd50d1-04d4-4b38-a70b-8f31ca3b6fa0, all the same system information:

Version	Version:
OS	linux
OS details	0.0.0 Linux 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64
Build Architecture	amd64
CPU Info	family 6 model 69 stepping 1
Crash Reason	SIGSEGV
Crash Address	0x621600004e9d
Crash Thread	0

All the crashes happened during I re-format the long multi-layered numbered list in the first column of the second table.

The display (rendering) "bumped" every time I changed a line, then after some time it crashes.

After trying hard to make things done, saved and reopened, and tried to re-organize the numbered item, the layer will become mis-ordered.

(Desktop recording attached later)

Steps to Reproduce:
1. Open the odt file.
2. In the second table, around item (八)、(九)、(十), put the cursor in front of (九), hit the Backspace to attached after the item (八), then hit Enter to go back.
3. Do the same to (十) to attached after the item (九), then you can see the numbered 7. (under (七)) became mis-ordered.

Actual Results:
Item (七) 7. became mis-ordered.

Expected Results:
Item (七) 7. should stay where it was.

Reproducible: Always

User Profile Reset: No

Additional Info:
It looks like something not handling well with long, multi-layer numbered list positioned in a table.

The original file is a .doc file, but I cleared all the format before re-formatting, set up the numbered list properties, then did the re-format.
Comment 1 Franklin Weng 2018-10-06 03:54:11 UTC
Created attachment 145425 [details]
Problematic odt file

Please try with this odt file.
Comment 2 Franklin Weng 2018-10-06 03:55:29 UTC
Created attachment 145426 [details]
The original doc file

For reference.  I opened this file with LibreOffice 6.1.1, cleared all the format, and then saved as odt file then re-formatted it.
Comment 3 Franklin Weng 2018-10-06 03:57:40 UTC
Created attachment 145427 [details]
Desktop recording
Comment 4 Buovjaga 2018-10-31 17:52:09 UTC
Repro while doing the same steps as in the video. In my case it was 6. that moved.

I cannot repro on Windows.
I did not repro with Linux 50max bibisect repo.

By the way, if you undo back to the beginning, do you get a crash?

In 6.2, having experimental features enabled, the document crashes on opening. I suspect it will be fixed with https://bugs.documentfoundation.org/show_bug.cgi?id=120991#c9

Arch Linux 64-bit
Build ID: 45d8fb0ba77396b7d5e02c2fc9a8ae5b233a02bc
CPU threads: 8; OS: Linux 4.18; UI render: default; VCL: gtk3_kde5; 
Locale: fi-FI (fi_FI.UTF-8); Calc: threaded
Built on 31 October 2018
Comment 5 QA Administrators 2019-11-01 03:37:10 UTC Comment hidden (obsolete, spam)
Comment 6 Ezinne 2021-12-29 14:07:21 UTC
The original bug is not reproducible in:

Version: / LibreOffice Community
Build ID: 9e8c1da64fa8a520730ce0aea0f7199cd75c892f
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

However, after I press the backspace, and ENTER key, I do not get back the numbering.
I have to press the ENTER key twice to get the Chinese numbering, but this creates an empty line as well.