{ "id": "110422", "key": "TIMOB-12924", "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": "15564", "description": "2013 Sprint 15 API", "name": "2013 Sprint 15 API", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15567", "description": "2013 Sprint 15", "name": "2013 Sprint 15", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-07-25T18:12:25.000+0000", "created": "2013-03-01T01:15:11.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "6.0.1", "iPad", "ios", "module_orientation", "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "26855", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "111003", "key": "TIMOB-13027", "fields": { "summary": "iOS: TextField focus() event not fired when application loads in landscape mode as iPhone app on iPad", "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": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-08-22T11:13:11.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 attached sample application has login type, username and password fields. Tapping logintype will open another window. When the application is launched in landscape mode, the events are not fired to open the login type window. The password field is uneditable. If the device is tilted to portrait or if the app is launched in portrait all the events work fine. \r\n\r\nThis happens ONLY on the device and not on the sandbox using titanium studio.", "attachment": [ { "id": "35837", "filename": "IpadLsTest.zip", "author": { "name": "jeyakumard", "key": "jeyakumard", "displayName": "Jeyakumar Datchinamoorthi", "active": true, "timeZone": "America/New_York" }, "created": "2013-03-01T01:15:11.000+0000", "size": 2901117, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: App becomes unresponsive in landscape mode", "creator": { "name": "jeyakumard", "key": "jeyakumard", "displayName": "Jeyakumar Datchinamoorthi", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "jeyakumard", "key": "jeyakumard", "displayName": "Jeyakumar Datchinamoorthi", "active": true, "timeZone": "America/New_York" }, "environment": "iPad & iPad mini ios version 6.0, titanium SDK 2.1.5 (2/26 build)", "comment": { "comments": [ { "id": "240378", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I notice the bug while running the app on the iPad as if it were an iPhone app, small screen. Is this what you are seeing? I see no problems while running it as an iPad app. Always testing on device.", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-03-01T18:21:50.000+0000", "updated": "2013-03-01T18:21:50.000+0000" }, { "id": "240388", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This is a simple test case that also demonstrated the issue:\n{code}\nvar win = Ti.UI.createWindow({\n\tbackgroundColor:'#CCC',\n\torientationModes: [\n\t Titanium.UI.PORTRAIT,\n\t Titanium.UI.LANDSCAPE_LEFT,\n\t Titanium.UI.LANDSCAPE_RIGHT\n\t ]\n});\n\nvar view = Ti.UI.createView({\n\theight:100,\n\twidth: 100,\n\tbackgroundColor:'white'\n});\n\nview.addEventListener('click',function(){\n\talert('Hello?');\n});\nwin.add(view);\nwin.open();\n{code}\nOnly happens if build for iPhone and ran on iPad simulator or device.", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-03-01T19:30:36.000+0000", "updated": "2013-03-01T19:30:36.000+0000" }, { "id": "240426", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Took a look with Vishal, and it's related to iOS 6.0's strangeness. 5.0 doesn't show this, and hitTest and userInteractionEnabled show no differences. He's going to take a look since he's been working the most with 6.0 orientation magic.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-02T00:42:40.000+0000", "updated": "2013-03-02T00:42:40.000+0000" }, { "id": "240544", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "h3. Workaround\nPlacing this line of code in app.js fixes the issue for now\n{code}\nTitanium.UI.iPhone.showStatusBar({animated: false});\n{code}", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-03-04T18:18:09.000+0000", "updated": "2013-03-04T18:18:09.000+0000" }, { "id": "252161", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "There is a JS workaround. And we are not sure if the fix is safe enough for 3.1.1.\n\nMoving to 3.1.2 for now.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-05-15T20:25:45.000+0000", "updated": "2013-05-15T20:25:45.000+0000" }, { "id": "263078", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Master PR : https://github.com/appcelerator/titanium_mobile/pull/4487\n3_1_X PR : https://github.com/appcelerator/titanium_mobile/pull/4488", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-24T23:13:00.000+0000", "updated": "2013-07-24T23:13:00.000+0000" }, { "id": "263169", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "CR + FR approved", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-07-25T18:12:25.000+0000", "updated": "2013-07-25T18:12:25.000+0000" }, { "id": "266691", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix & the app does not become unresponsive when launched in landscape mode.\r\nThus closing\r\n\r\nEnvironment:\r\nAppcel Studio : 3.1.2.201308091728\r\nTi SDK : 3.1.2.v20130814124556\r\nMac OSX : 10.8.4\r\nAlloy : 1.2.0-beta\r\nCLI - 3.1.2-alpha\r\nIpad4 - 6.0.1", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-15T17:11:23.000+0000", "updated": "2013-08-15T17:11:23.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }