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


User aw changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |STARTED
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Wed Jan 17 02:36:26 -0800 
2007 -------
AW: Tried with newly created group -> works.
AW: Tried with document -> crashes.
AW: Investing. Basic cause is that in SdrEditView::MergeMarkedObjects() pInsOL
stays on zero. That again happens since after ConvertMarkedToPathObj() the
selection is empty. This again happens since the used
SdrEditView::ImpConvertTo(...) calls AdjustMarkHdl(). There,
SdrMarkView::CheckMarked() is used:
One of the criterias for CheckMarked() to remove an object from the selection 
is:               

bRaus=bRaus || pPV->GetLockedLayers().IsSet(nLay) ||  // Layer gesperrt?
                                           
!pPV->GetVisibleLayers().IsSet(nLay);  // Layer nicht sichtbar?

This means: If the Layer is locked or not visible, the object is removed from
the selection. This is in priciple thought for the active edit mode.
Looking into the Layout layer of the document shows: Indeed, the layer is
locked. Unlocking it shows that this is the reason, no problems there.

AW: What to do?
(a) A first step to secure the code is to check the selection (if empty) in
SdrEditView::MergeMarkedObjects(...) to do nothing useless/wrong when selection
is empty.
(b) Another question is: When the layer is locked (for one or more of the
selected objects), should'nt the execution of changing methods like this be
prevented in principle?


---------------------------------------------------------------------
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