Issue 111410

Summary: 3D elements in 3D charts cannot be selected anymore
Product: General Reporter: IngridvdM
Component: chartAssignee: wolframgarten
Status: CLOSED FIXED QA Contact: issues@graphics <issues>
Severity: Trivial    
Priority: P3 CC: issues, wolframgarten
Version: 3.3.0 or older (OOo)Keywords: regression
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
simple example with few elements showing the problem none

Description IngridvdM 2010-05-05 18:47:42 UTC
Create a 3D chart or load the attached document and double click the chart. With
the mouse click on a region with a 3D data point e.g. the blue cube in the document.
-> The blue data series should be selected. But this is not possible anymore
with dev300m76.
Comment 1 IngridvdM 2010-05-05 18:49:59 UTC
Created attachment 69321 [details]
simple example with few elements showing the problem
Comment 2 IngridvdM 2010-05-05 18:53:12 UTC
Until dev300m75 method SdrView::PickObj has returned a 3D object in this case.
This is broken now. Maybe caused by fix for issue 107987.
Comment 3 Armin Le Grand 2010-05-06 16:40:10 UTC
AAW: Happens as described, need to debug. Added to CWS aw081.
Comment 4 Armin Le Grand 2010-05-10 11:25:18 UTC
AW: Base reason is that GetCurrentBoundRect() for sub-scenes returns
(0,0,100,100) which is some pre-fill value, but not the correct one. When
forcing to re-evaluation, all works well. Thus, looks line an initialisation
problem. Looking further...
Comment 5 Armin Le Grand 2010-05-10 12:35:59 UTC
AW: Compared DEV300m75 and m77, probable reason is the addition of
SetBoundRectDirty to E3dScene (and to SdrObjGroup, but no problem there).
Checking reason of addition (probably the old hack that aOutRect is model data
for directly from SdrObject derived objects...)...
Comment 6 Armin Le Grand 2010-05-10 12:46:08 UTC
AW: Indeed, added with aw079 and #i99147#. Used to get around that model data
hack from ancient times. For charts which use 3D scenes as 3D groups and not
only as 2D object for 3D visualisation, that change went too far. For scenes
used as groups, the BoundRect has to be resetted.
Unfortunately this state cannot be reached by changing the chart slightly (e.g.
moving a small amount which would also reset the buffered ranges) since chart
re-creates all it's geometry immediately which again leads to the problem.
It should work when only not resetting for 3D scenes used for 2D visualisation.
Testing...
Comment 7 Armin Le Grand 2010-05-10 12:48:27 UTC
AW: Works as expected, commited, done.
Comment 8 Armin Le Grand 2010-05-28 11:39:08 UTC
AW: Checked in CWS aw081, works as expected.
AW->WG: Please verify.
Comment 9 wolframgarten 2010-06-02 10:08:27 UTC
Verified in CWS.