Project: appceleratorstudio
Issue TISTUD-2287: TiApp Editor: prompt to save when focus leaves tiapp editor
Android Device Debugger: debug drop-down menu fails to list device option if tiapp.xml is dirty yet has a valid SDK. For instance, if a project has SDK 2.1.2 selected in the tiapp.xml and the xml is saved, then the tiapp.xml sdk version is changed to 3.0.0 but not saved, the debug to device option is not available under Debug > Android Device until the tiapp.xml is saved. There are probably many edge cases surrounding this issue. We are reading the tiapp.xml that is saved, not the one in memory (OR we should just list all run options by default because there is already an invalid config error, see screenshot 'Correct Error'). This is a usability issue. Steps to Reproduce: 1. Create a new project with the SDK set to a version such as 2.1.2.GA or lower (pre-device debugging support). 2. In the project tiapp.xml, change the sdk without saving to a version such as 3.0.0.X or higher (sdk w/device debugging support). 3. Go to Debug > Android Device. Actual Result: Android Device is not there because the tiapp.xml is not saved. See Screenshot 'Usability'. Expected Result: The Android Device entry should exist, and the tiapp.xml should be prompted for save before deployment. Note: There is currently an error pop-up if device debugging is attempted on an sdk below 2.2, so the current implementation already has a safeguard. See screenshot 'Correct Error'.
Story points: 5