From: Seoyeon Kim Date: Wed, 14 Feb 2024 04:45:18 +0000 (+0900) Subject: Revert "genlist: unset FOCUSABLE, HIGHLIGHTABLE for DISPLAY_ONLY item" X-Git-Tag: accepted/tizen/unified/20240216.054933~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=303ed9e19f1c2f21363573af362098fbcbef1442;p=platform%2Fupstream%2Fefl.git Revert "genlist: unset FOCUSABLE, HIGHLIGHTABLE for DISPLAY_ONLY item" This reverts commit 59ac085b9a81b8fe254259625fc189402ec978b2. - When some list items previously not highlightable became highlightable. In such situation, particular list items would have to be made not highlightable by usage of api elm_atspi_accessible_can_highlight_set(). Change-Id: I8c5b1c9273e91e36f7f55ba519e3d7ae878c25a7 (cherry picked from commit 5e2800228bda9fbd9b6e9d3dc2aec8a7a58a44d9) --- diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c index 66023f5..2433fdd 100644 --- a/src/lib/elementary/elm_genlist.c +++ b/src/lib/elementary/elm_genlist.c @@ -9084,17 +9084,6 @@ _elm_genlist_item_efl_access_object_state_set_get(const Eo *eo_it, Elm_Gen_Item STATE_TYPE_SET(ret, EFL_ACCESS_STATE_TYPE_COLLAPSED); } // - //TIZEN_ONLY(20220511): Unset focusable,highlightable state for dispaly only item - Elm_Genlist_Data *sd = GL_IT(it)->wsd; - if ((sd->select_mode == ELM_OBJECT_SELECT_MODE_NONE) || - (sd->select_mode == ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY ) || - (it->select_mode == ELM_OBJECT_SELECT_MODE_NONE) || - (it->select_mode == ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY )) - { - STATE_TYPE_UNSET(ret, ELM_ATSPI_STATE_HIGHLIGHTABLE); - STATE_TYPE_UNSET(ret, ELM_ATSPI_STATE_FOCUSABLE); - } - // return ret; } diff --git a/src/lib/elementary_tizen/elm_genlist.c b/src/lib/elementary_tizen/elm_genlist.c index 9cb2bb1..1348578e 100644 --- a/src/lib/elementary_tizen/elm_genlist.c +++ b/src/lib/elementary_tizen/elm_genlist.c @@ -10646,18 +10646,6 @@ _elm_genlist_item_efl_access_object_state_set_get(const Eo *eo_it, Elm_Gen_Item if (it && it->itc && it->itc->item_style && strstr(it->itc->item_style, "title")) STATE_TYPE_SET(ret, ELM_ATSPI_STATE_READ_ONLY); // - //TIZEN_ONLY(20220511): Unset focusable,highlightable state for dispaly only item - Elm_Genlist_Data *sd = GL_IT(it)->wsd; - if ((sd->select_mode == ELM_OBJECT_SELECT_MODE_NONE) || - (sd->select_mode == ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY ) || - (it->select_mode == ELM_OBJECT_SELECT_MODE_NONE) || - (it->select_mode == ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY )) - { - STATE_TYPE_UNSET(ret, ELM_ATSPI_STATE_HIGHLIGHTABLE); - STATE_TYPE_UNSET(ret, ELM_ATSPI_STATE_FOCUSABLE); - } - // - return ret; }