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
/**
	 * @param aContentService
	 *            The corresponding content service
	 */
	public NavigatorFilterService(NavigatorContentService aContentService) {
		contentService = aContentService;
		restoreFilterActivation();
	}
	private synchronized void restoreFilterActivation() {
		SafeRunner.run(new NavigatorSafeRunnable() {
			public void run() throws Exception {
				IEclipsePreferences prefs = NavigatorContentService.getPreferencesRoot();
				if (prefs.get(getFilterActivationPreferenceKey(), null) != null) {
					String activatedFiltersPreferenceValue = prefs.get(
							getFilterActivationPreferenceKey(), null);
					String[] activeFilterIds = activatedFiltersPreferenceValue.split(DELIM);
					for (int i = 0; i < activeFilterIds.length; i++) {
						activeFilters.add(activeFilterIds[i]);
					}
				} else {
					ICommonFilterDescriptor[] visibleFilterDescriptors = getVisibleFilterDescriptors();
					for (int i = 0; i < visibleFilterDescriptors.length; i++) {
						if (visibleFilterDescriptors[i].isActiveByDefault()) {
							activeFilters.add(visibleFilterDescriptors[i].getId());
						}
					}
				}
			}
		});
	}