Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Tau build (old build also) + mouse hovers: (13 Items)
   
Tau build (old build also) + mouse hovers  
Hi All,
Current eclipse and Momentics are bit annoying to me.
I use custom background and frontground colors for editor.
My background is black and frontground is white.

When i take mouse over some structure/function, hovers display the details (declaration/definition) of that particular 
token. The problem is, hovers does take the frontground color but keep the background to yellowish (some color), this 
makes white on yellow unreadable hovers.

Is there any way to overcome this. any solutions.

Thanks
Prem
Re: Tau build (old build also) + mouse hovers  
> Hi All,
> Current eclipse and Momentics are bit annoying to me.
> I use custom background and frontground colors for editor.
> My background is black and frontground is white.
> 
> When i take mouse over some structure/function, hovers display the details (
> declaration/definition) of that particular 
> token. The problem is, hovers does take the frontground color but keep the 
> background to yellowish (some color), this 
> makes white on yellow unreadable hovers.
> 
> Is there any way to overcome this. any solutions.
> 
> Thanks
> Prem

Well, you could modify the SWT source for your host, and change the balloon color.  SWT defaults to the system colors 
for stuff like the balloons.  If you are on Linux, you may be able to make a gtkrc file that only changes the color for 
Eclipse applications.  If you are on windows, you'll have to change the SWT code.

Just so we are clear, do you see the white forground for only the functions that you have written?  Or do you see the 
problem if you hover over printf?  I tried a small example here, and I see a problem when I hover over the main function
, but not when I hover over printf. 

Rodney
Re: Tau build (old build also) + mouse hovers  
> Well, you could modify the SWT source for your host, and change the balloon 
> color.  SWT defaults to the system colors for stuff like the balloons.  If you
>  are on Linux, you may be able to make a gtkrc file that only changes the 
> color for Eclipse applications.  If you are on windows, you'll have to change 
> the SWT code.
> 
> Just so we are clear, do you see the white forground for only the functions 
> that you have written?  Or do you see the problem if you hover over printf?  I
>  tried a small example here, and I see a problem when I hover over the main 
> function, but not when I hover over printf. 
> 
> Rodney

Thanks for the help, but i am an illiterate in gtkrc config options and compiling SWT (didin't had success, bails out 
with error).

Could you please post an example gtkrc which just changes bg color of hovers, It would be helpful to other users as well
.

And the problem as you said is while pointed on a local/workspace based function and printf though the color is 'black 
on yellow' it only shows function with an '#define printf ....', whereas i was expecting 'int printf(fmt, ...)' 

/Prem
Re: Tau build (old build also) + mouse hovers  
Actually, we are limited by Eclipse bug #199255. As soon as they fix it, 
the feature (selection of hovering colors) will be available.

Prem Mallappa wrote:
> Hi All,
> Current eclipse and Momentics are bit annoying to me.
> I use custom background and frontground colors for editor.
> My background is black and frontground is white.
>
> When i take mouse over some structure/function, hovers display the
> details (declaration/definition) of that particular 
> token. The problem is, hovers does take the frontground color but keep
> the background to yellowish (some color), this 
> makes white on yellow unreadable hovers.
>
> Is there any way to overcome this. any solutions.
>
> Thanks
> Prem
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post1709
>
>   
Re: Tau build (old build also) + mouse hovers  
What OS are you using?
Re: Tau build (old build also) + mouse hovers  
I am running 64-bit userland+64 bit kernel Linux

Re: Tau build (old build also) + mouse hovers  
> I am running 64-bit userland+64 bit kernel Linux
> 


I'll see if I can hack an SWT for you.  I'll let you know if I get something. 
Re: Tau build (old build also) + mouse hovers  
> > I am running 64-bit userland+64 bit kernel Linux
> > 
> 
> 
> I'll see if I can hack an SWT for you.  I'll let you know if I get something. 


Please give this SWT a try.  It should replace the pop up background with a dark orange color. 

BACK UP YOUR ORIGINAL.  This may not work. 

Rodney
Attachment: Text org.eclipse.swt.gtk.linux.x86_3.2.2.v3236.jar 1.77 MB
Re: Tau build (old build also) + mouse hovers  
Hi,
Thanks for the swt hack, its much better now.
There is a problem still annoying me (as you said earlier this hover doesn't seems to apply to functions like printf/
fprintf)
Now i can see all the functions belonging to project in black background/white fg and orange border (very nice).
But fprintf/printf are just a black window with orange border. the characters can be only viewed when i select the 
entire window contents after pressing F2.
There is something fundamentally wrong with hovers. It should obey the fg/bg of the customized workspace.

/Prem
Re: Tau build (old build also) + mouse hovers  
> Hi,
> Thanks for the swt hack, its much better now.
> There is a problem still annoying me (as you said earlier this hover doesn't 
> seems to apply to functions like printf/fprintf)
> Now i can see all the functions belonging to project in black background/white
>  fg and orange border (very nice).
> But fprintf/printf are just a black window with orange border. the characters 
> can be only viewed when i select the entire window contents after pressing F2.
> 
> There is something fundamentally wrong with hovers. It should obey the fg/bg 
> of the customized workspace.
> 
> /Prem


Can you post a picture of what you are seeing? 

Thanks,
Rodney
Re: Tau build (old build also) + mouse hovers  
Hi,
Here is a screen shot.
taken with ksnpashot this one shows input_shutdown (the function just below the cursor)
Attachment: Image snapshot1.png 198.13 KB
Re: Tau build (old build also) + mouse hovers  
another (aparently i can attach only one per reply)

hover for fprintf
Attachment: Image snapshot2.png 192.01 KB
Re: Tau build (old build also) + mouse hovers  
> another (aparently i can attach only one per reply)
> 
> hover for fprintf


This is very weird.  There shouldn't be any black in your popup at all.  Are you using a special KDE theme at all?  At 
you using a qt2gtk conversion theme at all?  The popup should be completely orange.