After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 442707 - Impossible to insert a chart for the Win32 port
Impossible to insert a chart for the Win32 port
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
1.7.x
Other Windows
: Normal normal
: ---
Assigned To: Emmanuel Pacaud
Jody Goldberg
: 394183 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-05-31 21:30 UTC by cyberdoud
Modified: 2007-07-06 10:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Bug example (2.15 KB, application/x-gnumeric)
2007-06-04 17:20 UTC, cyberdoud
Details
no preview when adding a chart (83.91 KB, image/png)
2007-06-22 18:04 UTC, Christian Göbel
Details
when including the chart the chart is empty (36.26 KB, image/png)
2007-06-22 18:05 UTC, Christian Göbel
Details
properties show that now data is associated to the chart (16.42 KB, image/png)
2007-06-22 18:07 UTC, Christian Göbel
Details
A screenshot of the debugging messages (129.61 KB, image/png)
2007-06-24 15:54 UTC, Emmanuel Pacaud
Details

Description cyberdoud 2007-05-31 21:30:58 UTC
Please describe the problem:
When using the assistant to insert a chart, the preview function shows a completely blank chart and the "Next" button is greyed.
If the "Insert" button is pressed to finish the process, the obtained chart is blank.
This happens on the windows port of the program, run on WinXP.

Steps to reproduce:
1. Prepare dummy values for x and y (I tried 1,2,3,4,5 for x and rand() for y)
2. Select the 2 columns
3. Click on "Insert chart"



Actual results:
It seems that the program cannot "see" the data, and produces a blank graph.

Expected results:
I would expect the program to plot my data.

Does this happen every time?
Yes

Other information:
Address from which I obtained the program: http://www.gnome.org/~jody/gnumeric/win32/gnumeric-1.7.10-win32-1.exe
Comment 1 Andreas J. Guelzow 2007-06-01 01:00:26 UTC
Which plot type have you selected? Does this also happen for other plot types?
Comment 2 A 2007-06-01 04:07:32 UTC
i replicate this for bubble chart, perhaps a bubble chart with undefined bubble sizes should degrade to look like an XY plot (bubbles of no dimension would be points)

also I can make this happen if I highlight data in sheet1, switch to sheet2, then hit the insert chart button. but that sort of makes sense.

I notice *other* spreadsheets will open a dialog asking the user for data if the program finds none
Comment 3 cyberdoud 2007-06-03 09:17:38 UTC
From the preview function, it seems that it happens for all plot types.

Moreover, if I insert a blank graph, double-click on it and try to add the curve manually, when I try to select the data for x or y then the dialog box is empty. I think it should display the references of the cells which are selected, but I might be wrong since I have never used gnumeric beforehand.
Comment 4 A 2007-06-03 22:46:09 UTC
I can't seem to make this happen, if you attach an example file I can test to see if the problem shows up on my windows system.
Comment 5 thou.than 2007-06-04 15:00:24 UTC
Using Windows XP SP2 latest version Gnumeric

I am a newbie to Gnumeric. I installed it saturday last and when I tried to insert a chart the chart type dialgue box was not showing any samples as it was supposed to do.

In addition when I tried to insert a chart no joy.

However, when I open quite detailed saved Excel spreadsheets they open OK charts show no problem.

Now uninstalled Gnumeric simply because it is not useable in its current state of development. A great great pity because it seems much better than OpenOffice

Terry
Comment 6 cyberdoud 2007-06-04 17:20:49 UTC
Created attachment 89342 [details]
Bug example

Here is a sample file showing the problem.

For me too, complicated Excel files are correctly read, but I cannot create native gnumeric charts.
Comment 7 A 2007-06-04 18:59:52 UTC
i also see a blank chart...

if you would like to have the gnumeric experience, there is a way to work around this:

double click the chart
highlight 'Chart1' in the 'customize chart dialog
click the 'Add' button -> plot -> (choose type, I'll use XY points for example)
now under 'Chart1' you have Grid1, X-axis1, Y-axis1, and PlotXY1
under PlotXY1 there is 'Series1'
click the 'Series1'
under you will see tabs Data, style, ...
under the Data tab you can add your points (do NOT click the buttons next to the input fields, I just discovered a bug there !) you can just put your cursor in the field then use your mouse to highlight the data in the spreadsheet.

gnueric handles charting differently than other spreadsheets. It was a little weird at first, but it is quite empowering and makes alot of sense if you learn it ! It is now painful for me to meke charts any other way...

in my (limited) experience, gnumeric is indeed better than OpenOffice.org. The developers here are very helpful and seem to fix things pretty quickly. If the program isn't what you need at the moment, it may be soon ! You seem to be running the same kind of setup I am (XP-sp2), the only difference being that I installed gnumeric over it's previous version, not sure if it matters. perhaps somebody more experienced than me can figure out this problem.
Comment 8 A 2007-06-04 19:11:48 UTC
see bug 444064 

If you click the menubar of the blank add data dialog and drag it around it somehow repairs itself. 
Comment 9 cyberdoud 2007-06-05 19:26:02 UTC
Thanks Aaron ! This works for me too. However, the button next to the input field in the dialog box works fine in my case, and it is even the only way I have found to validate the input (typing return doesn't do anything).

After trying it, I also have the feeling that gnumeric can be very powerful, and I have good hope that this annoying bug will be fixed soon !
Comment 10 Emmanuel Pacaud 2007-06-05 20:11:07 UTC
It looks like that for some reason, goffice can't find the icons needed by the graph guru.

The files are there though, in C:/gnumeric/share/pixmaps/goffice/0.4.0

Comment 11 Pedro Lino 2007-06-07 16:53:06 UTC
This is the same as Bug 394183 – Charting dialog is empty, which I submitted and was dismissed as Solved. It is obviously not solved... 

Unfortunately since only Jody was kind enough to provide a binary for us Windows morons, I tested it recently and posted on the same Bug reports which apparently are ignored since they are Closed.

The last (Windows) version where charting is working properly is Build 1.7.0

I apologize for the strong words but as a Bug reporter I feel neglected.

Peace.
Comment 12 A 2007-06-07 19:35:51 UTC
I have used gnumeric on a couple windows computers through the 1.7's up to 1.7.10 and have not seen this problem.

one day everybody will be using free software...

is is really that difficult to create a windows build? Isn't it just setting some compiler directives and compiling with a windows compiler? If somebody could break it down step by step I am sure there would be a volunteer to do the compiling as each new release happens. 
Comment 13 Andreas J. Guelzow 2007-06-07 20:10:28 UTC
Aaron: to create a windows build you first of all should have a computer running windows. That alone exclude lots of people (including most of the Gnumeric developers).
Comment 14 Christian Göbel 2007-06-22 18:04:56 UTC
Created attachment 90472 [details]
no preview when adding a chart
Comment 15 Christian Göbel 2007-06-22 18:05:58 UTC
Created attachment 90473 [details]
when including the chart the chart is empty
Comment 16 Christian Göbel 2007-06-22 18:07:05 UTC
Created attachment 90474 [details]
properties show that now data is associated to the chart
Comment 17 Christian Göbel 2007-06-22 18:10:13 UTC
I just mad a fresh install with the latest win32 build and can confirm that the bug still exists.
version: 
1.7.10-win32-1
OS: WinXP 

In order to document the problem for the non-windows users I added some screenshots to the bug-report. Hope this helps to clarify the issue. 

If there is anything that I can do to debug, please let me know. However I have to admit that I am not a developer of any kind. 
Comment 18 Jody Goldberg 2007-06-23 10:29:25 UTC
Thank you for the screen shots they change my understanding of the problem.  The fact that you can see the names of the plots (#14) means that the plugins are at least partially visible.  The emptiness in the other screenshots just indicates that the chart has no plots, hence there is nothing to display.

1) What happens if you click in the blank area beside the list of plot types ? or even when you select items from the list of plot families on the first page of the guru ?

2) From the property dialog can you 'Add' a plot using the attached menu (Note you'd still need to manually add some data if this works) ?

3) Do plots stored in files display ?

4) Can you try running gnumeric from a 'cmd' window to see if there are any errors or warnings displayed.

Thanks
Comment 19 Emmanuel Pacaud 2007-06-24 15:54:05 UTC
Created attachment 90560 [details]
A screenshot of the debugging messages

1) the chart subtypes are not displayed since they require an icon. It's then impossible to create a chart.
2) It's possible to add a chart from the add menu.
3) Yes
4) See screenshot.
Comment 20 Emmanuel Pacaud 2007-06-24 15:54:42 UTC
I've forgotten to add: it's a fresh windows install with a fresh gnumeric 1.7.10 install.
Comment 21 Emmanuel Pacaud 2007-06-24 15:55:16 UTC
*** Bug 394183 has been marked as a duplicate of this bug. ***
Comment 22 Jody Goldberg 2007-06-24 16:07:42 UTC
I see the problem.

#ifdef WIN32
      libgoffice_icon_dir = g_build_filename (dir,
                "share", "pixmaps", "goffice", NULL);
#endif

vs
      AC_SUBST(goffice_icondir, '${datadir}/pixmaps/goffice/${VERSION}')


Please try copying the contents of the 0.4.0 directory into the parent directory and see if things work.
Comment 23 Jody Goldberg 2007-06-24 16:17:05 UTC
bingo.
I just tried it under wine, and that fixed things.
We'll put the fix into goffice-0.4.1, but it may take some time to get a new gnumeric build.  For the time being jsu copy the files from
<install_point>/share/pixmaps/goffice/0.4.0 into their parent directory.
Comment 24 Pedro Lino 2007-06-24 21:02:21 UTC
Now that was easy, wasn't it? :)
And you don't even have to create a new build :)
Except for new users which may be disappointed by not being able to create graphics. Couldn't you create a new installer? Isn't it just a matter of where the files are unpacked to?
Comment 25 Jody Goldberg 2007-07-04 00:25:43 UTC
Patch is in goffice for 1.4.1
Comment 26 thou.than 2007-07-06 01:44:01 UTC
I am Windows XP SP2 where do I download the corrected version ( Chart problem)?

Thanks

Terry
Comment 27 Jody Goldberg 2007-07-06 10:38:31 UTC
There are no updated packages as yet.  1.7.11 will have the patch.
In the mean time you can copy the images into the parent directory as mentioned above.