diff -r 4917f9bf7995 -r 8bfb9186a8b8 widgets/widgetapp/src/WidgetUiWindowManager.cpp --- a/widgets/widgetapp/src/WidgetUiWindowManager.cpp Tue Apr 27 17:46:17 2010 +0300 +++ b/widgets/widgetapp/src/WidgetUiWindowManager.cpp Tue May 11 17:13:44 2010 +0300 @@ -688,7 +688,10 @@ TRAP_IGNORE( aWidgetWindow->Engine()->HandleCommandL( (TInt)TBrCtlDefs::ECommandIdBase + (TInt)TBrCtlDefs::ECommandDisconnect ) ); - iConnection->CancelConnection(); + iConnection->CancelConnection(); +#ifdef BRDO_OCC_ENABLED_FF + aWidgetWindow->StopConnectionObserving(); +#endif iConnection->StopConnectionL(); delete aWidgetWindow; return ETrue; @@ -711,6 +714,9 @@ aWidgetWindow->Engine()->HandleCommandL( (TInt)TBrCtlDefs::ECommandIdBase + (TInt)TBrCtlDefs::ECommandDisconnect ); +#ifdef BRDO_OCC_ENABLED_FF + aWidgetWindow->StopConnectionObserving(); +#endif iConnection->StopConnectionL(); } delete aWidgetWindow; @@ -1090,6 +1096,7 @@ (TInt)TBrCtlDefs::ECommandIdBase); #ifdef BRDO_WRT_HS_FF wdgt_window->Engine()->MakeVisible( EFalse ); + wdgt_window->SetIsCurrentWindow( EFalse ); wdgt_window->Engine()->SetRect( iCpsPublisher->BitmapSize()); //When HS comes to foreground show the latest updatd content on HS. //Relayout can sometimes happen only when widget in FullView. @@ -1405,6 +1412,9 @@ (TInt)TBrCtlDefs::ECommandIdBase + (TInt)TBrCtlDefs::ECommandDisconnect ) ); iConnection->CancelConnection(); +#ifdef BRDO_OCC_ENABLED_FF + window->StopConnectionObserving(); +#endif iConnection->StopConnectionL(); delete window; } @@ -1559,6 +1569,9 @@ (TInt)TBrCtlDefs::ECommandIdBase + (TInt)TBrCtlDefs::ECommandDisconnect ); iConnection->CancelConnection(); +#ifdef BRDO_OCC_ENABLED_FF + window->StopConnectionObserving(); +#endif iConnection->StopConnectionL(); } }