Access, entry: even after entry is hidden, able to click on anchor issue fix 54/190654/2 tizen
authorShilpa Singh <shilpa.singh@samsung.com>
Thu, 20 Sep 2018 12:23:42 +0000 (17:53 +0530)
committerShilpa Singh <shilpa.singh@samsung.com>
Thu, 18 Oct 2018 11:35:30 +0000 (17:05 +0530)
Product patch: http://slp-info.sec.samsung.net/gerrit/#/c/3275170/1

Change-Id: I8fdd9194ec0525795444cec6d860c3d5c905859a
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
src/lib/elm_entry.c

index b3d9815..7390728 100644 (file)
@@ -8192,6 +8192,7 @@ _atspi_expose_anchors(Eo *obj, Eina_Bool is_atspi)
 {
    Evas_Textblock_Rectangle *r;
    Evas_Object *tb = elm_entry_textblock_get(obj);
+   Evas_Object *clip = evas_object_clip_get(tb);
    Evas *e = evas_object_evas_get(obj);
    const Eina_List *anchors_a, *l;
    Eina_List *ll, *ll_next, *range = NULL;
@@ -8251,6 +8252,8 @@ _atspi_expose_anchors(Eo *obj, Eina_Bool is_atspi)
                             if (!rect)
                               {
                                  rect = evas_object_rectangle_add(e);
+                                 evas_object_stack_above(rect, tb);
+                                 evas_object_clip_set(rect, clip);
                                  evas_object_move(rect, x + r->x, y + r->y);
                                  evas_object_resize(rect, r->w, r->h);
                                  evas_object_color_set(rect, 0, 0, 0, 0);