{ "id": "119701", "key": "TIMOB-15084", "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": "15691", "description": "2013 Sprint 19", "name": "2013 Sprint 19", "archived": true, "released": true, "releaseDate": "2013-09-20" }, { "id": "15693", "description": "2013 Sprint 19 API", "name": "2013 Sprint 19 API", "archived": true, "released": true, "releaseDate": "2013-09-20" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-09-09T22:12:33.000+0000", "created": "2013-09-09T12:16:20.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios7", "qe-3.1.3" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-03T22:01:00.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": "iOS7: Orientation: Changing orientation of app to landscape, Keyboard stretches to left and right black bar.\r\nIt works fine on iOS 6 device. Screen shot is attached.\r\n\r\nSteps to reproduce:\r\n1. Run the App below.\r\n{code}\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : 'blue'\r\n});\r\nwin.orientationModes = [Titanium.UI.PORTRAIT, Titanium.UI.LANDSCAPE_LEFT, Titanium.UI.LANDSCAPE_RIGHT];\r\n\t\tvar flexSpace = Titanium.UI.createButton({\r\n\t\t\tsystemButton : Titanium.UI.iPhone.SystemButton.FLEXIBLE_SPACE\r\n\t\t});\r\n\t\tvar done = Titanium.UI.createButton({\r\n\t\t\tsystemButton : Titanium.UI.iPhone.SystemButton.DONE,\r\n\t\t\tbackgroundColor : '#44648E',\r\n\t\t\tbackgroundImage : 'none'\r\n\t\t});\r\n\t\tvar textField = Titanium.UI.createTextField({\r\n\t\t\tcolor : '#385487',\r\n\t\t\tright : '3.1%',\r\n\t\t\tleft : '3.1%',\r\n\t\t\ttop : 30,\r\n\t\t\tborderStyle : Titanium.UI.INPUT_BORDERSTYLE_NONE,\r\n\t\t\tborder : 0,\r\n\t\t\theight : 44,\r\n\t\t\tborderColor : '#000000',\r\n\t\t\tbackgroundColor : 'transparent',\r\n\t\t\tfont : {\r\n\t\t\t\tfontSize : 17,\r\n\t\t\t\tfontFamily : 'Helvetica Neue'\r\n\t\t\t},\r\n\t\t\treturnKeyType : Titanium.UI.RETURNKEY_DONE,\r\n\t\t\tkeyboardType : Ti.UI.KEYBOARD_NUMBER_PAD,\r\n\t\t\tkeyboardToolbar : [flexSpace, flexSpace, done],\r\n\t\t});\r\n\r\n\t\tdone.addEventListener('click', function(e) {\r\n\t\t\ttextField.blur();\r\n\t\t});\r\n\r\n\t\twin.add(textField);\r\n\r\nwin.open();\r\n\r\n{code}\r\n\r\n2. Click on the textField.\r\n3. Rotate the device to Landscape mode.\r\n\r\nExpected:\r\nWindow with textfield should not leave any black bar on left and right side.\r\n\r\nActual:\r\nWindow with textfield leaves black bar on left and right side.\r\nScreen shot is attached for iOS7 and iOS 6 devices.\r\n", "attachment": [ { "id": "42315", "filename": "Landscape_iOS6.png", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-09-09T12:16:20.000+0000", "size": 112247, "mimeType": "image/png" }, { "id": "42314", "filename": "Landscape_iOS7.png", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-09-09T12:16:20.000+0000", "size": 153456, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS7: Orientation: Changing orientation of app to landscape, Window leaves black bar to left and right side.", "creator": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Device : iPod touch 1 5th Generation, iOS version: 7\r\nSDK: 3.1.3.v20130908095038\r\nCLI version : 3.1.2\r\nOS : MAC OSX 10.8.4\r\nAlloy : 1.2.2-beta\r\nAppcelerator Studio, build: 3.1.3.201309072408\r\nXCode : 5 DP 6", "comment": { "comments": [ { "id": "408947", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T22:01:00.000+0000", "updated": "2017-03-03T22:01:00.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }