Issue 91055 - [CWS cmcfixes46] Chart empty after saving and editing
Summary: [CWS cmcfixes46] Chart empty after saving and editing
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-25 14:49 UTC by eric.savary
Modified: 2013-02-24 21:20 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
sample document (15.15 KB, application/vnd.oasis.opendocument.spreadsheet)
2008-07-19 17:14 UTC, eric.savary
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description eric.savary 2008-06-25 14:49:13 UTC
The automated tests on CWS cmcfixes46 have revealed a regression in Chart.
Windows and Linux:
- new Calc doc
- enter some numbers in cells
- create a chart from these cells
- save
- reload
- edit the chart
-> the Chart display vanishes, the Chart frame is empty.

@CMC: from the summary of your fixes I don't see what could have impacted
Chart... Fact is that the master doesn't have this issue.
Comment 1 caolanm 2008-06-26 09:08:16 UTC
That sounds a little weird, but perhaps the creation of the metafile for display
hooks into this stuff a little and that's the problem.

Might be a little time before I get a chance to look at this :-(
Comment 2 caolanm 2008-07-14 15:30:27 UTC
I see that this problem is reported to affect both cmcfixes46 and cmcfixes47.
And if I build DEV300_m24 vanilla then I also see the problem. But if I build
the one file chart2/source/model/filter/XMLFilter.cxx with optmization disabled
(gcc-3.4.4 on a FC-3 chroot in an attempt to be as low baseline as possible)
then vanilla's DEV300_m24 problem goes away. The problem occurs in the export of
a chart.

cmc->es: Did this export problem actually happen under windows as well ?
Comment 3 eric.savary 2008-07-14 15:36:18 UTC
As stated in the description: yes! :) :(
Comment 4 caolanm 2008-07-15 14:37:19 UTC
odd, well anyway. I resynced, and built in the buildbot a windows version and a
local linux version and updated the installsets on
ftp://qa-upload.services.openoffice.org/cmcfixes46/

Installed on fc3 chroot (linux) and windows (xp under qemu) the problem doesn't
appear.
Comment 5 caolanm 2008-07-15 14:37:37 UTC
reassigning for qa
Comment 6 eric.savary 2008-07-19 16:11:43 UTC
Sorry, still not fixed in the new build.
Comment 7 eric.savary 2008-07-19 16:12:30 UTC
.
Comment 8 caolanm 2008-07-19 16:35:59 UTC
Maybe I'm totally misunderstanding the problem, can you give me a step by step
walk through
Comment 9 caolanm 2008-07-19 17:12:38 UTC
Here's what I did (winxp under qemu) with m24 respin of cmcfixes46

writer, insert->object->chart (chart looks fine) ctrl + s, save it, close it,
reopen it. and chart looks ok, double click it, change e.g. the colour of a
line, click outside the chart to stop editing, and chart looks ok :-(
Comment 10 eric.savary 2008-07-19 17:14:19 UTC
Created attachment 55233 [details]
sample document
Comment 11 eric.savary 2008-07-19 17:16:53 UTC
- Open the attached chart.ods in your CWS on Linux (yes, inbetween, cannot
reproduce on Windows)
- save a chart2.ods
- reload (everything "looks" fine)
- double click on the chart to edit it.
-> at this time, the content of the chart disappears and leaves the frame empty.

This does not happen in the master.
Comment 12 caolanm 2008-07-22 10:37:15 UTC
I'm pretty sure this is an artifact of my (fc3-based, in an attempt to have a
low baseline for qa-installs) build-system.

So: 

http://buildbot.go-oo.org/install_sets/O3-build-3035-cmcfixes46-install_set.zip
(and for reference a master m24 from the same build-bot
http://buildbot.go-oo.org/install_sets/O3-build-3037-DEV300_m24-install_set.zip)

How about those install-sets
Comment 13 eric.savary 2008-07-22 12:17:39 UTC
Bingo! :)

Comment 14 eric.savary 2008-07-22 12:18:17 UTC
.
Comment 15 eric.savary 2008-07-22 12:18:47 UTC
.
Comment 16 amy2008 2008-08-06 07:41:05 UTC
Verified in DEV300_m28 on WinXP.
WOrks well.
Comment 17 michael.ruess 2008-08-06 07:58:23 UTC
Closed.