Bug 51665 [CoolBar] Extra flashiness when switching between perspectives
build I20040210-0800 In same window, - open a java perspective - open several java editors - open debug perspective - switch back and forth between java and debug perspectives The coolbar is noticeably flashier than it was in M6.
bundles/org.eclipse.jface/src/org/eclipse/jface/action/CoolBarManager.java
int j = 0;
            boolean foundSeparator = false;
            for (int i = 0; i < items.length; i++) {
                IContributionItem item = items[i];
                CoolItem coolItem = findCoolItem(item);
                if (item.isSeparator()) {
                    foundSeparator = true;
                }
                if ((!item.isSeparator()) && (!item.isGroupMarker())
                        && (item.isVisible()) && (coolItem != null)
                        && (foundSeparator)) {
                    wrapIndices[j] = coolBar.indexOf(coolItem);
                    j++;
                    foundSeparator = false;
                }
            }
            coolBar.setWrapIndices(wrapIndices);
            
            for (int i = 0; i < items.length; i++) {
                IContributionItem item = items[i];
                item.update(SIZE);
            }
            
            if (relock) {
                coolBar.setLocked(true);
            }
            if (changed) {
                updateTabOrder();
            }