[elm_spinner] Forcefully setting highlight frame on spinner entry as on entry activation 24/73124/3 accepted/tizen/common/20160609.145701 accepted/tizen/ivi/20160609.091116 accepted/tizen/mobile/20160609.091123 accepted/tizen/tv/20160609.091119 accepted/tizen/wearable/20160609.091129 submit/tizen/20160608.130151
authorPrasoon Singh <prasoon.16@samsung.com>
Mon, 6 Jun 2016 16:10:18 +0000 (21:40 +0530)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Wed, 8 Jun 2016 04:56:21 +0000 (21:56 -0700)
frame goes to window again.

When entry is activated in spinner, focus is forcefully being set on entry, becuase if it is
not set then according to focus cycle focus will go on window. Same way frame also goes on
window when entry of the spinner is being activated, hence forcefully setting highlight frame
on spinner entry.

Change-Id: I62a34e46d7f1af4117c53ee742785e9d1eae0003

src/lib/elm_spinner.c

index 37446baa674cdf89871b70a6488128b2781137cc..417aa5b4d7571b9083b67ca938886bacaedd4e77 100644 (file)
@@ -396,6 +396,9 @@ _entry_hide(Evas_Object *obj)
    else
      elm_layout_signal_emit(obj, "elm,state,inactive", "elm");
 
+   //TIZEN_ONLY(20160606): Forcefully setting highlight frame on spinner entry as on entry activation frame goes to window again.
+   eo_do(obj, elm_interface_atspi_component_highlight_clear());
+   //
    sd->entry_visible = EINA_FALSE;
 }
 
@@ -624,6 +627,9 @@ _entry_show_cb(void *data,
    elm_entry_select_all(obj);
    sd->entry_visible = EINA_TRUE;
    elm_layout_signal_emit(data, "elm,state,button,inactive", "elm");
+   //TIZEN_ONLY(20160606): Forcefully setting highlight frame on spinner entry as on entry activation frame goes to window again.
+   eo_do(obj, elm_interface_atspi_component_highlight_grab());
+   //
 }
 
 static void