diff -r 3de6c4cf6b67 -r 2cbbefa9af78 mpxplugins/viewplugins/views/collectionviewhg/src/mpxcollectionviewhgimp.cpp --- a/mpxplugins/viewplugins/views/collectionviewhg/src/mpxcollectionviewhgimp.cpp Wed Sep 01 12:32:02 2010 +0100 +++ b/mpxplugins/viewplugins/views/collectionviewhg/src/mpxcollectionviewhgimp.cpp Tue Sep 14 21:14:08 2010 +0300 @@ -308,6 +308,7 @@ delete iCurrentCba; delete iIncrementalOpenUtil; delete iCachedSelectionIndex; + delete iCurrentSelectedIndex; FeatureManager::UnInitializeLib(); delete iOperatorMusicStoreName ; if ( iOperatorMusicStoreURI ) @@ -6979,7 +6980,20 @@ CEikMenuPane* aMenuPane ) { MPX_FUNC( "CMPXCollectionViewHgImp::DynInitMenuPaneL" ); - + + if ( iContainer->IsTBoneView() ) + { + //makesure mediawall is not flicking before handling long tap + TInt currentIndex( iContainer->CurrentLbxItemIndex() ); + MPX_DEBUG2( "CMPXCollectionViewHgImp::DynInitMenuPaneL currentIndex = %d", currentIndex ); + if (currentIndex == KErrNotFound) + { + MPX_DEBUG1( "DynInitMenuPaneL NOT handling stylus popup menu when flicking"); + DimAllOptions(aResourceId, aMenuPane); + return; + } + } + CMPXCollectionViewListBoxArray* array = static_cast( iContainer->ListBoxArray() ); @@ -8532,6 +8546,7 @@ aMenuPane->SetItemDimmed( EMPXCmdFindInMusicShop, ETrue ); aMenuPane->SetItemDimmed( EMPXCmdSongDetails, ETrue ); aMenuPane->SetItemDimmed( EMPXCmdPlaylistDetails, ETrue ); + aMenuPane->SetItemDimmed( EMPXCmdUseAsCascade, ETrue ); break; } case R_AVKON_MENUPANE_MARKABLE_LIST: