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 432532 - Gnumeric strange colors (purple charts)
Gnumeric strange colors (purple charts)
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
1.7.x
Other All
: Normal major
: ---
Assigned To: Jean Bréfort
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2007-04-23 09:34 UTC by mambro
Modified: 2007-04-28 07:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fixes the issue (584 bytes, patch)
2007-04-27 15:19 UTC, Jean Bréfort
committed Details | Review

Description mambro 2007-04-23 09:34:14 UTC
I have ubuntu feisty 7.04 on an ibook G4 (ppc version).
When i try to make a chart it appears purple. Same thing with the windows "About gnumeric".

This is a screenshot http://img100.imageshack.us/img100/6336/schermatave3.png

I had the same problem with gnumeric 1.7.* with Gentoo on PPC.

I use gnumeric 1.7.8
Comment 1 sam tygier 2007-04-25 07:30:42 UTC
this is also reported on the ubuntu bug tracker, https://bugs.launchpad.net/ubuntu/+source/gnumeric/+bug/109204
Comment 2 Jean Bréfort 2007-04-27 15:19:28 UTC
Created attachment 87150 [details] [review]
fixes the issue

It was an issue related to endianness in cairo_to_pixbug. Apologies.
Comment 3 mambro 2007-04-27 17:10:42 UTC
I've tried the ubuntu packages made by Sam Tygier that include this patch (http://ubuntuforums.org/showthread.php?p=2541321) and it works ;-)

Good job! Thank you :-)
Comment 4 Morten Welinder 2007-04-28 00:05:37 UTC
Excellent!

I hope we can come up with some kind of automated test that exercises
code like this.  (Obviously one would only get the little-endian or
the big-endian version, but we could be set up to get early warnings
for problems like this.)
Comment 5 sam tygier 2007-04-28 07:24:14 UTC
If you need access to a powerpc or want test run in the future, then feel free to contact me.