On Wed, 21 Mar 2012 10:53:47 +0900 Kim Shinwoo <kimcinoo....@gmail.com> said:

do you have a more complete test case with code? that'd be awesome!

> Dear All, Hello.
> 
> If the elm_list is contained in the container - can be popup, ctxpopup
> and so on - which has item with icon object such as a elm_radio
> and evas_object_del() is called in the item select callback, the
> application is crashed.
> If there is no icon on the elm_list item, the crash does not occur.
> The example to occur the crash as the following.
> 
> 
> static void _filter_all_cb(void *data, Evas_Object *obj,
>                void *event_info)
> {
>     Evas_Object *popup = (Evas_Object *)data;
>     evas_object_del(popup);
> }
> 
> static void
> _popup_center_text_cb(void *data, Evas_Object *obj __UNUSED__,
>                       void *event_info __UNUSED__)
> {
>    Evas_Object *popup, *btn1,*list, *radio;
> 
>    popup = elm_popup_add(data);
>    evas_object_size_hint_weight_set(popup, EVAS_HINT_EXPAND,
> EVAS_HINT_EXPAND);
> 
>     btn1 = elm_button_add(popup);
>     elm_object_text_set(btn1, "OK");
>     elm_object_part_content_set(popup, "button1", btn1);
>     evas_object_smart_callback_add(btn1, "clicked", NULL,
> NULL);//_response_cb, popup);
> 
>     list = elm_list_add(popup);
>     evas_object_size_hint_weight_set(list, EVAS_HINT_EXPAND,
>             EVAS_HINT_EXPAND);
>     evas_object_size_hint_align_set(list, EVAS_HINT_FILL, EVAS_HINT_FILL);
>     elm_list_mode_set(list, ELM_LIST_EXPAND);
>     evas_object_show(list);
> 
>     Evas_Object *group;
>     group = radio = elm_radio_add(list);
>     evas_object_size_hint_weight_set(radio, EVAS_HINT_EXPAND,
>             EVAS_HINT_EXPAND);
>     elm_list_item_append(list, "Radio", radio, NULL, _filter_all_cb, popup);
>     evas_object_show(radio);
> 
>     elm_object_content_set(popup, list);
>    evas_object_show(popup);
> }
> 
> I will check this issue also, but your help will be pretty good to  me.
> Thanks. Anyhow, I cannot create a ticket because my content is considered as
> a spam.. :(
> 
> Sincerely,
> Shinwoo Kim.
> 
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here 
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to