Project: SWT
Bug 130260 Regression: table viewer cannot edit cell without text
Reported: 2006-03-02 21:43:46 | Status: verified fixed

The attached sample view used to work with 3.2 M5, stopped working in the more recent integration builds. To reproduce: 1) Import the attached archive as a project into the workspace 2) Launch second Eclipse and show 'Sample View' 3) Click on one of the images in the first table column. Expected behaviour (as in M5): combo box cell editor should show up allowing you to change from 'Low', 'Medium' and 'High'. When leaving the edit mode, image in the first column should switch. Current behaviour: nothing happens when clicking on the image cell. Some debugging points at strange value returned by getBounds for the cell when reacting to the mouse down event (looks like the cell didn't take image width into acount, just text).

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java