From: Artur Świgoń Date: Thu, 15 Sep 2022 13:52:56 +0000 (+0200) Subject: efl_ui_widget: Use top-down at-point search for POPUP_MENU X-Git-Tag: accepted/tizen/7.0/unified/hotfix/20221116.110728~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2fb705a0c0ca812a5a9d9190dfd287af782688b0;p=platform%2Fupstream%2Fefl.git efl_ui_widget: Use top-down at-point search for POPUP_MENU In case of CtxPopup, highlighting items by flicking over the menu works correctly, while tapping on an item causes a phantom button (not present in the AT-SPI tree) to be highlighted and breaking further flick-based navigation until the end of the context is reached. This is caused by wrong at-point search strategy and is fixed by this patch. @tizen_only Change-Id: Ic9f5e10cb972a48512253d7c727ab0bf1b991e3b --- diff --git a/src/lib/elementary/efl_ui_widget.c b/src/lib/elementary/efl_ui_widget.c index 0a02e26..1ab5e81 100644 --- a/src/lib/elementary/efl_ui_widget.c +++ b/src/lib/elementary/efl_ui_widget.c @@ -8393,7 +8393,9 @@ _efl_ui_widget_efl_access_component_accessible_at_point_get(Eo *obj, Elm_Widget_ case ELM_ATSPI_ROLE_INPUT_METHOD_WINDOW: case ELM_ATSPI_ROLE_DIALOG: case ELM_ATSPI_ROLE_PAGE_TAB: - case ELM_ATSPI_ROLE_POPUP_MENU: + //TIZEN_ONLY(20220915): Use top-down at-point search for POPUP_MENU + //case ELM_ATSPI_ROLE_POPUP_MENU: // Bottom-up search would find buttons absent from the AT-SPI tree in case of CtxPopup + // case ELM_ATSPI_ROLE_PANEL: DBG("Find accessible from bottom"); break;