Bug 76259 - EDITING: Undo: Tables vs numbered list
Summary: EDITING: Undo: Tables vs numbered list
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
Whiteboard: BSA
Depends on:
Blocks: Undo-Redo
  Show dependency treegraph
Reported: 2014-03-17 11:12 UTC by Dr. David Alan Gilbert
Modified: 2019-04-29 11:41 UTC (History)
0 users

See Also:
Crash report or crash signature:

A document with a table and numbered list (12.34 KB, application/vnd.oasis.opendocument.text)
2014-03-17 11:12 UTC, Dr. David Alan Gilbert

Note You need to log in before you can comment on or make changes to this bug.
Description Dr. David Alan Gilbert 2014-03-17 11:12:32 UTC
Created attachment 95925 [details]
A document with a table and numbered list

Problem description: 
Undoing an (accidental) paste of a table into a numbered list leaves the list with one extra entry

Steps to reproduce:
1. Start with attached simple example
2. Copy the whole table (Go to the top left corner, when the mouse pointer turns into right pointing diagonal click, Edit->copy)
3. Click after the 2 before Another heading - so the cursor is flashing just after that 2
4. Edit->Paste - table appears before the heading (reasonable?)
5. Ctrl-z to undo

Current behavior:
I see the result as:
  1 Heading!
    the table
  2 <a blank entry>
  3 The heading that was originally 2

There are no more undo steps available, and closing the document doesn't ask me to save.

Expected behavior:
  Exactly as it was prior to the paste - i.e. the last numbered entry should be 2
Operating System: Fedora
Version: release
Comment 1 Dominique Boutry 2014-03-27 08:50:17 UTC
Reproduced with LibO on Win7.

The "list" is the document outline. Before the paste, there are already 3 entries, from which the second one has a "no numbering" direct attribute. The copy occurs on a table which resides on this heading component (the second one).

The paste copies it in the third one, which become corrupted at this point (the "outline numbering" is no longer at the beginning of the component, it is interverted with the copied table).

It is therefore not surprising that the undo be unable to restore the previous situation. Set to NEW
Comment 2 Joel Madero 2015-05-02 15:44:18 UTC Comment hidden (obsolete)
Comment 3 Dr. David Alan Gilbert 2015-05-05 10:24:05 UTC
Still present in (Fedora 22 x86-64)
Comment 4 QA Administrators 2016-09-20 09:37:56 UTC Comment hidden (obsolete)
Comment 5 Dr. David Alan Gilbert 2016-09-20 09:53:47 UTC
Still present in libreoffice- (Fedora 24, x86-64)
Comment 6 QA Administrators 2018-04-22 02:32:24 UTC Comment hidden (obsolete)
Comment 7 Dr. David Alan Gilbert 2018-04-23 09:11:16 UTC
Still present in 
Build ID:

(Fedora 28's libreoffice- package)
Comment 8 QA Administrators 2019-04-24 02:49:36 UTC Comment hidden (obsolete)
Comment 9 Dr. David Alan Gilbert 2019-04-29 11:41:20 UTC
Still present in:
Fedora 30's build