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 460023 - Wrongly colored window borders in preview
Wrongly colored window borders in preview
Status: RESOLVED DUPLICATE of bug 478886
Product: gnome-control-center
Classification: Core
Component: [obsolete] Appearance
2.19.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-07-24 20:42 UTC by Martin Ejdestig
Modified: 2007-10-11 18:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot with wrongly colored window borders in previews (29.85 KB, image/png)
2007-07-24 20:43 UTC, Martin Ejdestig
Details
Wrong color on control previews (38.97 KB, image/png)
2007-08-01 18:19 UTC, Martin Ejdestig
Details
Colors tab right after start (25.17 KB, image/png)
2007-08-01 21:25 UTC, Martin Ejdestig
Details
Screenshot (25.21 KB, image/png)
2007-09-24 10:43 UTC, Michael Monreal
Details

Description Martin Ejdestig 2007-07-24 20:42:16 UTC
The window borders in the preview sometimes have the wrong color. I'm unable to reproduce right now but it has happened once or twice.
Comment 1 Martin Ejdestig 2007-07-24 20:43:20 UTC
Created attachment 92307 [details]
Screenshot with wrongly colored window borders in previews
Comment 2 Jens Granseuer 2007-07-24 21:11:31 UTC
Known issue, provided that this happens when you modify the color scheme. The thumbnails don't update in that case (yet).
Comment 3 Martin Ejdestig 2007-07-24 21:43:55 UTC
Hum... I can't remember using that color for "selected items". Oh well, I'll close it and reopen if I ever see it again. (I'm guessing there's an open bug if it's a known issue?)
Comment 4 Martin Ejdestig 2007-08-01 18:18:28 UTC
How is it with the control previews? I haven't used the color on the screenshot below for a couple of days.
Comment 5 Martin Ejdestig 2007-08-01 18:19:27 UTC
Created attachment 92872 [details]
Wrong color on control previews
Comment 6 Jens Granseuer 2007-08-01 20:33:11 UTC
That looks odd if you haven't selected a (GTK) theme using those colors in the same session. Could you please describe in detail how you achieve that effect?

If it doesn't look wrong right after starting the capplet, please make a shot of the colors tab before changing anything, then proceeed to do whatever you do to get there, and make another shot of the wrongly colored thumbs.
Comment 7 Martin Ejdestig 2007-08-01 21:05:37 UTC
I created a custom meta theme with Gummy and modified the background color to be yellow and used it for a while. A couple of days ago I stopped using it and I think the control thumbnails have been yellow ever since.

Also, it looks like this right after starting the capplet (i.e. I don't have to select my yellow meta theme and then select something else).

I also just noticed that the yellow color is used for the window thumbnails. However, I'm not 100% sure they where wrongly colored earlier today when I took the screenshot above. But I can't get the right color by e.g. selecting a different theme and restarting the capplet.

> theme using those colors in the same session
Define session. GNOME session? Appearance capplet session?
Comment 8 Jens Granseuer 2007-08-01 21:21:24 UTC
Appearance capplet session.

If it looks wrong right after starting the capplet, it would be interesting to know what the colors tab looks like at that point in time.
Comment 9 Martin Ejdestig 2007-08-01 21:25:42 UTC
Created attachment 92889 [details]
Colors tab right after start

And, as I said, control and window thumbnails are yellow.
Comment 10 Jens Granseuer 2007-08-02 17:36:54 UTC
I have no idea what's going wrong there, and unfortunately I can't reproduce it either.
Comment 11 Martin Ejdestig 2007-08-02 17:46:13 UTC
Hummm. FYI, this is with Gutsy. I haven't looked if they patch something that might be the cause of this.
Comment 12 Martin Ejdestig 2007-08-02 17:59:22 UTC
I just played around with colors for a completely new user and I can't get the window border thumbnails to change color. No matter what I do all themes that use the gtk selection color look like the ones in attachment #1 [details]. Control thumbnails get updated if I restart though. Don't know how to get into the state I'm in on my primary account.
Comment 13 Denis Washington 2007-08-04 13:55:09 UTC
Does it maybe depend on whether you save the theme with modified colors or not?
Comment 14 Martin Ejdestig 2007-08-04 14:32:04 UTC
Not sure but I think so. The window borders have the wrong colors from the start though.
Comment 15 Michael Monreal 2007-09-24 10:43:35 UTC
Created attachment 96110 [details]
Screenshot

Is this the same issue? E.g. control previews always taking the color of teh currently selected theme? This makes the preview quite useless IMHO
Comment 16 Jens Granseuer 2007-09-24 18:29:22 UTC
No, that is unrelated.
Comment 17 Thomas Zajic 2007-10-11 17:04:17 UTC
Wrongly colored window borders, hmmm ... any chance that bug# 478886 could actually be a gnome-appearance-properties bug?
Comment 18 Jens Granseuer 2007-10-11 17:27:27 UTC
If it only affects window borders, and not gtk widgets, that seems highly unlikely. If I had to, I'd point fingers at metacity...

Since the other bug has lots more details, I'm going to make this a duplicate.

*** This bug has been marked as a duplicate of 478886 ***
Comment 19 Thomas Zajic 2007-10-11 17:37:20 UTC
What about g-a-p's strange way of saving the gtk_color_scheme gconf key (12 sort-of-duplicated hex digits instead of 6, see http://bugzilla.gnome.org/show_bug.cgi?id=478886#c20), is this normal/intentional?
Comment 20 Jens Granseuer 2007-10-11 18:05:17 UTC
GTK supports a number of ways to specify colors. Internally, GDK color components (r,g,b) are represented by numbers from 0-65535. If you use a format with less precision (eg. ffffff, 255/255/255) gtk scales that to the full range.

For more information, see http://library.gnome.org/devel/gdk/stable/gdk-Colormaps-and-Colors.html, especially gdk_color_parse and gdk_color_to_string. That said, if some application (say metacity) expects the colors in the color scheme to be in a specific format and gets confused otherwise, that might explain what you're seeing (although I would expect more people to hit that problem if that really was the cause).