Version: unspecified (using Devel) OS: Linux There is a bug in gtk3 applications similar to bug 283572. Reproducible: Always Steps to Reproduce: 1. Start gnome-disk-utility-3.0.2 (palimpsest). 2. Open File - Connect to server 3. Move cursor above input fields Actual Results: Black text in black tooltips is unreadable. Expected Results: Text should be readable.
Created attachment 67632 [details] tooltips in palimpsest
Can you reproduce with other applications ? e.g. GEdit ? I cannot here (with gtk3.0), and with gedit. If not, then this might be a disk-utility bug, or a custom widget that we do not catch as a tooltip, when assigning foreground colors in style properties. I guess I "could" figure it out if you run disk-utility with oxygen-gtk3 compiled in debug mode, and dump (here, as attachment) the log, after you triggered the appearance of one tooltip. Cheers, Hugo
Created attachment 67656 [details] unreadable tooltips in save window I can reproduce this in gtk3-based guvcview-1.5.1. There is general Save file window, tooltips in left panel are unreadable.
http://wstaw.org/m/2012/01/10/plasma-desktopys3538.jpg Just to show you that I am not lying. (and this is a gtk3 application - gedit-3.0.6) This could be either a regression introduced with more recent version of gtk3 Or an issue with some custom settings in your settigns.ini (I've seen some warning reported about this guy in your other bug report. Could you double check that there is no color set in there ? My settings.ini is pretty empty: [Settings] gtk-theme-name = oxygen-gtk )
I can reproduce this bug also in gedit save window with gtk 3.2.2 and 3.3.6. with settings.ini as you wrote. Maybe I will try to test later with gtk 3.0.x. Build failed when I tried to build -DOXYGEN_DEBUG=1: /builddir/build/BUILD/oxygen-gtk3-1.2.0/src/oxygenwidgetlookup.cpp: In member function 'void Oxygen::WidgetLookup::initializeHooks()': /builddir/build/BUILD/oxygen-gtk3-1.2.0/src/oxygenwidgetlookup.cpp:124:65: error: 'endl' was not declared in this scope /builddir/build/BUILD/oxygen-gtk3-1.2.0/src/oxygenwidgetlookup.cpp:124:65: note: suggested alternative: /usr/lib/gcc/i686-redhat-linux/4.6.2/../../../../include/c++/4.6.2/ostream:543:5: note: 'std::endl' make[2]: *** [src/CMakeFiles/oxygen-gtk.dir/oxygenwidgetlookup.o] Error 1
ok. So most likely a change in gtk3 that we did not catch when we assign foreground colors. As for the debug mode compilation issue, fixing now. Thanks for the help !
Git commit 9431b0e908c6b2e05a059053ebcee26458fe6236 by Hugo Pereira Da Costa. Committed on 10/01/2012 at 14:40. Pushed by hpereiradacosta into branch 'gtk3'. fixed compilation in debug mode; added some debugging information. M +20 -2 src/oxygenwidgetlookup.cpp http://commits.kde.org/oxygen-gtk/9431b0e908c6b2e05a059053ebcee26458fe6236
Created attachment 67660 [details] debug messages when unreadable tooltips shown Tooltips are readable with gtk 3.0.12. Debug messages are for gtk-3.2.2 Save window.
That helps. Thanks ! will investigate !
Git commit fb5f66d2c94b3934dd35ae1393591a3a882236d2 by Hugo Pereira Da Costa. Committed on 10/01/2012 at 18:26. Pushed by hpereiradacosta into branch 'gtk3'. attempt at fixing tooltip's foreground color. M +1 -1 src/oxygenqtsettings.cpp http://commits.kde.org/oxygen-gtk/fb5f66d2c94b3934dd35ae1393591a3a882236d2
Nucleo ? This is an attempt at fixing, based on your debug output, though I could not reproduce, because I'm running too old gtk3. Thanks for testing, Hugo
Tooltips text readable now with gtk-3.2.2 and 3.3.6 (3.0.12 not tested).
Awesome ! So closing (it does work with gtk3.0 too, I checked)