Project: titanium
Issue TIMOB-23701: iOS: close() is applied to multiple window views with Storyboard enabled
*This is a regression from 5.3.1.GA* It was found that when opening a second window within an app, calling the {{close()}} method will actually close both windows. *This only occurs when {{}} is set to TRUE, which is the default configuration.* h3. TEST CODE: {code:java} Ti.UI.backgroundColor = "Black"; var win = Ti.UI.createWindow({backgroundColor:'blue'}); var open = Ti.UI.createButton({	title: 'Open Window'	}); var close = Ti.UI.createButton({	title: 'Close Window' }); open.addEventListener('click', function(){	var win2 = Ti.UI.createWindow({backgroundColor:'green'});	win2.add(close);	close.addEventListener('click', function(){	win2.close();	});	win2.open(); }); win.add(open); win.open(); {code} Background: *Black* {color:#205081}Window 1: *Blue*{color} {color:#14892c}Window 2: *Green*{color} h2. Steps to Reproduce 1. Create a new Classic Mobile Project. 2. Copy above test code into app.js file. 3. Ensure that {{}} is set to TRUE in the tiapp.xml. 4. Run App to device / sim. 5. Click on "Open Window" button, this will open a second green window. 6. Click on "Close Window" button, this will close the second green window. h2. Actual Result Both {color:#205081}win1{color} & {color:#14892c}win2{color} are closed, revealing the black background. h2. Expected Result Only {color:#14892c}win2{color} should be closed.
Story points: 3