On Thu, 12 Mar 2015 14:47:45 +0000 Andrew Williams <[email protected]> said:

> Hi,
> 
> I have a problem that my elm_list items are getting “clicked” when the UI
> shows. I add items to the list which is in a small window. On some platforms
> when I show the window the focus manager seems to cause a “clicked” event to
> fire. I’m just using the standard elm_list_item_append call with the smart
> callback function and nothing custom in the click handling.

what do you mean "on some platforms" ? i am suspecting you mean gnome, kde,
xfce, lxde etc. like platforms? if so - gdb and set a breakpoint for
evas_event_feed_mouse_down then run the app and see what is causing this mouse
down. i suspect it comes from the ecore event callback for mouse downs... which
means it's coming from x11 (someone/something is literally generating a mouse
click). if your description is right.

> Can anyone shed light about how to avoid this or if I should work around it?
> Should the click handler be determining if the event was truly a click? (and
> if so how?)
> 
> Thanks,
> Andy
> 
> -----
> Andy Williams
> blog: http://ajwillia.ms
> web:  http://andywilliams.me
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> 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]


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to