{ "id": "88122", "key": "TIMOB-8072", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-04-04T04:38:39.000+0000", "created": "2012-03-18T16:30:42.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "12570", "name": "Release 1.7.5", "archived": true, "released": true, "releaseDate": "2011-11-02" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [ { "id": "15802", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "87938", "key": "TIMOB-7998", "fields": { "summary": "iOS: Keypad displayed in the middle of the window on iOS", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-17T18:45:27.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": "h4.Issue\r\nKeypad is displayed in the middle of the window on iOS closing a child window, i.e. as seen in the screenshot attached.\r\n\r\nh6.Tested on\r\niOS simulator 4.3 & 5\r\niPhone 4\r\n\r\nh6.Reproduction steps\r\n1. Launch the app\r\n2. click on the text field, click the return key\r\n3. window 2 will open in the landscape mode.\r\n4. tilt the phone to landscape.\r\n5. click on the window2. it will close and display parent window\r\n6. once parent window is displayed, click on the text field\r\n7. tilt the phone to portrait.\r\n\r\nh6.Repro sequence\r\n{code:title=app.js}\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\n// create tab group\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\n\r\n// create base UI tab and root window\r\n//\r\n\r\ntabGroup.addEventListener('focus',function(e){\r\n\twin1.orientationModes=[\r\n\tTitanium.UI.PORTRAIT,\r\n Titanium.UI.LANDSCAPE_LEFT,\r\n Titanium.UI.LANDSCAPE_RIGHT\r\n ];\r\n});\r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\nwin1.orientationModes=[\r\n\tTitanium.UI.PORTRAIT,\r\n Titanium.UI.LANDSCAPE_LEFT,\r\n Titanium.UI.LANDSCAPE_RIGHT\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\ngl = {};\r\n\r\nvar label1 = Titanium.UI.createLabel({\r\n\tcolor:'#999',\r\n\ttext:'I am Window 1',\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:'auto'\r\n});\r\n\tvar winTxtField = Titanium.UI.createTextField({\r\n \t\t\tcolor:'#ff7c00',\r\n \t\t\tfont: {\r\n\t\t\t\tfontSize:16,\r\n\t\t\t\tfontWeight:'bold',\r\n\t\t\t\tfontFamily:'Helvetica Neue'\r\n\t\t\t},\r\n \t\ttop:9,\r\n \t\ttextAlign : 'right',\r\n \t\theight:46,\r\n \t\tbottom:15,\r\n \t\twidth: '100%',\r\n \t\tkeyboardType:Titanium.UI.KEYBOARD_NUMBERS_PUNCTUATION,\r\n \t\treturnKeyType:Titanium.UI.RETURNKEY_DEFAULT,\r\n \t\tborderStyle:Titanium.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n \t\tborderColor:'blue',\r\n \t\tborderWidth:2\r\n\t\t});\r\n\r\nTi.include('win2.js');\r\n\r\nwinTxtField.addEventListener('return',function(){\r\n\tgl.createNewWindow();\r\n});\r\n\r\nwin1.add(winTxtField);\r\n\r\ntabGroup.addTab(tab1); \r\n \r\ntabGroup.open();\r\n{code}\r\n\r\n{code:title=win2.js}\r\ngl.createNewWindow = function(){\r\n\tvar win2 = Titanium.UI.createWindow({ \r\n title:'I am window2',\r\n backgroundColor:'blue'\r\n});\r\nwin2.orientationModes=[\r\n Titanium.UI.LANDSCAPE_LEFT,\r\n Titanium.UI.LANDSCAPE_RIGHT\r\n ];\r\n \r\n win2.open();\r\n win2.addEventListener('click',function(e){\r\n \t //winTxtField.focus();//don't need this\r\n \t //Ti.UI.orientation = Ti.UI.PORTRAIT;//if you need to update to PORTRAIT mode\r\n \t //Ti.Android.currentActivity.setRequestedOrientation(Ti.Android.SCREEN_ORIENTATION_PORTRAIT);\r\n \t Ti.UI.orientation = Titanium.Gesture.orientation;\r\n \t win2.close();\r\n });\r\n};\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Keypad transition is not animated when device orientation changes", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": " Product: Mobile\r\n Titanium SDK: Mobile 1.7.5, 1.8.2\r\n Platform OS: iOS\r\n Platform OS Version: 4.2", "comment": { "comments": [ { "id": "245658", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces \r\n\r\nTested with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 \r\nTitanium SDK version: 3.0.2 \r\niOS iPhone Simulator: iOS SDK version: 6.0", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-04T04:38:39.000+0000", "updated": "2013-04-04T04:38:39.000+0000" }, { "id": "413590", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-17T18:45:27.000+0000", "updated": "2017-03-17T18:45:27.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }