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 498854 - Add more themable colours
Add more themable colours
Status: RESOLVED DUPLICATE of bug 654864
Product: gnome-tweak-tool
Classification: Applications
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: GNOME Tweak Tool maintainer(s)
GNOME Tweak Tool maintainer(s)
: 520985 535355 588330 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-11-21 22:35 UTC by Mikkel Kamstrup Erlandsen
Modified: 2011-10-22 02:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to allow dynamic window border colors. Against GnomeCC 2.20.1 for now. (6.14 KB, patch)
2007-11-21 22:37 UTC, Mikkel Kamstrup Erlandsen
reviewed Details | Review

Description Mikkel Kamstrup Erlandsen 2007-11-21 22:35:18 UTC
Judging by the number of themes hard coding colors for the window borders it would be a nice thing to allow changing window frame colors in the appearance capplet.

I am attaching a patch to do this. It is against 2.20.1 and needs a wee bit of white space cleaning. If there is interest I'll port a clean version to 2.21.

If this gets in I will update the Gnome themes to support it.
Comment 1 Mikkel Kamstrup Erlandsen 2007-11-21 22:37:01 UTC
Created attachment 99455 [details] [review]
Patch to allow dynamic window border colors. Against GnomeCC 2.20.1 for now.

Patch as promised.
Comment 2 Jens Granseuer 2007-11-22 18:41:17 UTC
I'd say this is such a miniscule detail that it's not worth to expose in the UI, but then, I'm hardly an expert on theming. Thomas, any opinion on this?

Patch looks ok code-wise.
Comment 3 Thomas Wood 2007-11-24 22:00:38 UTC
I would also be reluctant to add more colours to the appearance capplet, at least not without improving the UI significantly.

I'm not sure how adding a window frame colour setting would solve the original issue anyway. I suspect most Metacity themes have hard coded colours because people use images rather than using Metacity's drawing operations in their themes.
Comment 4 Mikkel Kamstrup Erlandsen 2007-12-10 22:20:22 UTC
Uh, I always forget that I am not automagically CCed... Here's a late reply.

To Jens' comment #2: and you don't think adjusting the tool tip colors is miniscule? The window borders are one of the most dominant colors on the desktop.

Thomas, comment #3: UI clutter is one thing, granted. If I am not entirely mistaken the missing ability to dynamically adjust the window frame colors is the reason the Ubuntu Human theme does not use dynamic colors at all. They wanted to make small tweaks to the title bar color in order to make the UI less monochrome.
The UI colors would become inconsistent if the user started tweaking them.

Actually very few of (the popular) metacity themes use images for drawing. Besides none of the native Gnome ones does, and I think they are our main target?

You guys should really try using different colors (or just a variation of bg[NORMAL]) for window borders (unless you already do, as I suspect, you scoundrels ;-P).
Comment 5 Jens Granseuer 2007-12-12 14:16:21 UTC
(In reply to comment #4)
> To Jens' comment #2: and you don't think adjusting the tool tip colors is
> miniscule?

No. Being able to change tooltip colour is important because otherwise you won't be able to read them for certain colours.

> The window borders are one of the most dominant colors on the
> desktop.

I'm actually not sure I understand what you mean by "window border colours". The window borders on my desktop seem to have no problems adjusting to the selected colour schemes. Why do we need a separate setting there?
Comment 6 Mikkel Kamstrup Erlandsen 2007-12-13 12:36:58 UTC
To Jens' comment #5 :

> No. Being able to change tooltip colour is important because otherwise you
> won't be able to read them for certain colours.

The same goes for the window border I guess. If I change my window border to all black/white some themes are likely to look bad.

> I'm actually not sure I understand what you mean by "window border colours".
> The window borders on my desktop seem to have no problems adjusting to the
> selected colour schemes. Why do we need a separate setting there?

They adjust to the theme because they use bg[SELECTED] or something to draw the window borders. That is fine if you like monochrome themes.

The original reason for the patch was that I started using themes with different colored window borders than the selections. Fx black borders and orange highlights for the gtk theme looks really nice. Consider Green borders with yellow highlights - should also look spiffy.
Comment 7 Jens Granseuer 2008-03-08 10:28:28 UTC
*** Bug 520985 has been marked as a duplicate of this bug. ***
Comment 8 Thomas Wood 2008-06-07 15:22:51 UTC
*** Bug 535355 has been marked as a duplicate of this bug. ***
Comment 9 Jens Granseuer 2009-07-27 16:21:19 UTC
*** Bug 588330 has been marked as a duplicate of this bug. ***
Comment 10 Bastien Nocera 2011-03-17 15:00:30 UTC
Mass move to gnome-tweak-tool, for theme handling bugs.
Comment 11 John Stowers 2011-10-22 02:49:08 UTC
In general it looks like metacity/mutter will pick up more colors from the gtk theme in future

*** This bug has been marked as a duplicate of bug 654864 ***