Bug 186211 [Viewers] SWT/JFace: TreeViewer unable to show same image in different columns
Build ID: I20070503-1400 Steps To Reproduce: 1. see atached snippet 2. 3. More information: If the same image is returned by the label provider, the tree viewer shows the image only in the first column. A table viewer shows the image in all columns. If separate images are used for the first and for all following columns, it works.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TreeViewerRow.java
private ViewerRow getRowBelow(boolean sameLevel) {
		Tree tree = item.getParent();
		
		
		if( item.getParentItem() == null ) {
			if( sameLevel || ! item.getExpanded() ) {
				int index = tree.indexOf(item) + 1;
				
				if( index < tree.getItemCount() ) {
					return new TreeViewerRow(tree.getItem(index));
				}
			} else if( item.getExpanded() && item.getItemCount() > 0 ) {
				return new TreeViewerRow(item.getItem(0));
			}
		} else {
			if( sameLevel || ! item.getExpanded() ) {
				TreeItem parentItem = item.getParentItem();
				
				int nextIndex = parentItem.indexOf(item) + 1;
				int totalIndex = parentItem.getItemCount();
				
				TreeItem itemAfter;
				
				
				if( nextIndex == totalIndex ) {
					itemAfter = findNextItem( parentItem );
				} else {
					itemAfter = parentItem.getItem(nextIndex);
				}