Author Topic: Dark GTK+ theme results in white text on white background  (Read 4267 times)

Offline hidefromkgb

  • Multiple posting newcomer
  • *
  • Posts: 50
Dark GTK+ theme results in white text on white background
« on: December 09, 2010, 09:40:22 pm »
Hello everyone.

My problem is pretty much described by this picture:




After I have installed the dark «Black Diamond» GTK+ theme, working in C::B is quite annoying…
  • First, the downmost panel: all text is now the same colour as the background
  • Second, «Watches» window is behaving strangely.
    When the program stops at some breakpoint, the whole text is coloured black, and that is normal.
    But then, after the very first F7, every variable that has not been changed gets completely white!
    So do both captions («Local Variables» & «Function Arguments»).
    N.B. that «Call Stack» window does not share this behaviour.
  • And the last, tabs. They look awful with the black text on a dark-gray background =(
As I just figured out, these issues can not be fixed via config files.
Can you please point me to the part of C::B source that I can change to resolve this?

Offline hidefromkgb

  • Multiple posting newcomer
  • *
  • Posts: 50
Re: Dark GTK+ theme results in white text on white background
« Reply #1 on: December 09, 2010, 10:34:29 pm »
[UP]:
If the variable list is collapsed during F7, its items remain black, unless they are already recolored.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Dark GTK+ theme results in white text on white background
« Reply #2 on: December 09, 2010, 10:39:13 pm »
What is the C::B version?
10.05 or newer has fixes for the log window colours.

See here for the notebooks: http://forums.codeblocks.org/index.php/topic,12392.0.html

The watch window probably won't be fixed, because it was replaced with a better one in the debuggers branch...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline hidefromkgb

  • Multiple posting newcomer
  • *
  • Posts: 50
Re: Dark GTK+ theme results in white text on white background
« Reply #3 on: December 09, 2010, 10:53:08 pm »
oBFusCATed,
The screenshot is taken from SVN build #6881.
However, the same problem remains in stable C::B build from official Arch Linux repo…
Thanks for GTK Notebook patch!

Quote
The watch window probably won't be fixed, because it was replaced with a better one in the debuggers branch...
Is new watch window a plugin or something? If yes, how can I enable it?
Sorry for asking dumb questions, I am a newbie to Codeblocks.

P.S.
My system is Arch Linux 2.6.36-1, if this can help.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Dark GTK+ theme results in white text on white background
« Reply #4 on: December 09, 2010, 10:56:16 pm »
Here is the branch: http://svn.berlios.de/wsvn/codeblocks/branches/wxpropgrid_debugger/?rev=6882&peg=6882#ab1bb068457ecc925a5b07fe41a91d401

You can switch your PKGBUILD file to use the branch instead of trunk :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline hidefromkgb

  • Multiple posting newcomer
  • *
  • Posts: 50
Re: Dark GTK+ theme results in white text on white background
« Reply #5 on: December 09, 2010, 11:16:06 pm »
Thank you oBFusCATed!
Will now try to build C::B from http://svn.berlios.de/svnroot/repos/codeblocks/branches/wxpropgrid_debugger/.

Offline hidefromkgb

  • Multiple posting newcomer
  • *
  • Posts: 50
Re: Dark GTK+ theme results in white text on white background
« Reply #6 on: December 10, 2010, 04:11:08 am »
…Actually, it did not work. Though «Watches» is now a grid, captions are indistinguishable from the background.

Thus, the only thing left for me was to directly edit the system colour scheme.
Now the background color is #A0A0A0, and the white text is visible.

Anyway, thanks for your help.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Dark GTK+ theme results in white text on white background
« Reply #7 on: December 10, 2010, 08:35:56 am »
I'll do some testing with your theme...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]