Issue 36086

Summary: when a table is deleted, document is corrupted
Product: Writer Reporter: richlv <richlv>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.1.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
table & graph none

Description richlv 2004-10-25 12:23:25 UTC
see attached coument. select all rows of a table, choose row->delete. see how 
document becomes corrupted - empty pages are not removed, page order is mixed 
up, table is on portrait oriented page while landscape oriented page is empty 
and at the start of the document.
Comment 1 richlv 2004-10-25 12:23:54 UTC
Created attachment 18645 [details]
table & graph
Comment 2 michael.ruess 2004-10-26 08:24:03 UTC
MRU->OD: select the rows of the table on the whole first page and delete them
(so that ne page will be deleted). At the end of the document you will see, that
the page anchored object will not move up with its landscape page where it
originall was anchored to.
Comment 3 amouzgar 2006-01-26 23:04:24 UTC
I replicated the bug on a kernel 2.4.31 Red Hat machine using these 2 steps:

1- open “ptotal3.sxw†with ooffice 1.1.3 
2- select the entire table on the first page
3- choose 'row' (either through right click or Format menu) ---> 'Delete' 

As explained by mru the diagram on the last page does not move up along with the
other pages and in particular with the landscape one.

I found something interesting. If after step one we change the anchoring option
of the diagram from 'anchor to page' to 'anchor to paragraph' the problem would
not arise any more. 

For this I did the following after step 1:

1a- Click on the diagram on the last page so that it is selected and 
1b- Choose 'Anchor' (either through right click or Format menu) ---> 'to paragraph'

and then perform the rest of the steps 
Comment 4 amouzgar 2006-01-27 17:19:07 UTC
Correction: In the previous comment's first line, by 2 steps it was really meant
3 steps. sorry typing error.
Comment 5 Marcus 2017-05-20 11:21:47 UTC
Reset assigne to the default "issues@openoffice.apache.org".