Page MenuHomePhabricator

gadget focus issue (no keyevents)
Closed, ResolvedPublic

Description

in my countdown gadget https://github.com/jf-simon/countdown
i use evas_object_event_callback_add(win, EVAS_CALLBACK_KEY_DOWN, key_down, ly); to grab key events.
(warning, it is a learning by doing gadget :-) )

first i have to click on the gadget and then it works fine, until i open and close the settings popup (popup = elm_win_add(win, "win", ELM_WIN_BASIC))
(all key works except "space")

now i don't get any key events anymore.

i expect to be able to receive key events after closing the popup

thanks for help

Simon

jf_simon created this task.Jan 17 2018, 1:29 AM

now its working.

except the "space" key.

zmike added a comment.Jan 22 2018, 9:27 AM

I tested with your gadget and I receive space after clocking the popup?

zmike added a comment.Jan 22 2018, 9:28 AM

Oh this is interesting, the keyname isn't being sent.