Project: SWT
Bug 68950 Bug in List.showSelection method
Reported: 2004-06-29 21:21:23 | Status: resolved fixed

List.showSelection method doesn't always make the selection visible. The problem is in calculation of bottomIndex. int bottomIndex = Math.min (topIndex + visibleCount + 1, count - 1); has to be changed to: int bottomIndex = Math.min (topIndex + visibleCount - 1, count - 1);

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