uifw/EikStd/dlgsrc/EIKDPAGE.CPP
branchRCL_3
changeset 59 978afdc0236f
parent 56 d48ab3b357f1
child 72 a5e7a4f63858
--- a/uifw/EikStd/dlgsrc/EIKDPAGE.CPP	Wed Sep 01 12:16:19 2010 +0100
+++ b/uifw/EikStd/dlgsrc/EIKDPAGE.CPP	Tue Sep 14 21:48:24 2010 +0300
@@ -2245,6 +2245,8 @@
                     {
                     ExposeLine( iCurrentLine, ETrue );
                     }
+                TRAP_IGNORE( RecordLinesL() );
+                DrawDeferred();
                 break;
                 
             case KAknMessageFocusLost:
@@ -2260,6 +2262,15 @@
                         ShowFocus( EFalse, ETrue );
                         }
                     }
+                //Stop physics and synchronize the page to reset KS
+                //when page losing foreground.
+                if ( IsEditable() && iExtension->iScrolling 
+                	              && iPhysics->OngoingPhysicsAction() == 
+                                  CAknPhysics::EAknPhysicsActionDragging ) 
+                	{
+                	iPhysics->Stop();
+                    Synchronize();
+                    }
                 break;
 
             default:
@@ -3202,7 +3213,7 @@
     
     if ( ( touchedLine < iLines->Count() ) && ( touchedLine != iCurrentLine ) )
         {
-        (*iLines)[touchedLine]->ActivateL();
+        TRAP_IGNORE( (*iLines)[touchedLine]->ActivateL() );
         
         if ( LineIsFocusable( touchedLine ) )
             {