The validated inputs (e.g. the proxy IP in Settings=>Options=>Network)
will change their appearance and display a message when the content is
invalid. The current behavior is to update this status when the widget
gains or loses the focus; however the focus out event is not triggered
when the user clicks the form container, making the UI feel
- Check the "Connect through SOCKS5 proxy" checkbox
- Set the proxy IP to 127.0.0.1.42 (invalid) and click OK. The input
fields is red'ed and a error tooltip displayed.
- Change the proxy IP to 127.0.0.1 (now valid). The OK button remains
greyed and the input field red'ed despite valid. You need to click
another button or field (such as the port field) to undim the OK button.
This diff fixes this by checking the validity of the input field at
every key press, thus giving immediate feedback to the user.