On Wed, Oct 25, 2017 at 9:36 PM, Marcel Hollerbach <mar...@osg.samsung.com>
wrote:

> bu5hm4n pushed a commit to branch master.
>
> http://git.enlightenment.org/core/efl.git/commit/?id=
> 53fcc4bb7de3bfc9c69f6e138bc25a1f52a49744
>
> commit 53fcc4bb7de3bfc9c69f6e138bc25a1f52a49744
> Author: Marcel Hollerbach <mar...@osg.samsung.com>
> Date:   Wed Oct 25 14:27:52 2017 +0200
>
>     elm_multibuttonentry: it cannot handle focus itself
>
>     the box in it is, so no need for can_focus == true.
>     This fixes the basic usage, however the order is sometimes a bit
>     screwed. Commits will follow.
> ---
>  src/lib/elementary/efl_ui_multibuttonentry.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/lib/elementary/efl_ui_multibuttonentry.c
> b/src/lib/elementary/efl_ui_multibuttonentry.c
> index b1abc2d00d..4cec0b167c 100644
> --- a/src/lib/elementary/efl_ui_multibuttonentry.c
> +++ b/src/lib/elementary/efl_ui_multibuttonentry.c
> @@ -1634,7 +1634,7 @@ _efl_ui_multibuttonentry_efl_canvas_group_group_add(Eo
> *obj, Efl_Ui_Multibuttone
>         (obj, "multibuttonentry", "base", elm_widget_style_get(obj)))
>       CRI("Failed to set layout!");
>
> -   elm_widget_can_focus_set(obj, EINA_TRUE);
> +   elm_widget_can_focus_set(obj, EINA_FALSE);
>
>     priv->last_it_select = EINA_TRUE;
>     priv->editable = EINA_TRUE;
>
>
IMHO, its bad idea to make MBE unfocusable by default since in real world
scenario, you would want to catch the unfocus event on mbe to make it
shrink.
(plz check mbe shrink example)

I think you could disable the focus traversal in mbe items but mbe should
be focusable by default.

--
>
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to