Bug 113877 - Importing a document with numbered bullet points messes up numbering
Summary: Importing a document with numbered bullet points messes up numbering
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.2.0.4 release
Hardware: All All
: medium normal
Assignee: Serge Krot (CIB)
URL:
Whiteboard: target:6.1.0 target:6.2.0 target:6.1.0.1
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-16 12:22 UTC by Andreas Brandner (CIB)
Modified: 2019-12-08 08:07 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Test document to reproduce the issue (8.38 KB, application/vnd.oasis.opendocument.text)
2017-11-16 12:24 UTC, Andreas Brandner (CIB)
Details
video showing not working (538.43 KB, video/mp4)
2018-10-22 13:52 UTC, BogdanB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Brandner (CIB) 2017-11-16 12:22:31 UTC
Description:
If I have a document in Writer, which contains a numbered bullet-list and I insert another document, which consists of another numbered bullet-list, the resulting list will have incorrect numbering. This however only happens, if the imported document has an "empty" bullet point at the end, like this:

1. Some
2. Thing
3.

Steps to Reproduce:
1. Open the attached document "bullet-numbering-error.odt
2. Move the cursor to "4."
3. Insert > Document > "bullet-numbering-error.odt"

Actual Results:  
The list looks like this:

1. One
2. Two
3. Three
4. One
5. Two
6. Three
7. 

Expected Results:
The list should look like this:

1. One
2. Two
3. Three
4. One
1. Two
2. Three
5. 


Reproducible: Always


User Profile Reset: Yes



Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Comment 1 Andreas Brandner (CIB) 2017-11-16 12:24:20 UTC
Created attachment 137807 [details]
Test document to reproduce the issue
Comment 2 Commit Notification 2017-12-28 00:41:43 UTC
Serge Krot committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=864ab0502a4d3506413451e8c545144c6c15d777

tdf#113877 Insert document: merge two lists into one

It will be available in 6.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2018-01-15 21:23:30 UTC
Serge Krot committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=311ea730cb225bca167af2e4111445608a14a263

tdf#113877 Insert document: merge two lists into one

It will be available in 6.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Commit Notification 2018-06-24 23:08:37 UTC
Serge Krot committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=baf3cec77db5f03200c038101e77720fae2ffba3

tdf#113877 Insert doc: merge list into text with specifc style

It will be available in 6.2.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Commit Notification 2018-06-25 14:12:29 UTC
Serge Krot committed a patch related to this issue.
It has been pushed to "libreoffice-6-1":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=03a4d74e3d7f10313b034cc8325dc9a87aa6721d&h=libreoffice-6-1

tdf#113877 Insert doc: merge list into text with specifc style

It will be available in 6.1.0.1.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 BogdanB 2018-10-22 13:52:31 UTC
Created attachment 145906 [details]
video showing not working

I tested on 6.2. It is not working as is should. My list is showing me:

    1. One
    2. Two
    3. Three
    4. One
    5. Two
    6. Three
    7. 


Version: 6.2.0.0.alpha0+
Build ID: 3846561f79cf9065abd9ca83c9fbfbe7e52e28e2
CPU threads: 4; OS: Linux 4.15; UI render: GL; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2018-10-21_02:45:54
Locale: en-US (ro_RO.UTF-8); Calc: threaded