diff -r 92a061761a7b -r 97c9f46387be browserui/browser/FavouritesSrc/BrowserBookmarksView.cpp --- a/browserui/browser/FavouritesSrc/BrowserBookmarksView.cpp Thu Jan 07 12:48:02 2010 +0200 +++ b/browserui/browser/FavouritesSrc/BrowserBookmarksView.cpp Mon Jan 18 20:22:00 2010 +0200 @@ -2792,4 +2792,19 @@ } } } + +void CBrowserBookmarksView::HandleForegroundEventL( TBool aForeground ) + { + // make sure we call base class function before proceeding + CBrowserFavouritesView::HandleForegroundEventL(aForeground); + if ( aForeground ) + { + if ( TheContainer()->GotoPaneActive() && TheContainer()->GotoPane()->PopupList()->IsPoppedUp() ) + { + // The pop up messes the screen when changing layouts + // So make sure to redraw the pane while coming to foreground + TheContainer()->GotoPane()->PopupList()->HandleResourceChange(KEikDynamicLayoutVariantSwitch); + } + } + } // End of File