Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » flickering virtual table rows
flickering virtual table rows [message #532911] Tue, 11 May 2010 14:32 Go to next message
Luca Ferrari is currently offline Luca Ferrari
Messages: 159
Registered: November 2009
Senior Member
Hi all,
I've got an application loading data in a virtual table, however some data is not shown in each row. I mean, the row is there, if I select the row the data appears, while if I don't select the row it appears as empty. As far as I can see there is not a pattern, I can have n rows displayed correctly, one "empty", and other m displayed correctly. Even scrolling the table does not produce the row to appear, it seems a display problem.
I've noted the same behaviour on Linux/GTK and Windows Vista/XP.
I'm currently using the SWT jar 3.5.1.v3555a.

Any suggestion?
Re: flickering virtual table rows [message #533334 is a reply to message #532911] Thu, 13 May 2010 12:38 Go to previous messageGo to next message
Praveen  is currently offline Praveen
Messages: 86
Registered: July 2009
Member
Did you consider running the SWT snippets/examples (snippet202,
snippet151, snippet192) on your machine and notice the difference in the
way virtual tables are handled between your application and the
snippets. May be, that would be a kick-off starting point for you to
differentiate and determine the behavior.
Otherwise, please post a simple SWT snippet that showcase your problem,
so that we should be able to analyze the problem.
Re: flickering virtual table rows [message #543124 is a reply to message #533334] Mon, 28 June 2010 13:27 Go to previous message
Luca Ferrari is currently offline Luca Ferrari
Messages: 159
Registered: November 2009
Senior Member
After a lot of debugging I made it!
It was my fault, since I was returning a null row (null object) once every few rows, this was causing the label providers to display nothing in the table for such row. When I click such row, the right object was reloaded from the database and displayed well.
It was quite hard to discover.
Previous Topic:How to disable key binding Ctrl+i in StyledText control
Next Topic:Maximized shell size is bigger, than monitor resolution. Why?
Goto Forum:
  


Current Time: Thu Oct 02 06:39:10 GMT 2014

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

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