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





------- Additional comments from a...@openoffice.org Tue Sep  7 15:01:57 +0000 
2010 -------
AW: In SW (0) is hell layer, (1) is heaven and (2) is control layer. When
constructing such a group (case A) initially the rect and the control are on
layer (2) (probably since some 'code' in grouping in SW does so ?!?). After
reload (case B) , rect is on (1) and control is on (2), as it should be.
The visibility test for VOCs (ViewObjectContactOfSdrObj::isPrimitiveVisible)
uses rObject.GetLayer() to check if the object is visible in this layer paint.

In case (A) the rectangle and the control get both painted in the FormLayer
repaint which is not correct, but works.

In case (B) the SdrObjGroup::GetLayer() implementation returns zero since the
childs have different LayerIDs. Thus, the group is handled in hell layer
repaint. Nothing is painted since the repaint also checks the
::isPrimitiveVisible calls for the single members.

Both is wrong, but it worked in previous versions, so something must have
changed which makes the already wrong behaviour in both cases now break in the
2nd case. Would it be better to find out why this ever worked or to risk to
correctly do it now...? Looking further...

---------------------------------------------------------------------
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: issues-unsubscr...@dba.openoffice.org
For additional commands, e-mail: issues-h...@dba.openoffice.org

Reply via email to