{ "id": "136536", "key": "TIMOB-17687", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "16586", "description": "Release 3.4.2", "name": "Release 3.4.2", "archived": false, "released": true, "releaseDate": "2017-03-11" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-10-01T20:32:27.000+0000", "created": "2014-09-13T18:53:47.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios8", "module_alertdialog", "qe-3.4.1", "qe-manualtest" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [ { "id": "41073", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "outwardIssue": { "id": "136313", "key": "TIMOB-17661", "fields": { "summary": "iOS8: Alert dialog distortion on rotation", "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": "41883", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "outwardIssue": { "id": "136747", "key": "TIMOB-17719", "fields": { "summary": "iOS8: Alert dialog does not consider window orientation modes when keyboard is displayed", "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": "43654", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "140392", "key": "TIMOB-18076", "fields": { "summary": "iOS: Keyboard disappears when alert message is fired due to an eventListener on the textfield", "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": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-12-03T22:09:45.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": "iOS8 has moved over AlertDialog and OptionDialog to UIAlertController\r\n\r\nAlso the correct way to show popovers is now to set the modalPresentationStyle to UIModalPresentationPopover\r\n\r\nTitanium needs to refactor these three proxy classes. Will probably also need to change the supported API.", "attachment": [], "flagged": false, "summary": "iOS8: Refactor Alert", "creator": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 220, "state": "closed", "name": "2014 Sprint 20 SDK", "startDate": "2014-09-29T22:32:25.224Z", "endDate": "2014-10-13T18:25:00.000Z", "completeDate": "2014-10-13T18:25:45.560Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "326617", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending \r\nmaster - https://github.com/appcelerator/titanium_mobile/pull/6188\r\n3_4_X - https://github.com/appcelerator/titanium_mobile/pull/6189", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-10-01T18:25:01.000+0000", "updated": "2014-10-01T19:22:34.000+0000" }, { "id": "326619", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Sample test case. Change the values of the creation dictionary to see behavior and UI changes. \r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'white'});\r\n\r\nvar btn = Ti.UI.createButton({title:'ALERT'});\r\n\r\nwin.add(btn);\r\n\r\nwin.open();\r\n\r\n\r\nfunction clickhandler(e){\r\n\tTi.API.info(JSON.stringify(e));\r\n}\r\n\r\n\r\nbtn.addEventListener('click',function(e){\r\n\tvar alertDialog = Ti.UI.createAlertDialog({\r\n\t\ttitle:'Alert!',\r\n\t\tmessage:'Hello World!',\r\n\t\tbuttonNames:['OK','Cancel'],\r\n\t\tcancel:1,\r\n\t\tstyle:3,\r\n\t\tpersistent:true\r\n\t});\r\n\talertDialog.addEventListener('click',clickhandler)\r\n\talertDialog.show();\r\n})\r\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-10-01T18:28:40.000+0000", "updated": "2014-10-01T18:28:40.000+0000" }, { "id": "327087", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested the above code using\r\nMac osx 10.9.5 Mavericks\r\nAppcelerator Studio, build: 3.4.0.201409261245\r\nTitanium SDK, build: 3.4.1.v20141006141715\r\nacs@1.0.18\r\nalloy 1.5.1\r\ninstall@0.1.7\r\nnpm@1.4.23\r\nsudo@1.0.3\r\ntitanium 3.4.0\r\ntitanium-code-processor@1.1.1\r\nXcode6.1GM\r\nDevice:\r\niPhone 6 iOS 8.1\r\niPad mini iOS 8.1\r\nCompared with iPad mini iOS 7.0.3 behavior", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-06T22:27:05.000+0000", "updated": "2014-10-06T22:27:05.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }