HandleEvent & UpdateSettings
Hello,
I have just started playing with the SDK, but I am already seeing a rather annoying usability issue with ISettingsPlugin. In short, click events get swallowed when the keyboard focus leaves a modified text field.
Let's suppose there are the following controls: username (text), password (password), and login (button). The users types in the username and password, then clicks the login button - nothing happens.
Under the hood, HandleEvent on the button is called only when both values for username and password are already typed in and therefore there is no preceding UpdateSettings call when the focus moves from a text field to the login button.
Is there is something I miss?
Thanks
I have just started playing with the SDK, but I am already seeing a rather annoying usability issue with ISettingsPlugin. In short, click events get swallowed when the keyboard focus leaves a modified text field.
Let's suppose there are the following controls: username (text), password (password), and login (button). The users types in the username and password, then clicks the login button - nothing happens.
Under the hood, HandleEvent on the button is called only when both values for username and password are already typed in and therefore there is no preceding UpdateSettings call when the focus moves from a text field to the login button.
Is there is something I miss?
Thanks
0
-
It's been a long time so by now I assume the OP has either figured it out or given up. However, for posterity, there is a part that was missed.
Button events are received by in the handle() method, and that also gets a callback which can be used to refresh the settings so you can update with an error message or whatever. The CODemoPlugin code is a rough example of how to use it.
0
Please sign in to leave a comment.
Comments
1 comment