Project: SWT
Bug 32855 [Coolbar] Unnecessary flash when remove/add last item
Reported: 2003-02-24 18:24:15 | Status: resolved fixed

RC1 Run the attached test case. Press the Delete/Add button, which removes the last coolitem, then adds a new coolitem at the end. Notice that the 3 coolitems before the deleted/added item are erased and redrawn. This causes unnecessary flash and is quite apparent in Eclipse. Note that the test case includes a delay to illustrate the point. If you take out the delay you will see flash.

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