{ "id": "155633", "key": "TIMOB-20550", "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": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-03-11T22:18:01.000+0000", "created": "2016-03-11T03:30:51.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "alertDialog", "autolayout", "qe-5.4.0", "textfield" ], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-06-10T21:53:59.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": "Currently in master starting with build 5.4.0.v20160309142224 I'm running into an issue where all of the controls on a window lose focus after an AlertDialog is raised.\r\n\r\n", "attachment": [], "flagged": false, "summary": "iOS : Screen Loses Responders after AlertDialog", "creator": { "name": "ben.bahrenburg@gmail.com", "key": "ben.bahrenburg@gmail.com", "displayName": "Ben Bahrenburg", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ben.bahrenburg@gmail.com", "key": "ben.bahrenburg@gmail.com", "displayName": "Ben Bahrenburg", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 597, "state": "closed", "name": "2016 Sprint 06 SDK", "startDate": "2016-03-12T01:30:59.982Z", "endDate": "2016-03-26T00:30:00.000Z", "completeDate": "2016-03-28T03:38:09.726Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "379491", "author": { "name": "ben.bahrenburg@gmail.com", "key": "ben.bahrenburg@gmail.com", "displayName": "Ben Bahrenburg", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Example project : https://github.com/benbahrenburg/TIMOB-20550/tree/master/FocusProblem\r\nVideo Walk Thru : https://github.com/benbahrenburg/TIMOB-20550/blob/master/FocusIssue.mp4", "updateAuthor": { "name": "ben.bahrenburg@gmail.com", "key": "ben.bahrenburg@gmail.com", "displayName": "Ben Bahrenburg", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-11T03:35:28.000+0000", "updated": "2016-03-11T03:35:28.000+0000" }, { "id": "379511", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hey Ben! The only critical master PR the last days was https://github.com/appcelerator/titanium_mobile/pull/7618 but I cannot find any related change in the first place. Do you have a build that works? Will try to reproduce.\r\n\r\nEDIT: Reproducible test case\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({backgroundColor: \"#fff\"});\r\nvar field = Ti.UI.createTextField({width: 200,height: 30,backgroundColor: \"#ccc\"});\r\n\r\nfield.addEventListener(\"return\", function() {\r\n\tvar dia = Ti.UI.createAlertDialog({\r\n\t\ttitle: \"TIMOB-20550\",\r\n\t\tmessage: \"Test!\",\r\n\t});\r\n\tdia.show();\r\n})\r\n\r\nwin.add(field);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-03-11T08:26:44.000+0000", "updated": "2016-03-11T08:35:14.000+0000" }, { "id": "379512", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Ok, tracked it down. The above PR is causing the issue. If we check out c5089c instead (last PR before), it does not break. Will further investigate. EDIT: https://github.com/appcelerator/titanium_mobile/pull/7618/files#diff-c8d0503f78b93678fb1abb477d4b6e3fR299 is the issue :-) Working..", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-03-11T08:48:02.000+0000", "updated": "2016-03-11T08:53:01.000+0000" }, { "id": "379513", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/7838", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-03-11T08:58:11.000+0000", "updated": "2016-03-11T08:58:11.000+0000" }, { "id": "388105", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed.\r\n
Tested on:
\r\niPhone 6s Plus (9.3.1)\r\niOS Simulator (9.3)\r\n
Mac OSX El Capitan 10.11.4\r\nStudio: 4.7.0.201606070951
\r\nTi SDK: 5.4.0.v20160608165242
, 5.4.0.v20160309142224\r\nAppc NPM: 4.2.7-2\r\nAppc CLI: 5.4.0-13\r\n
Xcode 7.3\r\nNode v0.12.7
\r\n*Closing Ticket.*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-06-10T21:53:37.000+0000", "updated": "2016-06-10T21:53:37.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }