From: JunsuChoi Date: Thu, 31 Aug 2017 05:56:37 +0000 (+0900) Subject: [ATSPI] Add to find genlist item using proxy image X-Git-Tag: submit/tizen_3.0/20171019.130042~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da9b3affe94ecdbfbe4d67c1d554571e071ba414;p=platform%2Fupstream%2Felementary.git [ATSPI] Add to find genlist item using proxy image In a wearable profile, genlist displays the item using a proxy image. When a screen-reader finds an object in the top_down, it can not find the item. because, found item is proxy image. So, using evas_object_image_source_get and gets item view object from proxy image. Change-Id: I8fde784c71a7ec72add3996db006ba8ff059db66 --- diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c index b0d81d2e0..e034c4c3c 100644 --- a/src/lib/elm_widget.c +++ b/src/lib/elm_widget.c @@ -7262,6 +7262,16 @@ _accessible_at_point_top_down_get(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSE { Elm_Widget_Item_Data *id = eo_data_scope_get(child, ELM_WIDGET_ITEM_CLASS); compare_obj = id->view; + if (TIZEN_PROFILE_WEARABLE) + { + Eo* it_view = evas_object_image_source_get(stack_item); + if (it_view && it_view == compare_obj) + { + eina_list_free(children); + eina_list_free(stack); + return child; + } + } } /* In case of access object compare should be 'wrapped' evas_object */ if (eo_isa(child, ELM_ACCESS_CLASS))