We have an application with a dialogue box that allows users to enter
text. Normally there is an OK and Cancel button, users click OK to
save and close the window, Cancel to close without saving. In Windows
(there are also Mac and Linux versions), currently closing the window
by clicking the X in upper right has the same behaviour as clicking
Cancel (closes without saving).
Is this proper? We've had a change request that clicking the X should
save the changes.
I also now wonder if we should prompt the user (e.g. "Close without
saving your changes?").