diff -r 4697dfb2d7ad -r 1d7827e39b52 mobilemessaging/unieditor/application/src/UniEditorAppUi.cpp --- a/mobilemessaging/unieditor/application/src/UniEditorAppUi.cpp Tue Feb 02 00:08:43 2010 +0200 +++ b/mobilemessaging/unieditor/application/src/UniEditorAppUi.cpp Fri Feb 19 22:47:38 2010 +0200 @@ -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) )