Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.15k stars 301 forks source link

Closing without saving dirty project files causes two "save your files" prompts #409

Open ervumlens opened 9 years ago

ervumlens commented 9 years ago

"Are you sure? Are you sure you're sure?"

Minor inconsistency.

Komodo Edit, version 9.1.0, build 15798, platform linux-x86_64. Built on Sat May 30 05:22:08 2015.

Problem I was working with some dummy data in an editor. I didn't care about the data, so when I closed Komodo, I just chose the "Do Not Save" option. This was followed by a similar prompt to save the dirty files.

Steps to Reproduce

  1. Open a project file or create a new one.
  2. Make changes. Don't save them.
  3. Close Komodo.

Expected One prompt to save files. Choosing "Do Not Save" closes Komodo.

Actual Two prompts to save files:

  1. "Please select the files you wish to save". Choosing "Do Not Save" leads to...
  2. "Save Modified Files"

Cancelling the first prompt aborts the exit. "Do Not Save"-ing at the first prompt and cancelling the second prompt does nothing -- Komodo still closes.

If some project files are saved in the first prompt, the remaining dirty ones are asked about in the second prompt.

ervumlens commented 9 years ago

This only happens with files that belong to the current project. Macros and non-project files only appear in the first prompt. I updated the original description to help clarify this.

th3coop commented 8 years ago

We should fix this. Moving out of backlog to get some attention on it.