diff -r 022fc9a9f172 -r 43cbef41dd6d mobilemessaging/unieditor/application/src/UniEditorAppUi.cpp --- a/mobilemessaging/unieditor/application/src/UniEditorAppUi.cpp Sun Mar 28 16:36:08 2010 +0100 +++ b/mobilemessaging/unieditor/application/src/UniEditorAppUi.cpp Mon Mar 29 12:25:56 2010 +0100 @@ -1788,14 +1788,23 @@ { TPointerEvent* event = static_cast( aArg2 ); CMsgBaseControl* control = static_cast( aArg1 ); - if(iLongTapDetector) - { - iLongTapDetector->EnableLongTapAnimation(ETrue); - iLongTapDetector->PointerEventL( *event ); - } + if ( event->iType == TPointerEvent::EButton1Down ) { iFocusedControl = control; + if ( control && + ( control->ControlId() == EMsgComponentIdAudio || + control->ControlId() == EMsgComponentIdImage || + control->ControlId() == EMsgComponentIdVideo || + control->ControlId() == EMsgComponentIdAttachment || + control->ControlId() == EMsgComponentIdSvg ) ) + { + if(iLongTapDetector) + { + iLongTapDetector->EnableLongTapAnimation(ETrue); + iLongTapDetector->PointerEventL( *event ); + } + } iTapConsumed = EFalse; } else if ( (!iTapConsumed) && (event->iType == TPointerEvent::EButton1Up) )