Buggy code:
public boolean isStandaloneView ( IViewReference ref ) { } public boolean getShowTitleView ( IViewReference ref ) { } private void loadCustomPersp ( PerspectiveDescriptor persp ) { } private void unableToOpenPerspective ( PerspectiveDescriptor persp , IStatus status ) { } private void loadPredefinedPersp ( PerspectiveDescriptor persp ) throws WorkbenchException { } private void removeAlwaysOn ( IActionSetDescriptor descriptor ) { } private void addAlwaysOff ( IActionSetDescriptor descriptor ) { } private void addAlwaysOn ( IActionSetDescriptor descriptor ) { } private void removeAlwaysOff ( IActionSetDescriptor descriptor ) { } protected void onActivate ( ) { } protected void onDeactivate ( ) { } public void partActivated ( IWorkbenchPart activePart ) { } public void performedShowIn ( String partId ) { } public void removeFastView ( IViewReference ref ) { } public void removeFastView ( IViewReference ref , boolean handleLayout ) { } public IStatus restoreState ( IMemento memento ) { } IStatus createReferences ( IMemento [ ] views ) { } public IStatus restoreState ( ) { } public IViewReference restoreFastView ( IMemento fvMemento , MultiStatus result ) { } private ArrayList getPerspectiveExtensionActionSets ( ) { } private ArrayList getShowInIdsFromRegistry ( ) { } public void saveDesc ( ) { } public void saveDescAs ( IPerspectiveDescriptor desc ) { } public IStatus saveState ( IMemento memento ) { } private IStatus saveState ( IMemento memento , PerspectiveDescriptor p , boolean saveInnerViewState ) { } public void turnOnActionSets ( IActionSetDescriptor [ ] newArray ) { } public void turnOffActionSets ( IActionSetDescriptor [ ] toDisable ) { } public void turnOffActionSet ( IActionSetDescriptor toDisable ) { } public IViewReference getActiveFastView ( ) { } void setActiveFastView ( IViewReference ref , int steps ) { } void setActiveFastView ( IViewReference ref ) { } private void setAllPinsVisible ( boolean visible ) { } private void setFastViewIconSelection ( IViewReference ref , boolean selected ) { } public void setNewWizardActionIds ( ArrayList newList ) { } public void setPerspectiveActionIds ( ArrayList list ) { } public void setShowInPartIds ( ArrayList list ) { } public void setShowViewActionIds ( ArrayList list ) { } protected void showEditorArea ( ) { } protected void showEditorAreaLocal ( ) { } private EditorAreaTrimToolBar getEditorAreaTrim ( boolean createIfNecessary ) { } public void setEditorAreaState ( int newState ) { } public int getEditorAreaState ( ) { } public void refreshEditorAreaVisibility ( ) { } protected EditorAreaTrimToolBar setEditorAreaTrimVisibility ( boolean visible ) { } boolean showFastView ( IViewReference ref ) { } private void saveFastViewWidthRatio ( ) { } public IViewReference getViewReference ( String viewId , String secondaryId ) { } public IViewPart showView ( String viewId , String secondaryId ) throws PartInitException { ViewFactory factory = getViewFactory ( ) ; IViewReference ref = factory . createView ( viewId , secondaryId ) ; IViewPart part = ( ( IViewPart ) ( ref . getPart ( true ) ) ) ; if ( part == null ) { throw new PartInitException ( NLS . bind ( ViewFactory_couldNotCreate , ref . getId ( ) ) ) ; } ViewSite site = ( ( ViewSite ) ( part . getSite ( ) ) ) ; ViewPane pane = ( ( ViewPane ) ( site . getPane ( ) ) ) ; IPreferenceStore store = WorkbenchPlugin . getDefault ( ) . getPreferenceStore ( ) ; int openViewMode = store . getInt ( OPEN_VIEW_MODE ) ; if ( ( openViewMode == ( IPreferenceConstants . OVM_FAST ) ) && ( ( fastViewManager ) != null ) ) { fastViewManager . addViewReference ( FASTVIEWBAR_ID , ( - 1 ) , ref , true ) ; <START_BUG> showFastView ( ref ) ; <END_BUG> } else if ( ( openViewMode == ( IPreferenceConstants . OVM_FLOAT ) ) && ( presentation . canDetach ( ) ) ) { presentation . addDetachedPart ( pane ) ; } else { if ( Perspective . useNewMinMax ( this ) ) { LayoutPart vPart = presentation . findPart ( viewId , secondaryId ) ; String trimId = null ; if ( ( vPart != null ) && ( ( vPart . getContainer ( ) ) instanceof ContainerPlaceholder ) ) { ContainerPlaceholder cph = ( ( ContainerPlaceholder ) ( vPart . getContainer ( ) ) ) ; String id = cph . getID ( ) ; if ( ( fastViewManager . getFastViews ( id ) . size ( ) ) > 0 ) { trimId = id ; } } if ( ( trimId == null ) && ( ( presentation . getMaximizedStack ( ) ) != null ) ) { if ( vPart == null ) { ViewStackTrimToolBar blTrimStack = fastViewManager . getBottomRightTrimStack ( ) ; if ( blTrimStack != null ) { trimId = blTrimStack . getId ( ) ; LayoutPart blPart = presentation . findPart ( trimId , null ) ; if ( blPart instanceof ContainerPlaceholder ) { ContainerPlaceholder cph = ( ( ContainerPlaceholder ) ( blPart ) ) ; if ( ( cph . getRealContainer ( ) ) instanceof ViewStack ) { ViewStack vs = ( ( ViewStack ) ( cph . getRealContainer ( ) ) ) ; String compoundId = ref . getId ( ) ; if ( ( ref . getSecondaryId ( ) ) != null ) compoundId = ( compoundId + ':' ) + ( ref . getSecondaryId ( ) ) ; vs . add ( new PartPlaceholder ( compoundId ) ) ; } } } } } if ( trimId != null ) { fastViewManager . addViewReference ( trimId , ( - 1 ) , ref , true ) ; } else { boolean inMaximizedStack = ( vPart != null ) && ( ( vPart . getContainer ( ) ) == ( presentation . getMaximizedStack ( ) ) ) ; presentation . addPart ( pane ) ; if ( ( ( presentation . getMaximizedStack ( ) ) != null ) && ( ! inMaximizedStack ) ) { vPart = presentation . findPart ( viewId , secondaryId ) ;

Fix:
setActiveFastView ( ref ) ;