Issue Details (XML | Word | Printable)

Key: SQ-723
Type: Bug Bug
Status: Closed Closed
Resolution: Complete
Priority: Blocker Blocker
Assignee: Bert Freudenberg
Reporter: Bert Freudenberg
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
squeakland

Exiting in Sugar overwrites project

Created: 23/Jun/10 07:27 PM   Updated: 06/Sep/10 06:51 AM   Resolved: 28/Aug/10 08:46 AM
Component/s: etoys, etoys-olpc, etoys-sugar
Fix Version/s: etoys 4.1

Time Tracking:
Not Specified


 Description  « Hide
When stopped, Sugar activities are supposed to save automatically. And that is how Etoys does it currently. But it creates a lot of problems - playing with a project usually modifies it and you do not want it to be saved automatically. Instead, we should ask the user on exit if they want to save or not.

This is how the exit menu could look like:

You want to exit Etoys:
* Save project, then quit
* Do not save project, just quit
* Do not quit

I could not find a ticket for this problem although I was sure there is one. These are related: SQ-198, SQ-192, SQ-349.

Bert Freudenberg added a comment - 24/Aug/10 08:31 AM
Thinking about this more, I'd rather just warn about losing unsaved changes on exit.

To save, the user will always have to click the "keep in Journal" button. That button would bring up the project details dialog and allow to save.This matches Etoys behavior on other platforms.

I'm preparing a patch to do this.

Bert Freudenberg added a comment - 28/Aug/10 08:46 AM
Resolved in Sugar-bf.7
- do not save automatically when quitting under Sugar
- keep button brings up details dialog (but not yet synced with Sugar properties)
- the old behavior can be restored by enabling the sugarAutoSave preference