Issue 105439

Summary: Invalid dynamic chart display
Product: General Reporter: rebelxt <dw.rebelxt>
Component: chartAssignee: spreadsheet <spreadsheet>
Status: CLOSED DUPLICATE QA Contact: issues@graphics <issues>
Severity: Trivial    
Priority: P3 CC: IngridvdM, issues, rainerbielefeld_ooo_qa
Version: 3.3.0 or older (OOo)Keywords: oooqa
Target Milestone: ---   
Hardware: Unknown   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Test case to demonstrate invalid chart display none

Description rebelxt 2009-09-28 21:46:49 UTC
A Calc macro that dynamically creates a chart worked in Calc 2.4.  In 3.1, it
caused a program crash; that defect has been fixed in Dev300m60.  Now the
correct chart is displayed about half the time.  The other times, a default bar
chart, not showing the supplied data, is displayed.

This failure is being demonstrated on Windows 7 RC running in VirtualBox on a
Windows XP host.  Any platform running Calc 3.0 or 3.1 gets the program crash. 
Calc 2.4 on an Ubuntu 8.10 platform will not fail.

To demonstrate the problem, enable macros, load the attached test case, and
click on the "Run macro" button.  If the line chart is displayed, click the
chart once, and delete it with the Delete key; then click the button again.  On
occasion, this has to be done several times to see the failure.  It has never
taken as many as six tries.
Comment 1 rebelxt 2009-09-28 21:49:11 UTC
Created attachment 65029 [details]
Test case to demonstrate invalid chart display
Comment 2 Rainer Bielefeld 2009-09-29 06:08:55 UTC
I checked with "Ooo Dev 3.2.0 multilingual version German UI WIN XP: [DEV300m60
(Build 9425)]" and can confirm the reported effect. 
With 2.4.1 in 40 macro runs I never saw the bar chart, whith 3.2. I saw it
several times during 40 tests.

My Basic knowledge is too poor to decide whether it's a bug or wrong code in the
macro, but because there was no problem with 2.4, I believe it's a bug.
Comment 3 IngridvdM 2010-02-04 17:40:19 UTC
This problem was caused by issue 104867 (chart display did not update anymore
properly). That issue was fixed in dev300m66.
I can reproduce the described problem in dev300m65 but in dev300m67 it has vanished.
->setting to duplicate

*** This issue has been marked as a duplicate of 104867 ***
Comment 4 Mechtilde 2010-03-04 18:38:22 UTC
duplicate -> closed