cedric pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=3a018721d83f2efc220572c29c3a17bcb575fc85
commit 3a018721d83f2efc220572c29c3a17bcb575fc85 Author: Prince Kumar Dubey <prince.du...@gmail.com> Date: Tue Jul 28 21:00:58 2015 +0200 entry: few times the hit_rect is not clipped properly during genlist scrolling, with entry as content. Summary: It has been observed that while scrolling of genlist with entry, clipping is not happening and "hit_rect" comes over navi item title. e.g. During theme change such scenario comes. @fix Test Plan: Scenario not in elementary test. Entry as content of genlist item. Same genlist should be the content of naviframe item. In this scenario genlist height must be grater than viewport sie so scrolling possible. Reviewers: cedric, raster, Hermet, woohyun Subscribers: rajeshps, govi Differential Revision: https://phab.enlightenment.org/D2836 Signed-off-by: Cedric BAIL <ced...@osg.samsung.com> --- src/lib/elm_entry.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index dda0057..ea7d3c4 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -839,6 +839,9 @@ _elm_entry_elm_widget_theme_apply(Eo *obj, Elm_Entry_Data *sd) edje_object_message_signal_process(sd->entry_edje); + Evas_Object* clip = evas_object_clip_get(sd->entry_edje); + evas_object_clip_set(sd->hit_rect, clip); + if (sd->scroll) { Eina_Bool ok = EINA_FALSE; @@ -3407,6 +3410,10 @@ _elm_entry_evas_object_smart_add(Eo *obj, Elm_Entry_Data *priv) priv->hit_rect = evas_object_rectangle_add(evas_object_evas_get(obj)); evas_object_data_set(priv->hit_rect, "_elm_leaveme", obj); + + Evas_Object* clip = evas_object_clip_get(priv->entry_edje); + evas_object_clip_set(priv->hit_rect, clip); + evas_object_smart_member_add(priv->hit_rect, obj); elm_widget_sub_object_add(obj, priv->hit_rect); --