Issue 103224

Summary: 3D charts are not re-rendered after zoom
Product: General Reporter: andreschnabel <andre.schnabel>
Component: chartAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: IngridvdM, issues
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
sample with two times the same chart activated at different zoom levels none

Description andreschnabel 2009-06-30 20:11:51 UTC
If a 3D diagramm is zoomed after de-activation the representation will not be
rendered again - instead the previously rendered representation image is zoomed.
This might lead to very ugly charts.

TO reproduce:
- create a 3D pie chart in any document and leave the chart
- zoom the document to minimum zoom
- activate the chart and leave it again
- zoom the document to maximum 

-> the Chart is not rendered to the new zoom level. You will get some colored
blots instead.


See attached document as example.
Comment 1 andreschnabel 2009-06-30 20:14:02 UTC
Created attachment 63294 [details]
sample with two times the same chart activated at different zoom levels
Comment 2 Armin Le Grand 2009-07-02 16:10:38 UTC
AW: This has nothing to do with 3D, but more with MetaFiles. These cannot
transport 3D, thus the 3D Scene is added as a Bitmap. This behaviour is used for
all OLEs, but - of course - gets only visible with bitmap-metafile-action based
stuff.
AFAIK this is intended behaviour for the chart and works as designed; IHA once
tried to re-render chart OLEs every time, but for large charts this is simply
too expensive. Nonetheless, it's re-rendered where needed, e.g. PDF export and
printing. IHA surely can comment more, setting her to cc...
Comment 3 IngridvdM 2009-07-02 16:45:08 UTC
I would not call this intended behavior. It is an unwanted negative side effect
of the necessity to use bitmaps for 3D scenes in meta files for general OLE
handling - as you have described above.
So far a workaround for this problem have been too expensive. I still think that
it will be too expensive to recreate the chart for each inbetween state of
continues zooming. But maybe we can force a recreation of the charts metafile on
a timer basis...

Comment 4 andreschnabel 2009-07-02 21:59:13 UTC
yes, timer might be the way to go. (I perfectly  understand the performance issue)

The user who reported this to me initially reported this exporting a chart from
draw to a .jpg (or any other graphic). This could even be resolved by
re-rendering before export (just like for pdf or printing).