https://bugs.documentfoundation.org/show_bug.cgi?id=158227

            Bug ID: 158227
           Summary: Broken undo log with multiple columns and table at the
                    page beginning
           Product: LibreOffice
           Version: 7.6.2.1 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
The redo log seems to be broken, if the page layout has 2 cols and a table at
the page beginning is inserted a col break in the first cell.

Steps to Reproduce:
On an empty document:

1. Apply "Columns: 2" to the "Default Page Style"
2. insert table (Ctrl+F12 and Return)
3. insert col break (Ctrl+Shift+Return) (seemingly nothing happens)
4. insert new paragraph (Return)
5. insert col break (Ctrl+Shift+Return) 
6. remove first line (Del Key)


The dashed line (which indicates a column break) is also hidden here (But
already covered in another issue:
https://bugs.documentfoundation.org/show_bug.cgi?id=158189). But now the
undo/redo log seems to be broken. The following actions are displayed when you
move the mouse pointer over the undo button after performing each of the above
actions.

1. Undo: Change style: Default Page Style
2. Undo: Insert table: "Table1"
3. Undo: Change style: Table1
This logged action seems wrong to me.
4. Undo: New Paragraph
5. Undo: Insert column break
6. Undo: Delete Paragraphs


Pressing the undo button from the toolbar (or Ctrl+Z, similar), the following
things happen:

1. Undo: Delete Paragraphs
The Table moves to the third col, the man. col break appears above the second
col, the removed pilcrow appears on the second col (Formatting Marks shown).
2. Undo: Insert column break
The Table moves back to the second col, the man. col break disappears, the
pilcrow disappears.
3. Undo: New Paragraph
The table moves to the first page.
4. Undo: Change style: Table1
seemingly nothing happens
5. Undo: Insert table: "Table1"
The table disappears
6. Undo: Change style: Default Page Style
The Document changes to one column.


Redo the undone things results in another result than before:
6. Redo: Change style: Default Page Style
The Document changes to two columns.
5. Redo: Insert table: "Table1"
The table appears
4. Redo: Change style: Table1
seemingly nothing happens
3. Redo: New Paragraph
The table remains on the first page and moves one line down
2. Redo: Insert column break
The Table moves to the second col, second line, and the col break dashed line
is shown
1. Redo: Delete Paragraphs
The Table moves back to the first col, the dashed line goes away

Actual Results:
The Table is on the first with an empty line above.

Expected Results:
The Table should be on the second col without an empty line above.


Reproducible: Always


User Profile Reset: No

Additional Info:
By "undo log" I mean the thing that records the actions performed so that they
can be undone. Is that the name of it, undo log?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to