Fix for navigation problems related with relations 88/191688/6
authorLukasz Wlazly <l.wlazly@partner.samsung.com>
Mon, 22 Oct 2018 08:58:09 +0000 (10:58 +0200)
committerLukasz Oleksak <l.oleksak@samsung.com>
Tue, 23 Oct 2018 12:03:19 +0000 (12:03 +0000)
This patch fixes backward navigation by blocking processing
of relations before finding predecessor in canonical order.

Change-Id: I2b5cd71a8f54f408a10779dedf5b936fff0e7d76

src/lib/elementary/elm_atspi_bridge.c

index 7fc3453..e30252c 100644 (file)
@@ -4863,7 +4863,11 @@ static void *_calculate_neighbor_impl(accessibility_navigation_pointer_table *ta
              }
          }
 
-       void *next_related_in_direction = !force_next ? _get_object_in_relation_flow(table, node, forward) : NULL;
+       //TIZEN_ONLY(20181022): Fix for navigation problems related with relations
+       void *next_related_in_direction = NULL;
+       if (all_children_visited || forward)
+         next_related_in_direction = !force_next ? _get_object_in_relation_flow(table, node, forward) : NULL;
+       //
 
        /* force_next means that the search_mode is NEIGHBOR_SEARCH_MODE_CONTINUE_AFTER_FAILED_RECURSING
           in this case the node is elm_layout which is parent of proxy object.