{ "id": "87938", "key": "TIMOB-7998", "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": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13170", "name": "Sprint 2012-06", "archived": true, "released": true, "releaseDate": "2012-03-25" }, { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-04T17:20:30.000+0000", "created": "2012-03-14T11:54:45.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_textfield", "qe-ios090112", "qe-testadded", "regression" ], "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" }, "inwardIssue": { "id": "88122", "key": "TIMOB-8072", "fields": { "summary": "iOS: Keypad transition is not animated when device orientation changes", "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 } } } }, { "id": "21715", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "101466", "key": "TIMOB-11023", "fields": { "summary": "iOS: Different reaction of ScrollView in iOS 5.0 and 5.1", "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 } } } }, { "id": "16169", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "89079", "key": "TIMOB-8368", "fields": { "summary": "iOS: soft keyboard behavior during orientation change is now different across handheld devices", "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": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-10-04T17:20:30.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": [ { "id": "26212", "filename": "KeyPad_middle.png", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-14T11:54:45.000+0000", "size": 119758, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Keypad displayed in the middle of the window on iOS", "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": "186929", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Update test case to address text widget visibility in 2.0.0", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-16T18:30:51.000+0000", "updated": "2012-03-16T18:30:51.000+0000" }, { "id": "186965", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Accepted the initial [PR 1718|https://github.com/appcelerator/titanium_mobile/pull/1718] which fixes the issue. Keeping the ticket open to see if we can resolve the visual glitch where by the keyboard animates down to its correct position.", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-18T10:45:02.000+0000", "updated": "2012-03-18T10:45:02.000+0000" }, { "id": "187116", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Verified fix on:\r\n\r\nSDK build: 2.0.0.v20120319003254\r\nTitanium Studio, build: 2.0.0.201203182248\r\nxcode: 4.2\r\nDevice: iphone 4 (5.1)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-19T11:40:41.000+0000", "updated": "2012-03-19T11:40:41.000+0000" }, { "id": "192027", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening to update labels.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-20T10:34:06.000+0000", "updated": "2012-04-20T10:34:06.000+0000" }, { "id": "221789", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening issue and adding a \"regression\" label, since the behavior does not occur on 2.1.2.\r\nTested on: \r\nOS: Mac OS X Lion 10.7.4\r\nTitanium Studio, build: 2.1.2.201208301612\r\nTitanium SDK, build: 2.1.3.v20121002110115; 2.1.3.v20120928203111\r\nDevices: iPhone 5 (6.0.GM), iPhone 4 (5.1.1)\r\n\r\nNote: After step 3 from description do not rotate the device to lanscape mode, keep it in portrait.", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-02T21:12:50.000+0000", "updated": "2012-10-02T21:28:10.000+0000" }, { "id": "221817", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FIXED ON MASTER BY https://github.com/appcelerator/titanium_mobile/pull/3098\nFIXED ON 2_1_X BY https://github.com/appcelerator/titanium_mobile/pull/3099\n\nINTRODUCED BY FIX FOR TIMOB-11023", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-02T23:14:09.000+0000", "updated": "2012-10-02T23:14:09.000+0000" }, { "id": "221818", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "reintroduced by fix for timob-11023, so linking it here.", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-02T23:15:13.000+0000", "updated": "2012-10-02T23:15:13.000+0000" }, { "id": "221819", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "doing CR & FR against all regressing tickets.", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-02T23:16:01.000+0000", "updated": "2012-10-02T23:16:01.000+0000" }, { "id": "221985", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed.\r\nVerified with:\r\nTitanium Studio, build: 2.1.2.201208301612\r\nTitanium Studio, SDK: 2.1.3.GA\r\nTitanium Studio, SDK: 3.0.0.v20121003162513\r\nDevice:\r\niPhone4 ios 6.0\r\nSimulator 6.0", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-03T22:14:12.000+0000", "updated": "2012-10-04T17:20:19.000+0000" }, { "id": "222081", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "reopening to edit comment", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-04T17:19:45.000+0000", "updated": "2012-10-04T17:19:45.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }