← Back to team overview

sikuli-driver team mailing list archive

[Bug 595283] Re: Sikuli IDE "Save" Operation Overwrites Existing Files Without Warning

 

** Changed in: sikuli
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/595283

Title:
  Sikuli IDE "Save" Operation Overwrites Existing Files Without Warning

Status in Sikuli:
  Fix Released

Bug description:
  Sikuli IDE "Save" Operation Overwrites Existing Files Without Warning

  Sikuli v10.1

  When saving via IDE, Sikuli will overwrite existing files without
  warning.  Allows users to make mistakes and overwrite existing
  projects.

  Basically, I inteneded to click Open, but clicked Save instead.  The
  problem is compounded by the fact that the "save" dialog is actually
  showing as an "open" dialog.  So, if you think you clicked open but
  accidentally clicked save, then you won't know it just by paying
  attention to the "save" dialog because it looks like an "open" dialog.

  Two Fixes Wanted:
  1. Make the dialog box more descriptive -- Change "save" dialog so that it actually shows "save" in the dialog title.  Change "open" button in dialog to say "save".
  2. Give a warning when saving to an existing project.  "Warning, files already exist.  Saving will overwrite existing files.  Do you want to continue?"

  To reproduce...
  1. Open Sikuli IDE.
  2. Untitled file is already presented to user.
  3. Click File-->Save.
  4. Navigate to existing project (navigate to a dummy / throwaway project)
  5. Click Open on dialog.
  6. Poof...files are gone.  :-(
  7. Cry a little on the inside.
  8. Grab your old backup and figure out what has changed since then.
  9. Cry a little more.