To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=75008





------- Additional comments from [EMAIL PROTECTED] Tue Mar 20 10:16:54 +0000 
2007 -------
I don't think that there is a problem with DelFrms() during the insertion. But
when Undo is called afterwards I missed the DelFrms() for the table. I debugged
a little bit and noticed the following: when the Undo performs it calls the
SwSectionNode::DelFrms() in ndsect.cxx. Normally this should delete all content
of the section including the table which is part of section 1. But somehow the
table has escaped from the section and is not deleted correctly. And now I
noticed that the table background after insertion of my small bug document is
not gray, it's white! That's wrong because the background of section 1 is gray.
If you open the bug document you will see a gray table, if you insert the bug
document into an empty new document, the table is white!
What happens?
In the logical document structure the table is a part of section 1, but in the
layout structure the table frame is outside the section frame! When the section
frame is deleted, the table frame is not deleted which causes the trouble
afterwards.
The bug seems not to be the destruction, its the construction of the table
frame. We have to debug the SwTableNode::MakeFrms(), this function has to create
the SwTabFrm and to insert it at the right position in the layout structure. We
have to compare this situation in the working scenario (opening the bug
document) and the buggy scenario (inserting the bug document).

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to