I am implementing some UI functionality. I have a button that perform some short or long (time) action. I have implemented so logic: if action's execution time more then some in milliseconds, then code locking other action controls, otherwise (to avoid blinking) the code does not do this. My questions are:
- What is the reasonable x value time can I use to change cursor to [wait] one?
I understand, if operation is too long ( more than few seconds) I have to show progress bar to inform user, that action is too long.
- What is the x value2 when I have to display progress bar? Are these any metrics?