Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP 2.0 Tooltip on Table(Viewer) column header not working
RAP 2.0 Tooltip on Table(Viewer) column header not working [message #1016440] Wed, 06 March 2013 13:13 Go to next message
Tiburon T is currently offline Tiburon T
Messages: 53
Registered: October 2011
Member
Hi again!

After migrating to RAP 2.0, Tooltips on Table headers are not displayed anymore.
They are set on the columns like this:

TableViewerColumn col = ... // create column
col.getColumn().setToolTipText("Some tooltip");


In RAP 1.5 the tooltip is displayed when the mouse cursor hovers over a table column header, in 2.0 only an empty Tooltip pops up.
I debugged TableColumn.class and can see that the correct text is returned to the tables TableColumnLCA.

Anybody else noticed this or is there a workaround if its a bug?
Unfortunately I did not find tooltips on the tables of the RAP demo and can not provide example code.

Thanks,
Tiburon
Re: RAP 2.0 Tooltip on Table(Viewer) column header not working [message #1016484 is a reply to message #1016440] Wed, 06 March 2013 15:56 Go to previous messageGo to next message
Markus Duft is currently offline Markus Duft
Messages: 130
Registered: February 2013
Senior Member
yeah, i noticed this yesterday!
Re: RAP 2.0 Tooltip on Table(Viewer) column header not working [message #1016498 is a reply to message #1016440] Wed, 06 March 2013 16:51 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1838
Registered: July 2009
Senior Member
Hi,
you are completely right. I can reproduce it with RAP from master.
Please open a bugzilla and we will look on it asap.
Thanks,
Ivan

On 3/6/2013 3:13 PM, Tiburon T wrote:
> Hi again!
>
> After migrating to RAP 2.0, Tooltips on Table headers are not
> displayed anymore.
> They are set on the columns like this:
>
>
> TableViewerColumn col = ... // create column
> col.getColumn().setToolTipText("Some tooltip");
>
>
> In RAP 1.5 the tooltip is displayed when the mouse cursor hovers over
> a table column header, in 2.0 only an empty Tooltip pops up.
> I debugged TableColumn.class and can see that the correct text is
> returned to the tables TableColumnLCA.
>
> Anybody else noticed this or is there a workaround if its a bug?
> Unfortunately I did not find tooltips on the tables of the RAP demo
> and can not provide example code.
>
> Thanks, Tiburon

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP 2.0 Tooltip on Table(Viewer) column header not working [message #1016521 is a reply to message #1016440] Wed, 06 March 2013 18:35 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1838
Registered: July 2009
Senior Member
I've opened a bug about it:
402566: [Tree][Table] Column tooltip is always empty
https://bugs.eclipse.org/bugs/show_bug.cgi?id=402566

On 3/6/2013 3:13 PM, Tiburon T wrote:
> Hi again!
>
> After migrating to RAP 2.0, Tooltips on Table headers are not
> displayed anymore.
> They are set on the columns like this:
>
>
> TableViewerColumn col = ... // create column
> col.getColumn().setToolTipText("Some tooltip");
>
>
> In RAP 1.5 the tooltip is displayed when the mouse cursor hovers over
> a table column header, in 2.0 only an empty Tooltip pops up.
> I debugged TableColumn.class and can see that the correct text is
> returned to the tables TableColumnLCA.
>
> Anybody else noticed this or is there a workaround if its a bug?
> Unfortunately I did not find tooltips on the tables of the RAP demo
> and can not provide example code.
>
> Thanks, Tiburon

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP 2.0 Tooltip on Table(Viewer) column header not working [message #1016547 is a reply to message #1016521] Wed, 06 March 2013 20:54 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1838
Registered: July 2009
Senior Member
The bug is fixed in RAP master.

On 3/6/2013 8:35 PM, Ivan Furnadjiev wrote:
> I've opened a bug about it:
> 402566: [Tree][Table] Column tooltip is always empty
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=402566
>
> On 3/6/2013 3:13 PM, Tiburon T wrote:
>> Hi again!
>>
>> After migrating to RAP 2.0, Tooltips on Table headers are not
>> displayed anymore.
>> They are set on the columns like this:
>>
>>
>> TableViewerColumn col = ... // create column
>> col.getColumn().setToolTipText("Some tooltip");
>>
>>
>> In RAP 1.5 the tooltip is displayed when the mouse cursor hovers over
>> a table column header, in 2.0 only an empty Tooltip pops up.
>> I debugged TableColumn.class and can see that the correct text is
>> returned to the tables TableColumnLCA.
>>
>> Anybody else noticed this or is there a workaround if its a bug?
>> Unfortunately I did not find tooltips on the tables of the RAP demo
>> and can not provide example code.
>>
>> Thanks, Tiburon
>

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP 2.0 Tooltip on Table(Viewer) column header not working [message #1016554 is a reply to message #1016547] Wed, 06 March 2013 21:35 Go to previous message
Tiburon T is currently offline Tiburon T
Messages: 53
Registered: October 2011
Member
Thank you very much!
Previous Topic:Layout issues due to stringExtend miscalculation?
Next Topic:TableViewer / LabelProvider Images with different width
Goto Forum:
  


Current Time: Mon Oct 20 23:06:52 GMT 2014

Powered by FUDForum. Page generated in 0.03090 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software