{ "id": "104692", "key": "TIMOB-11704", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "14621", "description": "2012 Sprint 23 API", "name": "2012 Sprint 23 API", "archived": true, "released": true, "releaseDate": "2012-11-19" }, { "id": "14623", "description": "2012 Sprint 23 JS", "name": "2012 Sprint 23", "archived": true, "released": true, "releaseDate": "2012-11-19" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-11-08T19:52:45.000+0000", "created": "2012-11-08T10:01:08.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-ios100112" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "22710", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "102444", "key": "TIMOB-11219", "fields": { "summary": "iOS: Black bar starts appearing below navBar when orientation changed between opening and closing of a window.", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:08.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "The second window in landscape closes with bottom up animation in a tab.\r\nThis is regression since the issue does not occur in 2.1.4, 2.1.3 GA and 2.1.2GA \r\n\r\nSteps to reproduce:\r\n1. Create an app using the code below.\r\n2. launch the app. Click 'win2'. The second window opens in landscape mode.\r\n3. Click on Tab1\r\n\r\nActual:\r\nThe second window closes with bottom up animation to reveal the first window.\r\n\r\nExpected:\r\nThe second window should close normally without any animation.\r\n\r\n{code}\r\n\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff',\r\n navBarHidden: false,\r\n tabBarHidden: true\r\n});\r\nvar tab1 = Titanium.UI.createTab({ \r\n icon:'KS_nav_views.png',\r\n title:'Tab 1',\r\n window:win1\r\n});\r\n\r\nvar b1 = Titanium.UI.createButton({\r\n\ttitle:'Win 2',\r\n\theight:40,\r\n\twidth:200,\r\n\ttop:30\r\n});\r\n\r\nwin1.add(b1);\r\n\r\nb1.addEventListener('click', function(e)\r\n{\r\n var w = Titanium.UI.createWindow({\r\n\tfullscreen:true,\r\n\t//url:'new_win.js',\r\n\tbarColor:'#111',\r\n\torientationModes:[Titanium.UI.LANDSCAPE_LEFT]\r\n });\r\n \r\n tab1.open(w);\r\n});\r\n\r\ntabGroup.addTab(tab1); \r\ntabGroup.open();\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Orientation - The second window in landscape closes with bottom up animation in a tab.", "creator": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 3.0.0.v20121107153859\r\nStudio: 3.0.0.201210301422\r\nDevice: iphone5(v 6.0), iPhone4s(v 5.1)\r\nOS:OSX 10.8", "comment": { "comments": [ { "id": "226750", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This is not a regression. This is the expected behavior change to avoid the issue reported in TIMOB-11219.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-11-08T19:52:45.000+0000", "updated": "2012-11-08T19:52:45.000+0000" }, { "id": "226751", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This change in behavior is caused by the change made to fix TIMOB-11219. This is the new expected behavior when switching from full screen windows to avoid race conditions.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-11-08T19:54:10.000+0000", "updated": "2012-11-08T19:54:10.000+0000" }, { "id": "240633", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing based on comments above", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-04T22:49:12.000+0000", "updated": "2013-03-04T22:49:12.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }