Apache OpenOffice (AOO) Bugzilla – Issue 102091
aw065: 3D charts are broken by fix for issue 101680
Last modified: 2013-02-24 21:22:22 UTC
Tthe changes in svx in svdobj.cxx revision 271718 (preventing some recalculations when model is locked) for issue 101680 cause all 3D charts to be broken.
Armin, this regression should be fixed before CWS aw065 goes to QA. Let me know when I am supposed to change the Draw-API usage now.
AW: Checked if really the suppression when model is locked is the reason for 3D to disappear: Interestingly, it's not the suppression at SdrObject::RecalcBoundRect(), but the one at SdrObject::ActionChanged(). This is surprisong since during a model construction, no VOCs should exist and thus, executing ActionChanged() or not should not make a difference. Need to check what changes here, adding debug code to svx and drawinglayer... Also found an error in ScenePrimitive2D::get2DDecomposition; the local remembrance of the visible area does not work for the first run, corrected this.
AW: A lot of stuff is interfering here; IHA already talked about SdrOle2Obj::executeOldDoPaintPreparations() which calls GetGraphic() at the OLE and thus triggers a new model with chart to metafile rendering; it's also the fact that SdrObject::ActionChanged() resets the BoundRects at the VOCs. All in all i will need a more stable/cleanedup version to do more (e.g. create an OLE primitive which does not already have the Graphic, but holds the svt::EmbeddedObjectRef or needed stuff to get the Graphic in it's decompose and implements a getB2DRange() locally). For the moment i will just remove the suppression on model lock for SdrObject::ActionChanged().
AW: Okay, removed. 3D works as before for the moment.
AW->WG: Please verify. Test is just a simple 3D chart, save, load.
Verified in CWS.
Tested in m52. Closed.