Flicker in custom rendered table item [message #479299] |
Mon, 10 August 2009 11:42  |
Eclipse User |
|
|
|
Hi,
I wander what might cause custom rendered table item to flicker when
moving mouse over the table items (hovering)?
I have two tables that have almost identical table item rendering and
one of them flickers when I move mouse over the table items.
I guess that in the case where I see noticeable flicker, table items are
caused to redraw on mouse move events, but to the best of my knowlege I
have not attached any such listeners to this table...
The only difference I can come up with in these cases is that the table
that has flicker is also VIRTUAL style bit set... Can this affect it
somehow?
|
|
|
Re: Flicker in custom rendered table item [message #481887 is a reply to message #479299] |
Mon, 24 August 2009 11:47  |
Eclipse User |
|
|
|
Hi, sorry for the late reply,
The SWT.VIRTUAL style should not make a difference like this. I tried to
reproduce the problem with a simple snippet but did not see a flicker (on
win2000). Which platform do you see this on? And can you provide a
snippet that shows it happening (ideal template if possible:
http://www.eclipse.org/swt/faq.php#whatisasnippet )? Is a tooltip set on
the Table? Do you see your EraseItem and/or PaintItem callback being called
when the flicker happens?
Grant
"Roland Tepp" <roland@videobet.com> wrote in message
news:h5pf53$ui2$1@build.eclipse.org...
> Hi,
>
> I wander what might cause custom rendered table item to flicker when
> moving mouse over the table items (hovering)?
>
> I have two tables that have almost identical table item rendering and
> one of them flickers when I move mouse over the table items.
>
> I guess that in the case where I see noticeable flicker, table items are
> caused to redraw on mouse move events, but to the best of my knowlege I
> have not attached any such listeners to this table...
>
> The only difference I can come up with in these cases is that the table
> that has flicker is also VIRTUAL style bit set... Can this affect it
> somehow?
|
|
|
Powered by
FUDForum. Page generated in 0.25709 seconds