Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: hidefromkgb on December 09, 2010, 09:40:22 pm

Title: Dark GTK+ theme results in white text on white background
Post by: hidefromkgb on December 09, 2010, 09:40:22 pm
Hello everyone.

My problem is pretty much described by this picture:

(http://img838.imageshack.us/img838/7118/screenshot0912201023055.th.png) (http://img838.imageshack.us/i/screenshot0912201023055.png/)


After I have installed the dark «Black Diamond» GTK+ theme, working in C::B is quite annoying…
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?
Title: Re: Dark GTK+ theme results in white text on white background
Post by: hidefromkgb 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.
Title: Re: Dark GTK+ theme results in white text on white background
Post by: oBFusCATed 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...
Title: Re: Dark GTK+ theme results in white text on white background
Post by: hidefromkgb 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.
Title: Re: Dark GTK+ theme results in white text on white background
Post by: oBFusCATed 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 :)
Title: Re: Dark GTK+ theme results in white text on white background
Post by: hidefromkgb 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/ (http://svn.berlios.de/svnroot/repos/codeblocks/branches/wxpropgrid_debugger/).
Title: Re: Dark GTK+ theme results in white text on white background
Post by: hidefromkgb 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.
Title: Re: Dark GTK+ theme results in white text on white background
Post by: oBFusCATed on December 10, 2010, 08:35:56 am
I'll do some testing with your theme...