Issue 109113 - Inserting file containing a numbered list messes up numbering
Summary: Inserting file containing a numbered list messes up numbering
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 3.1.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: numbering
Depends on:
Reported: 2010-02-10 16:04 UTC by Daniel Benkmann
Modified: 2017-05-20 11:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

test document to demonstrate bug; see issue desription (7.44 KB, application/vnd.oasis.opendocument.text)
2010-02-10 16:07 UTC, Daniel Benkmann
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Daniel Benkmann 2010-02-10 16:04:22 UTC
Steps to reproduce:

Step 1: Open attached file insert_numbering_bug.odt. The file contains the
following numbered list:
  1. One
  2. Two
  3. Three

Step 2: Move cursor to "4."
Step 3: Use "Insert->File..." to insert the file insert_numbering_bug.odt.

The result is the following list:
  1. One
  2. Two
  3. Three
  4. One
  1. Two
  2. Three

This is obviously not what you would expect. Especially the "5." at the end.
Comment 1 Daniel Benkmann 2010-02-10 16:07:45 UTC
Created attachment 67730 [details]
test document to demonstrate bug; see issue desription
Comment 2 Joe Smith 2010-02-10 17:25:01 UTC
This problem only affects lists made with the toolbar buttons. If you number the
items by applying a list style, e.g. "Numbering 1" under the "List Styles"
category, then following the steps you describe works as expected.

This is because each list created by toolbar buttons is numbered distinctly,
whereas all lists using the same list style will be numbered as one sequence
unless the user manually restarts it.

You can see the two distinct lists in your result document if you click in the
page margin to the left of item 1: the labels 1, 2, 3, 4 and 5 are highlighted;
the other two are not--they belong to a different list.

I believe the underlying situation here is covered by Issue 69459, which would
change the toolbar buttons to apply a named list style.

For help in using OOo, please use the mailing list or forum:
Comment 3 michael.ruess 2010-02-11 15:30:20 UTC
MRU->OD: Having a numbered list as described, and appending a file, which
consists of a list, to the list will create a new list inside the existing one.
Comment 4 Marcus 2017-05-20 11:24:15 UTC
Reset assigne to the default "".
Comment 5 Marcus 2017-05-20 11:25:40 UTC
Reset assigne to the default "".