Bug 64902 packages view: keyboard focus lost after switching layout [browsing]
RC1 - browsing perspective, packages view - normal selection in the list in the view - invoke the view menu (Ctrl+F10) - choose Layout->Hierarchical -> view gets updated as expected -> keyboard focus is lost. There is no way to get out by keyboard only. expected: the element previously selected in the list is not selected; and if needed expanded. I suspect the focus is still with the list that was replaced by the tree.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesView.java
private int fState;
		public LayoutAction(String text, int state) {
			super(text, IAction.AS_RADIO_BUTTON);
			fState= state;
			if (state == PackagesView.LIST_VIEW_STATE)
				WorkbenchHelp.setHelp(this, IJavaHelpContextIds.LAYOUT_FLAT_ACTION);
			else
				WorkbenchHelp.setHelp(this, IJavaHelpContextIds.LAYOUT_HIERARCHICAL_ACTION);			
		}
		public int getState() {
			return fState;
		}
		public void setRunnable(Runnable runnable) {
			Assert.isNotNull(runnable);
		}
		/*
		 * @see org.eclipse.jface.action.IAction#run()
		 */
		public void run() {
			switchViewer(fState);
		}
	}
	private void switchViewer(int state) {