Project: SWT
Bug 74824 Adding items to a combo is ridiculously slow on gtk
Reported: 2004-09-23 14:01:16 | Status: resolved wontfix

SWT3 final/p3 450/rh9 Result Motif: 770 Result GTK: 70500 -- Display display = new Display(); final Shell shell = new Shell(display); int n = 25000; String[] s = new String[n]; for (int i = 0; i < n; i++) s[i] = "A"; Combo combo = new Combo(shell, SWT.NONE); long t = System.currentTimeMillis(); combo.setItems(s); System.out.println((System.currentTimeMillis() - t));

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java