Bug 313106 [CommonNavigator] Regression: Show In > Project Explorer removes selection after setting it
N20100516-2000, broken since 3.6 M7, works in R3.5.x. First Show In > Project Explorer removes selection after setting it. 1. start with new workspace 2. switch to 'Resource' perspective 3. close the 'Project Explorer' 4. open the 'Navigator' 5. create a simple project 'P' 6. Navigate > Show In > Project Explorer ==> selection is set in the 'Project Explorer' but immediately removed afterwards Should fix for 3.6 since Show In > is broken
bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/NavigatorFilterService.java
activeFilters.addAll(Arrays.asList(theFilterIds));
		}
	}
	
	public void activateFilterIdsAndUpdateViewer(String[] filterIdsToActivate) {
		boolean updateFilterActivation = false;
		
		Arrays.sort(filterIdsToActivate);
		CommonFilterDescriptor[] visibleFilterDescriptors = (CommonFilterDescriptor[]) getVisibleFilterDescriptors();
		int indexofFilterIdToBeActivated;
		List nonUiVisible = null;
		
		
		for (int i = 0; i < visibleFilterDescriptors.length; i++) {
			indexofFilterIdToBeActivated = Arrays.binarySearch(filterIdsToActivate,
					visibleFilterDescriptors[i].getId());
			/*
			 * Either we have a filter that should be active that isn't XOR a
			 * filter that shouldn't be active that is currently
			 */
			if (indexofFilterIdToBeActivated >= 0 ^ isActive(visibleFilterDescriptors[i].getId())) {
				updateFilterActivation = true;
			}
			
			
			if (!visibleFilterDescriptors[i].isVisibleInUi()) {
				if (nonUiVisible == null)
					nonUiVisible = new ArrayList();
				nonUiVisible.add(visibleFilterDescriptors[i].getId());
			}