Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Flicker in custom rendered table item
Flicker in custom rendered table item [message #479299] Mon, 10 August 2009 15:42 Go to next message
Roland Tepp is currently offline Roland TeppFriend
Messages: 336
Registered: July 2009
Senior Member
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 15:47 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
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?
Previous Topic:Tree without Scrollbars on Cocoa
Next Topic:Difficulties scrolling a ListViewer
Goto Forum:
  


Current Time: Tue Apr 23 12:18:37 GMT 2024

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

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

Back to the top