ctxpopup: completely disable focus-setting on show
authorMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 17 Feb 2016 20:56:50 +0000 (15:56 -0500)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 17 Feb 2016 21:00:42 +0000 (16:00 -0500)
this was previously disabled for internal list objects, and now
it is disabled for all subobjects of ctxpopup. applying focus here
invokes every possible focus bug in elementary and prevents the application
from being useful in any way

ref 974c8b05a4c97367b636593f5420ff01e8364aac
ref T3088

@fix

legacy/elementary/src/lib/elc_ctxpopup.c

index 96cb033..e1ce441 100644 (file)
@@ -991,8 +991,10 @@ _on_show(void *data EINA_UNUSED,
    _show_signals_emit(obj, sd->dir);
 
    elm_layout_sizing_eval(obj);
-
-   elm_object_focus_set(obj, EINA_TRUE);
+   /*
+    * XXX: see above comment, but for any swallowed list-type object
+    */
+   //elm_object_focus_set(obj, EINA_TRUE);
 }
 
 static void