On Mon, 13 Feb 2012 14:26:24 +0900 ChunEon Park<[email protected]> said:
yay! i can skip this then :) > It's fixed already. > so for now, preferences_db_clear_activate() should not be called twice. > You don't need to look for anything if it works fine. :) > ------------------------------------ > -Regards, Hermet- > > -----Original Message----- > From: "Carsten Haitzler"<[email protected]> > To: "Enlightenment developer > list"<[email protected]> Cc: > Sent: 12-02-13(월) 13:05:07 > Subject: Re: [E-devel] event repetition with elm_naviframe/elm_genlist > On Wed, 4 Jan 2012 14:34:09 -0200 Gustavo Sverzut Barbieri > <[email protected]> said: > well i'm going to assume you meant preferences_db_clear_activate()... > and i just threw in some printfs.. it only gets called once... i dont see the > selected_set func in that cb right now... so what should i look for? i'm > seeing it work right here. > > Hey guys, > > > > Strange behavior happening with SVN head using elm_genlist inside > > elm_naviframe, the code is in enjoy's "preferences" and can be > > reproduced as (use svn version): > > > > - gdb enjoy > > - b preferences_db_clear > > - continue > > - click "Preferences" > > - click "Clear" > > > > See that preferences_db_clear() is being called twice. If you change > > enjoy's code and comment out this from > > preferences.c:preferences_db_clear(): > > > > elm_genlist_item_selected_set(it, EINA_FALSE); > > > > then it will emit only once. However, as used in other parts of enjoy, > > once the genlist item is clicked, it is unselected and the action is > > done (ie: push a new page). With every other code it works nicely, but > > none of them are using elm_naviframe. > > > > The backtrace seems strange, the event id and all are the same, see > > http://pastebin.com/uz1CUCgv > > > > Breakpoint 1, preferences_db_clear (data=0x7ffff2e80690, obj=0x7ffff2e80d50, > > event_info=0x7fffec0b0560) at preferences.c:14 > > 14 Elm_Genlist_Item *it = event_info; > > (gdb) bt > > #0 preferences_db_clear (data=0x7ffff2e80690, obj=0x7ffff2e80d50, > > event_info=0x7fffec0b0560) at preferences.c:14 > > #1 0x00007ffff7cf48ed in _item_select (it=0x7fffec0b0560) > > at elm_genlist.c:3199 > > #2 0x00007ffff7cee575 in _mouse_up (data=0x7fffec0b0560, evas=0x69c390, > > obj=0x7ffff2e86510, event_info=0x7fffffffd820) at elm_genlist.c:1382 > > #3 0x00007ffff643dd0e in evas_object_event_callback_call > > #(obj=0x7ffff2e86510, > > type=EVAS_CALLBACK_MOUSE_UP, event_info=0x7fffffffd820, event_id=7537) > > at evas_callbacks.c:224 > > #4 0x00007ffff643de10 in evas_object_event_callback_call > > #(obj=0x7ffff2e86bd0, > > type=EVAS_CALLBACK_MOUSE_UP, event_info=0x7fffffffd820, event_id=7537) > > at evas_callbacks.c:253 > > #5 0x00007ffff6441ede in evas_event_feed_mouse_up (e=0x69c390, b=1, > > flags=EVAS_BUTTON_NONE, timestamp=97221669, data=0x0) at evas_events.c:466 > > #6 0x00007ffff4e250be in _ecore_event_evas_mouse_button (e=0x7fffec015d10, > > press=ECORE_UP) at ecore_input_evas.c:177 > > #7 0x00007ffff4e2551d in ecore_event_evas_mouse_button_up (data=0x0, > > #type=20, > > event=0x7fffec015d10) at ecore_input_evas.c:266 > > #8 0x00007ffff5d24d9f in _ecore_call_handler_cb ( > > func=0x7ffff4e254f9 , data=0x0, type=20, > > event=0x7fffec015d10) at ecore_private.h:317 > > #9 0x00007ffff5d25d89 in _ecore_event_call () at ecore_events.c:704 > > #10 0x00007ffff5d2ccf0 in _ecore_main_loop_iterate_internal (once_only=0) > > at ecore_main.c:1844 > > #11 0x00007ffff5d2b5a1 in ecore_main_loop_begin () at ecore_main.c:887 > > #12 0x00007ffff7d1c8b3 in elm_run () at elm_main.c:836 > > #13 0x0000000000409286 in elm_main (argc=1, argv=0x7fffffffdb98) at > > #main.c:498 14 0x00000000004092e2 in main (argc=1, argv=0x7fffffffdb98) at > > #main.c:512 > > (gdb) c > > Continuing. > > > > Breakpoint 1, preferences_db_clear (data=0x7ffff2e80690, obj=0x7ffff2e80d50, > > event_info=0x7fffec0b0560) at preferences.c:14 > > 14 Elm_Genlist_Item *it = event_info; > > (gdb) bt > > #0 preferences_db_clear (data=0x7ffff2e80690, obj=0x7ffff2e80d50, > > event_info=0x7fffec0b0560) at preferences.c:14 > > #1 0x00007ffff7cf48ed in _item_select (it=0x7fffec0b0560) > > at elm_genlist.c:3199 > > #2 0x00007ffff7cee575 in _mouse_up (data=0x7fffec0b0560, evas=0x69c390, > > obj=0x7ffff2e86510, event_info=0x7fffffffd820) at elm_genlist.c:1382 > > #3 0x00007ffff643dd0e in evas_object_event_callback_call > > #(obj=0x7ffff2e86510, > > type=EVAS_CALLBACK_MOUSE_UP, event_info=0x7fffffffd820, event_id=7537) > > at evas_callbacks.c:224 > > #4 0x00007ffff643de10 in evas_object_event_callback_call > > #(obj=0x7ffff2e86870, > > type=EVAS_CALLBACK_MOUSE_UP, event_info=0x7fffffffd820, event_id=7537) > > at evas_callbacks.c:253 > > #5 0x00007ffff6441ede in evas_event_feed_mouse_up (e=0x69c390, b=1, > > flags=EVAS_BUTTON_NONE, timestamp=97221669, data=0x0) at evas_events.c:466 > > #6 0x00007ffff4e250be in _ecore_event_evas_mouse_button (e=0x7fffec015d10, > > press=ECORE_UP) at ecore_input_evas.c:177 > > #7 0x00007ffff4e2551d in ecore_event_evas_mouse_button_up (data=0x0, > > #type=20, > > event=0x7fffec015d10) at ecore_input_evas.c:266 > > #8 0x00007ffff5d24d9f in _ecore_call_handler_cb ( > > func=0x7ffff4e254f9 , data=0x0, type=20, > > event=0x7fffec015d10) at ecore_private.h:317 > > #9 0x00007ffff5d25d89 in _ecore_event_call () at ecore_events.c:704 > > #10 0x00007ffff5d2ccf0 in _ecore_main_loop_iterate_internal (once_only=0) > > at ecore_main.c:1844 > > #11 0x00007ffff5d2b5a1 in ecore_main_loop_begin () at ecore_main.c:887 > > #12 0x00007ffff7d1c8b3 in elm_run () at elm_main.c:836 > > #13 0x0000000000409286 in elm_main (argc=1, argv=0x7fffffffdb98) at > > #main.c:498 14 0x00000000004092e2 in main (argc=1, argv=0x7fffffffdb98) at > > #main.c:512 > > > > > > -- > > Gustavo Sverzut Barbieri > > http://profusion.mobi embedded systems > > -------------------------------------- > > MSN: [email protected] > > Skype: gsbarbieri > > Mobile: +55 (19) 9225-2202 > > > > ------------------------------------------------------------------------------ > > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > > infrastructure or vast IT resources to deliver seamless, secure access to > > virtual desktops. With this all-in-one solution, easily deploy virtual > > desktops for less than the cost of PCs and save 60% on VDI infrastructure > > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > > _______________________________________________ > > enlightenment-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > The Rasterman (Carsten Haitzler) [email protected] > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
