* Jaehwan Kim <jaehwan.kim....@gmail.com> [2012-11-12 14:57:02 +0900]:

> Dear all
>
> I have a problem in elm_image. (exactly when elm_image use
> edje_object_file_set)
> When the image is added from edj file, we cannot get the "clicked" callback.
> Internally, when the image use edje_object_file_set, EVAS_CALLBACK_MOUSE_UP
> event callback is not called.
>
> You can check the problem by using attached diff file.
> If you change the the code test_event.c, you can compare the situation.
> Change "# if 1" to "#if 0".
> Please check this problem.
>
> Thanks.

Hi, Jaehwan.

It's indeed problematic code, I'll just drop my last remark on it here:

"I'd also like to warn the elm_image's original implementor(s) that, a
line that I kept,

   evas_object_event_callback_add
     (img, EVAS_CALLBACK_MOUSE_UP, _on_mouse_up, obj);

is buggy and waiting for bad things to happen. This should ideally be
taken care of as Edje does, before emitting a 'clicked' signal -- we
gotta track if the mouse down was also done inside the object and
so. Please prove me wrong, if it's the case."

No time to address this issue myself now, but I hope the problem is
clarified :)

BR,
--
Gustavo Lima Chaves
Computer Engineer @ ProFUSION Embedded Systems

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to