Editbox throws two KeyDown events on pressed key

Issue #889 resolved
Lukas Meindl
created an issue

I dont know why but the editbox widgets seem to throw the KeyDown event twice.

Additionally, on a general note, the KeyDown and KeyUp events seem to contain no key character in the KeyEventArgs in general, is this correct behaviour?

Reproducibility: always

Steps to reproduce: Check event output in the widgetDemo for key inputs for any editbox or: -create editbox - register keydown event handler - check how often it is called for a key click

Comments (2)

  1. Paul Turner

    Not sure about the two events, not looked at that yet. The "missing" character is normal and to be expected for key up/down and is why we have that separate input injection for printable characters (otherwise CEGUI would have to perform its own keymapping and such, which is something I don't want to get into).

  2. Log in to comment