Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361886 - Occasional blank rows in tables
Summary: Occasional blank rows in tables
Status: RESOLVED FIXED
Alias: None
Product: MAT
Classification: Tools
Component: GUI (show other bugs)
Version: 1.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-25 03:01 EDT by Andrew Johnson CLA
Modified: 2011-11-01 10:00 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Johnson CLA 2011-10-25 03:01:13 EDT
Sometimes blank rows appear when a table is generated.

E.g. dump: core.20100112.141124.11580.0001.dmp.zip 
with the query
arrays_grouped_by_size .*

gives

                            Length | # Objects | Shallow Heap | Retained Heap
------------------------------------------------------------------------------
                            16,400 |         4 |       65,600 |     >= 65,600
                            65,552 |         1 |       65,552 |        65,552
                             8,208 |         7 |       57,456 |     >= 57,456
                                32 |       746 |       23,872 |     >= 26,216
                                24 |       482 |       11,568 |     >= 12,536
                                40 |       288 |       11,520 |     >= 11,776
                                48 |       138 |        6,624 |      >= 6,784
                             1,040 |         6 |        6,240 |      >= 6,240
                                56 |       109 |        6,104 |      >= 7,992
                               528 |        11 |        5,808 |      >= 5,808
                             2,368 |         2 |        4,736 |      >= 4,736
                             4,112 |         1 |        4,112 |        10,664
                             3,408 |         1 |        3,408 |         3,408
                                64 |        53 |        3,392 |      >= 3,608
                               176 |        19 |        3,344 |      >= 3,344
                               128 |        24 |        3,072 |      >= 3,072
                                   |           |              |              
                                80 |        35 |        2,800 |      >= 6,136
                                   |           |              |              
                               144 |        18 |        2,592 |      >= 5,536
                               136 |        18 |        2,448 |      >= 2,448
                             2,064 |         1 |        2,064 |        16,592
 Total: 22 of 50 entries / 115,984 |     2,133 |      317,712 |              
------------------------------------------------------------------------------


Selecting the blank row only brings up the columns/expand menu items.
Comment 1 Andrew Johnson CLA 2011-10-26 06:12:13 EDT
I think this is to do with virtual tables. TableAdapter.handleSetDataEvent() is not called for the blank rows.
Comment 2 Andrew Johnson CLA 2011-10-31 16:30:28 EDT
If setData is called on a TableItem then the SetData event will not happen, so we need to stop calling setData before there is data for a TableItem.
Comment 3 Andrew Johnson CLA 2011-11-01 10:00:55 EDT
Now fixed in RefinedResultViewer.