{ "id": "140392", "key": "TIMOB-18076", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2014-12-03T19:25:48.000+0000", "created": "2014-11-24T09:49:38.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.5.0" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [ { "id": "43654", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "136536", "key": "TIMOB-17687", "fields": { "summary": "iOS8: Refactor Alert", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T17:49:35.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": "When an eventListener is added to a textfield to show an alert box when the textfield is in focus the keyboard immediately disappears as soon as the alert message appears. This happens regardless of the type of event used in the eventListener. However, using titanium SDK 3.4.1 the alert message appears with the keyboard backgrounded and clicking on the OK button of the alert message allows the user to continue typing which is not possible with the current version. \r\n\r\n-->This is a regression.\r\n\r\nSteps to reproduce:\r\n1.Run the attached app.js\r\n2. Click on textfield to bring up the softkeyboard \r\n\r\nActual Results:\r\nThe keyboard appears and immediately disappears when the alert message appears and hence unable to type anything on to the textfield.\r\n\r\nExpected results:\r\nThe softkeyboard should show up and alert with no textfield value should also appear. Clicking on the ok button of the alert message should bring the keyboard to focus allowing the user to type.\r\n", "attachment": [ { "id": "52786", "filename": "app.js", "author": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-11-24T09:49:38.000+0000", "size": 756, "mimeType": "text/javascript" } ], "flagged": false, "summary": "iOS: Keyboard disappears when alert message is fired due to an eventListener on the textfield", "creator": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Test Environment: \r\nAppc-Studio: 3.4.1.201410281743 (32-bit)\r\nTitanium SDK: 3.5.0.v20141121153314 \r\nTitanium CLI: 3.4.1 GA\r\nAlloy : 1.5.1 GA\r\nOS: Mac OSX 10.9.4\r\nXcode: 6.1\r\nDevice: iphone 5s (iOS8.1)", "comment": { "comments": [ { "id": "334603", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This is expected behavior on iOS8. \r\n\r\nAlerts and OptionDialogs are now presented as modal controllers. So when they come up, the top most window proxy has to resign focus and as a result all editing operations are terminated. So the textField loses focus and the keyboard disappears.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-03T19:25:48.000+0000", "updated": "2014-12-03T19:25:48.000+0000" }, { "id": "334604", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Side effect of Alert Refactor for iOS8", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-03T19:26:33.000+0000", "updated": "2014-12-03T19:26:33.000+0000" }, { "id": "340207", "author": { "name": "dethier1958", "key": "dethier1958", "displayName": "Daniel Ethier", "active": true, "timeZone": "America/Chicago" }, "body": "The resolution is won't fix? This is a serious problem. It also happens with popovers and totally hoses the user interface for my app. This needs to be fixed. Reopen this and fix it.", "updateAuthor": { "name": "dethier1958", "key": "dethier1958", "displayName": "Daniel Ethier", "active": true, "timeZone": "America/Chicago" }, "created": "2015-01-22T02:21:29.000+0000", "updated": "2015-01-22T02:21:29.000+0000" }, { "id": "340215", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~dethier1958], please realize the rationale for the \"Won't Fix\" designation is due to native behavior changes, which in many cases are out of our control to override. If you feel otherwise, please show a test case of your particular situation, and in particular, an instance of a native application with the same behavior you wish us to provide.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-22T05:19:13.000+0000", "updated": "2015-01-22T05:19:13.000+0000" }, { "id": "414808", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue will not fix and with reference to the above comments. ", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T17:49:35.000+0000", "updated": "2017-03-22T17:49:35.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }