Xfce Forum

Sub domains
 

You are not logged in.

#1 2016-01-26 21:43:36

bremenpl
Member
Registered: 2016-01-26
Posts: 8

Debian black background in eclipse variable hover

I have a problem regarding colors in eclipse. I wasnt able to set it in any way (eclipse settings and also tried gnome-color-tools). It is shown on below screen:

6Dn2L.png

When I hover on an item in debug perspective while debuging, a tooltip shows. The tooltip background is black, text is white and the current item background is gray... Because of that it is not possible to see what is inder current item. How can any of those colors be changed? I would really apreciate all help and I cannot get over it for a longer while now. I am suing Debian 8.2 XFCE

Offline

#2 2016-01-29 19:36:59

bremenpl
Member
Registered: 2016-01-26
Posts: 8

Re: Debian black background in eclipse variable hover

Anyone please? I am desperate right now, cannot fix this for really long. I tried forsing GTK2 for exclipse as I found here https://coffeeorientedprogramming.wordp … r-on-gtk3/ but that didnt help. Did anyone experience this as well?

Offline

#3 2016-01-29 21:06:03

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,494

Re: Debian black background in eclipse variable hover

Does changing the appearance theme make a difference?

Does the same happen when you run a different DE?
Perhaps its an Eclipse issue as opposed to an Xfce one.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#4 2016-01-29 21:08:42

bremenpl
Member
Registered: 2016-01-26
Posts: 8

Re: Debian black background in eclipse variable hover

Changing the theme doesnt help. Silly question but what does de stand for? Do you mean like another gui like gnome or kde? If yes I dont kbow as i only have xfce installed and i quute enjoy it.

Offline

#5 2016-01-30 01:19:10

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,494

Re: Debian black background in eclipse variable hover

Sorry, yes - DE means desktop environment (gnome, mate). I think this is an eclipse/GTK3 bug. Have a look at this eclipse bug. When I use the gtk3 snippet in comment #30, it changes the tooltip colours for me. There is mention in that post about not using transparency, but I didn't try it.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#6 2016-01-30 06:51:10

bremenpl
Member
Registered: 2016-01-26
Posts: 8

Re: Debian black background in eclipse variable hover

Thank you for your reply! You answer moved me closer to the solution. Now the back ground is indeed white and text black:
https://dl.dropboxusercontent.com/u/141 … oltip1.png

But under debug view the object lookup selected text is still unreadable:
https://dl.dropboxusercontent.com/u/141 … oltip2.png

Do you know maybe any CSS tricks for that? I already apreciate your help.

Offline

#7 2016-01-30 15:22:52

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,494

Re: Debian black background in eclipse variable hover

I don't know how to do that in CSS.

But what about forcing eclipse to run in GTK2 mode and overriding the GTK2 configuration file with your own colours that you can fine tune to make them work?

First, create the file ~/.gtkrc-2.0.eclipse with the following content:

style "eclipse-tooltips"
{
  bg[NORMAL] = "#FFFFAF"
  fg[NORMAL] = "#000000"
}
widget "gtk-tooltip*" style "eclipse-tooltips"

...and then run eclipse like this:

GTK2_RC_FILES=~/.gtkrc-2.0.eclipse SWT_GTK3=0 eclipse

You can then fine tune the "bg[NORMAL]" and "fg[NORMAL]" colour values to suit your theme so that you can see the highlighted section.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#8 2016-01-30 16:12:16

bremenpl
Member
Registered: 2016-01-26
Posts: 8

Re: Debian black background in eclipse variable hover

That finally worked... Thank you!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 542.51 KiB (Peak: 543.35 KiB) ]