efl_ui_widget: Use top-down at-point search for POPUP_MENU 46/281346/3
authorArtur Świgoń <a.swigon@samsung.com>
Thu, 15 Sep 2022 13:52:56 +0000 (15:52 +0200)
committerArtur Świgoń <a.swigon@samsung.com>
Wed, 12 Oct 2022 09:10:28 +0000 (11:10 +0200)
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

src/lib/elementary/efl_ui_widget.c

index 0a02e26..1ab5e81 100644 (file)
@@ -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;