Re: Document-based applications



Murray Cumming wrote:

>   * Already open:
>   Check whether the document is already open in this or another instance. Tell
> the user and bring it to the front if it is already open.
>   e.g. 'This document is already open.'

Check if file is modified.  If so, offer to revert to saved document, or open a
new copy.  Force "save as" at next save.

>   * 'Modified' indicator:
>   When the document has unsaved changes, this should be indicated by:
>   - Disable File|Save menu item.
>   - Disable File|Save toolbar button.
>   - Show * after the document name in title bar.

You mean the opposite, right?  If the file is unchanged, disable the save (not
"save as") buttons.  If it has changes made, re-enable them.

> Session Management:
>   If the user logs off while an application is open, it should:
>   - Warn the user about unsaved changes, like File | Exit.
>   - Restart when the user logs back on.
>   - Reopen the same documents when the user logs back on.

If the system is being shut down because of power problems or something, the user
may not have the opportunity.  The program should save the file with a unique
name (based on the original name if possible?) and re-open it the next time it is
started, with the same status as before (modified) and the same name as before if
the user saves it.


--
Michael T. Babcock (PGP: 0xBE6C1895)
http://www.fibrespeed.net/~mbabcock/







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]