Home » Eclipse Projects » Nebula » Grid tooltips persistence
|
Re: Grid tooltips persistence [message #39856 is a reply to message #39729] |
Tue, 11 September 2007 22:16 |
Chris Gross Messages: 253 Registered: July 2009 |
Senior Member |
|
|
Hi Marco,
I've seen this problem too. I don't know whats causing it. I spent a
not insignificant amount of time looking at this at one point but didn't
find the cause.
I'll spend some more time looking into this.
-Chris
Marco Maccaferri wrote:
> Hi,
>
> I have a problem with the Grid cell tooltips: it happens, sometimes,
> that the tooltip doesn't go away when the mouse is moved outside the
> cell or even outside the grid control. In some unknown circumstances
> there are also two tooltips displayed at the same time for two different
> cells, and one of them doesn't go away, even if the grid is disposed.
>
> Unfortunately this happens in a very complex application I'm writing and
> every attempt made to build a simple test case failed. It seems that the
> mouse events are lost sometimes, but I can't find a way to reproduce in
> a simpler environment.
>
> Any suggestion on how I can track this problem, or set a temporary
> workaround (like force a dispose of the tooltip when another is shown) ?
>
> Thanks.
>
> Regards,
> Marco.
|
|
| | | | | | | | | | |
Re: Grid tooltips persistence [message #52948 is a reply to message #40209] |
Mon, 12 May 2008 16:10 |
Eclipse User |
|
|
|
Originally posted by: svo.ciklum.net
Hi,
We experience the same issue on Mac OS X now - tool tip doesn't
disappear as mouse leaves the grid. Also, tooltips block mouse events
from being received by grid, so I actually cannot process click on cell
when tooltip is over it. This is valid only for Mac, on Win everything
works fine. We are using rather fresh version of grid, checked out about
month or two ago.
Regards,
Stanislav
Chris Gross wrote:
> Ah ok. I see. I will ensure Grid works this way, except with Grid
> there are tooltips for each individual cell (i.e.
> setToolTipText(index,String). On those cells where a tooltip has been
> set, inplace tooltips will not be shown. And if the tooltip is "", then
> it won't get displayed either.
>
> Regards,
> -Chris
>
> Tom Schindl wrote:
>> null is for restoring the default behaviour.
>>
>> Tom
>>
>> Tom Schindl schrieb:
>>> Sorry Chris it's an empty string "".
>>>
>>> Tom
>>>
>>> Chris Gross schrieb:
>>>>> This is not correct. You can turn of displaying of ToolTips in
>>>>> SWT-Tables/Trees by setting setToolTipText(null). This is essential
>>>>> for the tooltip support provided by JFace with 3.3-API because the
>>>>> content of the ToolTip can be something completely different than
>>>>> the data displayed in the cell (e.g. Name of Person in the Cell /
>>>>> Image in the tooltip).
>>>> I don't see that behavior..? If I call Table.setToolTipText(null) I
>>>> can still see inplace tooltips for truncated cells. Were you
>>>> thinking about regular tooltips and not inplace tooltips perhaps?
>>>>
>>>> Regards,
>>>> -Chris
>>>
>>>
>>
>>
|
|
|
Re: Grid tooltips persistence [message #584646 is a reply to message #39729] |
Tue, 11 September 2007 22:16 |
Chris Gross Messages: 471 Registered: July 2009 |
Senior Member |
|
|
Hi Marco,
I've seen this problem too. I don't know whats causing it. I spent a
not insignificant amount of time looking at this at one point but didn't
find the cause.
I'll spend some more time looking into this.
-Chris
Marco Maccaferri wrote:
> Hi,
>
> I have a problem with the Grid cell tooltips: it happens, sometimes,
> that the tooltip doesn't go away when the mouse is moved outside the
> cell or even outside the grid control. In some unknown circumstances
> there are also two tooltips displayed at the same time for two different
> cells, and one of them doesn't go away, even if the grid is disposed.
>
> Unfortunately this happens in a very complex application I'm writing and
> every attempt made to build a simple test case failed. It seems that the
> mouse events are lost sometimes, but I can't find a way to reproduce in
> a simpler environment.
>
> Any suggestion on how I can track this problem, or set a temporary
> workaround (like force a dispose of the tooltip when another is shown) ?
>
> Thanks.
>
> Regards,
> Marco.
|
|
| | | | | | | | | | |
Re: Grid tooltips persistence [message #589825 is a reply to message #40209] |
Mon, 12 May 2008 16:10 |
blutkind Messages: 25 Registered: July 2009 |
Junior Member |
|
|
Hi,
We experience the same issue on Mac OS X now - tool tip doesn't
disappear as mouse leaves the grid. Also, tooltips block mouse events
from being received by grid, so I actually cannot process click on cell
when tooltip is over it. This is valid only for Mac, on Win everything
works fine. We are using rather fresh version of grid, checked out about
month or two ago.
Regards,
Stanislav
Chris Gross wrote:
> Ah ok. I see. I will ensure Grid works this way, except with Grid
> there are tooltips for each individual cell (i.e.
> setToolTipText(index,String). On those cells where a tooltip has been
> set, inplace tooltips will not be shown. And if the tooltip is "", then
> it won't get displayed either.
>
> Regards,
> -Chris
>
> Tom Schindl wrote:
>> null is for restoring the default behaviour.
>>
>> Tom
>>
>> Tom Schindl schrieb:
>>> Sorry Chris it's an empty string "".
>>>
>>> Tom
>>>
>>> Chris Gross schrieb:
>>>>> This is not correct. You can turn of displaying of ToolTips in
>>>>> SWT-Tables/Trees by setting setToolTipText(null). This is essential
>>>>> for the tooltip support provided by JFace with 3.3-API because the
>>>>> content of the ToolTip can be something completely different than
>>>>> the data displayed in the cell (e.g. Name of Person in the Cell /
>>>>> Image in the tooltip).
>>>> I don't see that behavior..? If I call Table.setToolTipText(null) I
>>>> can still see inplace tooltips for truncated cells. Were you
>>>> thinking about regular tooltips and not inplace tooltips perhaps?
>>>>
>>>> Regards,
>>>> -Chris
>>>
>>>
>>
>>
|
|
|
Goto Forum:
Current Time: Sat Oct 19 18:50:29 GMT 2024
Powered by FUDForum. Page generated in 0.06108 seconds
|