Project: titanium
Issue TIMOB-18980: Windows: Closing an alert quits the app
h5.Description When dismissing an alert dialog, both the close button and the hardware back button quit the application. {code} var win = Ti.UI.createWindow({backgroundColor:'white'}); var button = Titanium.UI.createButton({ top: 60, title: 'Hello', width: '180', height: '80', image: '/KS_nav_ui.png' }); button.addEventListener('click', function(){ alert('HELLO!'); }); win.add(button); win.open(); {code} *I am unsure if the app quits or crashes as logging does not seem to work with my machine, I am investigating if this is on every machine or just mine* h5.Steps To Reproduce 1. Add the above code the the app.js of a Titanium Classic application 2. Build the app to device using {{appc run -p windows -T device}} or {{ti build -p windows -T device}} 3. Tap the 'Hello' button, due to TIMOB-18979 you can't see it, it's around the top middle in the top third of the screen 4. Tap 'Close' or the hardware back button h5.Actual Result The app quits h5.Expected Result The app should not quit
Story points: 5