I've a weird issue,
I've a table with 2 columns and 3 rows each cell text can be edited at run time, when I edit the cell in the 3rd row second column I get the upper cell modified too with the same text this only occurs on redhat6 . works fine with rhe5 and rhe4 editor of type TextCellEditor;
TableItem item = table.getItem(textEditor.getControl().getLocation());
getItem method implementation in Table.class is :
public TableItem getItem (Point point) {
checkWidget();
if (point == null) error (SWT.ERROR_NULL_ARGUMENT);
int /*long*/ [] path = new int /*long*/ [1];
OS.gtk_widget_realize (handle);
if (!OS.gtk_tree_view_get_path_at_pos (handle, point.x, point.y, path,null, null, null)) return null;
if (path [0] == 0) return null;
int /*long*/ indices = OS.gtk_tree_path_get_indices (path [0]);
TableItem item = null;
if (indices != 0) {
int [] index = new int [1];
OS.memmove (index, indices, 4);
item = _getItem (index [0]);
}
OS.gtk_tree_path_free (path [0]);
return item;
}
I thought it might be my GTK library . I have GTK2 lib installed.