Issue 51328 - Paste table then undo destroys preceeding paragraph style
Summary: Paste table then undo destroys preceeding paragraph style
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 2.0 Beta
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-29 00:00 UTC by kpvdr
Modified: 2013-08-07 14:38 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description kpvdr 2005-06-29 00:00:49 UTC
If a table is pasted between two paragraph styles, then on undo, the style of
the preceeding paragraph style is changed to that of the following paragraph style.

Occurs on OpenOffice 1.9.109 on RHEL4 and WindowsXP.

Steps to reproduce:
1. Create new document.
2. Type 2 paragraphs (one word each OK)
3. Make first paragraph style Heading 1 (via F11)
4. Move cursor to before first char of 2nd paragraph, then insert table
(Ctrl+F12; use defaults, click OK). This inserts table before 2nd paragraph.
5. Copy table by highlighting all cells, then copy (Ctrl+C).
6. Undo table insertion (Ctrl+Z). The table disappears, this works OK.
7. Paste table (Ctrl+V) at same location.
8. Undo paste (Ctrl+Z). The table disappears, and first paragraph becomes
default style (i.e. it loses its Heading 1 style)
Comment 1 michael.ruess 2005-06-29 11:27:21 UTC
MRU->HBRINKM: do the steps as described and see the first paragraph lose its
format when undoing the paste of a table.
Comment 2 openoffice 2008-11-24 15:06:42 UTC
ama took over undo
Comment 3 enpizafapw 2010-11-10 16:51:09 UTC
Created attachment 73308