Bug 499009 - [TMF] Event table draws incorrectly after dragging last column on GTK2
Summary: [TMF] Event table draws incorrectly after dragging last column on GTK2
Status: RESOLVED FIXED
Alias: None
Product: Tracecompass
Classification: Tools
Component: TMF (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Linux
: P3 normal
Target Milestone: 2.0.1   Edit
Assignee: Patrick Tasse CLA
QA Contact: Project Inbox CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-01 13:47 EDT by Patrick Tasse CLA
Modified: 2016-08-04 14:29 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 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.