Issue 112838

Summary: Pasting numbered list adds numbering to sub-content
Product: Writer Reporter: dalez <drebgetz>
Component: editingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC:, issues
Version: OOo 3.2Keywords: needmoreinfo, oooqa
Target Milestone: 3.4.0   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Description Flags
Sample numbered list to demonstrate the problem none

Description dalez 2010-07-01 07:38:57 UTC
OOo 3.2 fixed a genuine problem wrt pasting numbered lists. See Issue 86492.
The fix has however introduced what I believe is unintended behaviour which is
causing me more grief than the original problem.
The new behaviour has already been described here
and in Issue 110110.

The problem reported in Issue 110110 is Closed (Won't fix) because it works as
per the specification - and it basically does, at least for simple examples.

I believe the specification needs additional clarification for more complex
situations. Let me explain.

Consider two lists:
1. itemA
2. itemB
3. itemC

1. itemD
2. itemE
3. itemF

If itemE is pasted into the first list in front of itemB, the intended result is:
1. itemA
2. itemE
3. itemB
4. itemC

and OOo 3.2 does this correctly.

Now consider these two lists:
1. itemA
2. itemB
3. itemC

1. itemD
2. itemE
 (a) sub-itemA
 (b) sub-itemB
3. itemE

If all of itemE is pasted into the first list in front of itemB, the intended
result (as produced by OOo 3.1) is:
1. itemA
2. itemE
 (a) sub-itemA
 (b) sub-itemB
3. itemB
4. itemC

But OOo 3.2 produces:
1. itemA
2. itemE
3. sub-itemA
4. sub-itemB
5. itemB
6. itemC

i.e. the numbering style at the insertion point is being applied to the whole
paste buffer contents, over-riding all pre-applied numbering including "no
Furthermore, if a sub-item includes a table, the numbering is propagated through
every cell in the table!!! Hardly what was intended.

The relevant part of section 7.8 of specification is:
Clipboard content: Part/complete numbering and other paragraphs
Pasted Within a Numbering/Bullet list: Extend target numbering (Formatted text only)

I find the specification lacking in clarity when it comes to my second example,
particularly the meaning of "Extend target numbering".

For pasting style-formatted data within an existing list...
The OOo 3.1 interpretation is "Adjust the numbering so the new data is part of
the existing list".
The OOo 3.2 interpretation is "Apply current numbering style to all of the new
data, regardless of whatever numbering may or may not already be applied to it".

The former interpretation is more likely to produce the results the user is

Certainly there were other pasting situations were OOo 3.1 was broken, but
pasting complex data into an existing list was not one of of them.
Comment 1 michael.ruess 2010-07-01 08:44:27 UTC
This is already fixed in OOo 3.3. Try out with DEV300m83 or DEV300m84 build from
the download page.
Comment 2 michael.ruess 2010-07-01 08:45:41 UTC
Closed, has been also fixed by issue 111677.
Comment 3 dalez 2010-07-02 01:40:44 UTC
Please re-read my bug report.
I have checked DEV300m84 and the problem I am reporting still exists.
Comment 4 michael.ruess 2010-07-02 07:47:02 UTC
Your description is slightly confusing. It is very long and you describe more
than one problem. Please read the issue handling guidlines before you submit an
Please attach a samplöe document to this issue, tell us what you exactly copy to
clipboard and where you paste it. I tried to create a document by myself based
on your description, but the problem did not occur. So please attach YOUR sample
Thaknks for your patience.
Comment 5 dalez 2010-07-02 13:59:11 UTC
Created attachment 70367 [details]
Sample numbered list to demonstrate the problem
Comment 6 dalez 2010-07-02 14:02:50 UTC
I had tried to make myself clear but obviously I failed :(
Hopefully the supplied example document will help.
Comment 7 michael.ruess 2010-07-02 14:44:35 UTC
OK, thank you for the good sample document. With this the problem is now

MRU->OD: open the attached document, select paragraph 2.1. including the
paragraph break to 2.2 (as displayed in the image in the document), copy to
clipboard, place Cursor at the beginning of paragraph 2. and paste.
You will see, that wrong list properties have been applied. The two (bullet-)
subpoints are in the wrong level and the paragraphs in the table are also numbered.
OOo 3.1.1 worked correctly.
Comment 8 Marcus 2017-05-20 11:35:08 UTC
Reset assigne to the default "".