uifw/AvKon/src/AknInfoPopupNote.cpp
branchRCL_3
changeset 19 aecbbf00d063
parent 10 3d340a0166ff
child 20 d48ab3b357f1
--- a/uifw/AvKon/src/AknInfoPopupNote.cpp	Thu Aug 19 10:11:06 2010 +0300
+++ b/uifw/AvKon/src/AknInfoPopupNote.cpp	Tue Aug 31 15:28:30 2010 +0300
@@ -449,8 +449,7 @@
         }
     else if( aType == KEikMessageFadeAllWindows )
         {
-        // Infopopu will be canceled when be faded no matter visible or not.
-        if ( iHideWhenAppFaded )
+        if ( IsVisible() && iHideWhenAppFaded )
             {
             iController.HideInfoPopupNote();
             }
@@ -472,8 +471,7 @@
              || aPointerEvent.iType == TPointerEvent::EButton1Up
              || aPointerEvent.iType == TPointerEvent::EDrag )
             {
-            Hide();
-            if ( aPointerEvent.iType == TPointerEvent::EButton1Down && !IsVisible() )
+            if ( aPointerEvent.iType == TPointerEvent::EButton1Up )
                 {
                 MTouchFeedback* feedback = MTouchFeedback::Instance();
                 if ( feedback )
@@ -482,6 +480,7 @@
                     }
                 }
 
+            Hide();
             SetPointerCapture( EFalse ); 
             }
         }