Ticket #641 (closed defect: fixed)
"cancel" that becomes "close"
| Reported by: | zloba_org | Owned by: | dreamforce2 |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3.4 |
| Component: | qt-gui | Version: | |
| Keywords: | Cc: |
Description (last modified by erijo) (diff)
in the chat window, when i hit "Send" and it's in the process of sending the message, "Send" becomes disabled, and "Close" becomes "Cancel". IMHO this is a rather bad idea - here's a scenario (it actually happened once or twice), and i keep expecting it to happen again.
[ What is the point of this transformation anyway? A radical change in function that occurs asynchronously = bad idea ]
I am sending the first message to a user with a slow connection, high latency. I hit send ("Send through server" is Off) - it starts sending it. Then, i start thinking they're behind firewall, and try to cancel it, enable "Send through server" and "Send" again.
However, just as i hit "Cancel", the message does come through, the button becomes "Close" again, and the window gets closed. ARGH!
I would suggest either:
- let "Send" become "Cancel". If the message suddenly comes through, the field will be cleared so nothing bad will happen.
- make a separate "Cancel" button. If the message comes through, it will become disabled, and in any case won't do nothing unexpected. I'd prefer this one.
+ In any case, i'd disable input field while sending (and every other button as well), so that the user cancels explicitly before doing anything else, lest any text becomes lost, or any other surprises happen.
