elm_entry: make the hoversel not focusable
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Mon, 30 Jul 2018 12:18:02 +0000 (13:18 +0100)
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>
Wed, 1 Aug 2018 04:24:44 +0000 (13:24 +0900)
Summary:
the hoversel is added to a entry while entrys are not build for handling
children focus. Disabling this prevents wrong focus operations.

fix T7163

Reviewers: zmike, #committers, netstar

Reviewed By: netstar

Subscribers: cedric, #committers, zmike

Tags: #efl

Maniphest Tasks: T7163

Differential Revision: https://phab.enlightenment.org/D6695

src/lib/elementary/elm_entry.c

index 9c73d69..64dfc77 100644 (file)
@@ -2270,6 +2270,7 @@ _menu_call(Evas_Object *obj)
         else elm_widget_scroll_freeze_push(obj);
 
         sd->hoversel = elm_hoversel_add(obj);
+        elm_object_tree_focus_allow_set(sd->hoversel, EINA_FALSE);
         context_menu_orientation = edje_object_data_get
             (sd->entry_edje, "context_menu_orientation");