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 90262 - Inconsistency in the way RGBA colors are specified
Inconsistency in the way RGBA colors are specified
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: [obsolete] Backgrounds Emblems and Themes
0.x.x [obsolete]
Other All
: Low minor
: future
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-08-08 20:46 UTC by Federico Mena Quintero
Modified: 2005-02-26 16:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Federico Mena Quintero 2002-08-08 20:46:44 UTC
In the theme specification files, there are several tag attributes of the
form "foo_color_rgba" which specify 32-bit integers.  However, some code
paths take these to be of the form 0xRRGGBBAA, and others as 0xAARRGGBB.

For example, note nautilus-icon-container.c:1589, which loads
"selection_box_color_rgba".  It does strtoul() on the string, and then
feeds the result to an EelRect canvas item, which expects 0xRRGGBBAA.

Then note nautilus-icon-container.c:5218, which loads
"highlight_color_rgba".  Again, it does strtoul() on the string, but feeds
it to the NautilusIconCanvasItem, which uses this as 0xAARRGGBB.
Comment 1 Dave Bordoley [Not Reading Bug Mail] 2002-10-31 20:12:48 UTC
dave wants to fix this but since the bug is no longer user visible,
its not as important to fix
Comment 2 Luis Villa 2002-11-07 19:45:08 UTC
Apologies for the spam- I'm removing 'bugsquad' from some keywords via the web
interface. This is a one-time only thing before I re-add bugsquad via the SQL
interface, which will generate no mail. Apologies again.
Comment 3 Martin Wehner 2005-02-26 16:05:47 UTC
I can't find any of the stuff mentioned here in nautilus-icon-container -
besides highlight_color_rgba which is loaded via gtk_widget_style_get. I guess
this has been fixed.