Apache OpenOffice (AOO) Bugzilla – Issue 29211
flickering charts using OO-Basic API access
Last modified: 2013-02-24 21:19:30 UTC
When I try to edit the data of a chart (embedding in a text-document) using a Basic macro, the chart update correctly, but then appears to "flicker" at a ~1Hz rate. It looks like teh chart is being re-drawn every second. The flickering only stops when you double click the chart, to open it as an OLE object, then click outside again. I've attached a file to demonstrate this. It contains a single chart and two buttons which call a couple of macros to set the chart data. Note however, there another side to this problem: sometimes, when I click the buttons, nothing happens: the charts do not update at all. Maybe I've missed something in the API, but this looks like a bug. Bryan
Created attachment 15280 [details] demo of chart flickering, after changing data via basic macro
SW->BM: I couldn't reproduce the flickering Bryan talked about, but I was able to reproduce the second thing mentioned: "when I click the buttons, nothing happens: the charts do not update at all" the chartdata changes as you can see when you look at it in the UI, but the visible representation doesn't
set target
It's true, if you open the file directly, the button do "nothing". To get the "flickering" behaviour, you need to edit some part of the file (e.g. slightly resize the chart) then hit Save. After this (some some inexplicable reason!), the buttons do indeed change the visible data in the chart, accompanied by the flickering behaviour. Note, I'm running OOo-1.1.1 on Linux (in case it makes a difference). Bryan
could not be reproduced for 680 builds. I strongly propose setting this to WONTFIX, it's something not really important, as it takes a lot of specific steps to reproduce.
Checking OOo 2.4 release candidate 2 (ooh680m8) all works fine, so I set this to fixed now.
Maybe someone can verify and close? You can download a release candidate for OOo 2.4 here: http://download.openoffice.org/680/?intcmp=1461
Also verified in SRC680.m12 (OOo 2.4 code-line) and DEV300.m11 (OOo 3.0 code-line)
Closing as verified in master version