User forums > Using Code::Blocks

[SOLVED] Tooltip unreadable under Kubuntu

(1/2) > >>

cacb:
I have just installed Kubuntu 16.10 and Code::Blocks 16.01 from the repository.

An annoying problem is that the codeblocks toolbar tooltip texts are unreadable, apparently because the tooltip background colour is the same as the text colour. Is there a way to make the tooltip text black so the text becomes readable? See attached photo of the tooltip problem.

A related problem is that the toolbars are taking up more vertical space (see photo) than before (compared to self-compiled C::B 10621 under Kubuntu 15:10) and far more space than on Windows 7 where they are compact and nice.

Is there a way to reduce the waste of space around the toolbar icons under Kubuntu? I have found the options under Settings -> Environment -> View  -> Toolbar icons size, but the only option is to make the icons bigger. I have the icon size at 16x16 but the toolbars themselves take up at least twice that, especially in the vertical direction, but also horizontally.

Any help appreciated. If this is a problem that is fixed in a nightly build I am happy to try that.

EDIT: See Commaster's reply below for an explanation and a solution to this problem.

oBFusCATed:
What version of wxGTK are you using? What GTK2/3 theme are you using? Can you try the auidemo from the wxGTK project if it has the same problems?

cacb:

--- Quote from: oBFusCATed on February 25, 2017, 10:07:47 pm ---What version of wxGTK are you using? What GTK2/3 theme are you using? Can you try the auidemo from the wxGTK project if it has the same problems?

--- End quote ---

I have not yet installed wxWidgets other than via $ sudo apt-get install codeblocks*

If I search I find files like /usr/lib/x86_64-linux-gnu/libwx_gtk2u_aui-3.0.so.0.2.0
I guess that means GTK2?

I am using the default desktop theme under kubuntu, this is a fresh OS installation I am just trying to configure it. In the system settings the "look and feel is "Breeze" and Desktop Theme is also "Breeze"

It should be said when I check my old computer with Kubuntu 15.10 the tooltip problem is the same in Code::Blocks there. I have not been able to compile anything on the new computer yet, but on the old one I can confirm the tooltip problem was also the same there. So this isn't new.

The toolbar size problem has become worse though. I can see the problem relates to toolbars with comboboxes especially, but even the other ones have "too much air". I have Windows and Kubuntu side by side with identical screens and both with codeblocks, the toolbars are wasiting several cm vertically compared to on Windows unless I keep only one row of toolbars, but this isn't optimal.

oBFusCATed:
Please try the auidemo wxgtk sample application. If it works there then we'll know the problem is codeblocks, but I think it isn't and it is a general wx problem.

Also you can try to switch the theme to see if the situation is improved.

Commaster:
This is a known KDE-GTK issue and doesn't apply to C::B(or wx) only. I solved it a month ago after googling for ~5 minutes:

Settings -> Appearance -> Color -> Options -> Disable "Apply colors to non-QT applications".

Hope it helps you too.

Navigation

[0] Message Index

[#] Next page

Go to full version