Bug 499009

Summary: [TMF] Event table draws incorrectly after dragging last column on GTK2
Product: [Tools] Tracecompass Reporter: Patrick Tasse <patrick.tasse>
Component: TMFAssignee: Patrick Tasse <patrick.tasse>
Status: RESOLVED FIXED QA Contact: Project Inbox <tracecompass-inbox>
Severity: normal    
Priority: P3    
Version: 2.0.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/78276
https://git.eclipse.org/c/tracecompass/org.eclipse.tracecompass.git/commit/?id=5ec304c4a544124d3d1fb426efdf45401fd15229
Whiteboard:

Description Patrick Tasse CLA 2016-08-01 13:47:19 EDT
In Linux GTK2, when dragging the last column in the event table to reorder it before another column, the table and the column headers draw incorrectly, until the header is clicked. The header then fixes itself but the table items don't update accordingly until each item is individually hovered with the mouse.

We suspect an abnormal early exit somewhere in the GTK library due to one of the SWT listeners added to the table, but until the real reason is found, it appears that the problem can be fixed by calling layout() on the Table from the TableColumn's controlMoved listener.
Comment 1 Eclipse Genie CLA 2016-08-01 14:02:37 EDT
New Gerrit change created: https://git.eclipse.org/r/78276
Comment 3 Patrick Tasse CLA 2016-08-04 14:29:56 EDT
Merged to stable-2.0 branch.

Fixed in master branch as part of https://git.eclipse.org/r/77933.