as you can see , for the mouse we have "qx.event.IEventHandler.TARGET_DOCUMENT + qx.event.IEventHandler.TARGET_WINDOW" in addition to what we have for keyboard events.
adding them to Keyboard handler will remove this warning in applications:
"There is no event handler for the event 'keydown' on target '[object HTMLDocument]'!"
Gabriel Munteanu (jajalinux) wrote:
this bug is similar to http://bugzilla.qooxdoo.org/show_bug.cgi?id=4669 but for keyboard events.
compare the TARGET_CHECK static in both these files: http://qooxdoo.svn.sourceforge.net/viewvc/qooxdoo/trunk/qooxdoo/framework/source/class/qx/event/handler/Keyboard.js?revision=28889&view=markup and http://qooxdoo.svn.sourceforge.net/viewvc/qooxdoo/trunk/qooxdoo/framework/source/class/qx/event/handler/Mouse.js?revision=28889&view=markup
as you can see , for the mouse we have "qx.event.IEventHandler.TARGET_DOCUMENT + qx.event.IEventHandler.TARGET_WINDOW" in addition to what we have for keyboard events. adding them to Keyboard handler will remove this warning in applications: "There is no event handler for the event 'keydown' on target '[object HTMLDocument]'!"
assigned to Alexander Steitz (@asteitz)