{ "id": "142846", "key": "TIMOB-18379", "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": "16711", "description": "Release 3.5.1", "name": "Release 3.5.1", "archived": false, "released": true, "releaseDate": "2015-03-06" }, { "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": "2015-01-15T16:31:25.000+0000", "created": "2015-01-15T00:50:57.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-verified" ], "versions": [], "issuelinks": [ { "id": "44734", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "142811", "key": "TIMOB-18378", "fields": { "summary": "iOS8: Option Dialog Caret Present 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": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-02-19T21:38:26.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": "h6.Issue Description \r\nWhen using the 3.5.0.GA TiSDK and iOS 8 if you open an option dialog and then click outside of the dialog it does not fire the dialogs clicked event. When using the 3.4.1.GA TiSDK and iOS 8 it does fire this event. \r\n\r\nh6.Test Case\r\n{code}\r\n(function() {\r\n\tvar myWindow = Ti.UI.createWindow({\r\n\t\theight : Ti.UI.FILL,\r\n\t\twidth : Ti.UI.FILL,\r\n\t\tbackgroundColor : 'blue'\r\n\t});\r\n\r\n\tmyWindow.open();\r\n\r\n\tvar dialog = Ti.UI.createOptionDialog({\r\n\t\tcancel : -1,\r\n\t\toptions : [\"YES\", \"NO\"],\r\n\t\tselectedIndex : 1,\r\n\t\tdestructive : 1,\r\n\t\ttitle : \"Option Dialog\"\r\n\t});\r\n\tdialog.addEventListener('click', function(e) {\r\n\t\tTi.API.error(\"dialog clicked!!\");\r\n\t\tif (e.index === 0) {\r\n\t\t\tTi.API.error(\"Index 0\");\r\n\t\t}\r\n\t});\r\n\tdialog.show();\r\n})();\r\n{code}\r\n\r\nh6.Steps to replicate\r\n# Build with 3.4.1.GA TiSDK, launch on iPad. \r\n# Click anywhere outside of the dialog, notice that the click event is fired. \r\n\r\nThen\r\n# Build with 3.5.0.GA TiSDK, launch on iPad. \r\n# Click anywhere outside of the dialog, notice that the click event is NOT fired. EXPECTED: The click event fires when the user clicks outside of the dialog. \r\n\r\nh6.Additional Details\r\nOn iOS 7 with the 3.5.0.GA TiSDK the dialogs click event is fired. This issue is only present on iOS 8.x. ", "attachment": [], "flagged": false, "summary": "iOS8: Option Dialog iPad no longer fires click when clicked outside", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "iOS8\r\nTitanium SDK 3.5.0.GA", "closedSprints": [ { "id": 291, "state": "closed", "name": "2015 Sprint 01 SDK", "startDate": "2015-01-03T01:00:00.000Z", "endDate": "2015-01-17T01:00:00.000Z", "completeDate": "2015-01-19T17:24:40.828Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "339232", "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/6573", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-01-15T15:45:24.000+0000", "updated": "2015-01-15T15:45:24.000+0000" }, { "id": "339256", "author": { "name": "tcrist", "key": "tcrist", "displayName": "Travis Crist", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR Looks good, verified on iPad running iOS 8.1.1 and iPad running iOS 7.0.4.", "updateAuthor": { "name": "tcrist", "key": "tcrist", "displayName": "Travis Crist", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-15T17:37:37.000+0000", "updated": "2015-01-15T17:37:37.000+0000" }, { "id": "339257", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Backport to 3_5_X\r\nhttps://github.com/appcelerator/titanium_mobile/pull/6576", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-01-15T17:41:19.000+0000", "updated": "2015-01-15T17:41:19.000+0000" }, { "id": "339470", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified fix on:\r\n\r\nMac OSX 10.10.1 \r\nAppcelerator Studio, build: 3.4.1.201410281743 \r\nTitanium SDK build: 3.6.0.v20150116070927, 3.5.1.v20150115094121 \r\nTitanium CLI, build: 3.4.1 \r\nAlloy: 1.5.1 \r\nXcode 6.1.1 \r\niPad Air 2 (8.2b4), iPad Air (7.0.3)\r\n\r\nUsing the attached code built to both devices, dialog cancel event is fired when clicking outside of the option dialog.\r\n\r\nClosing ticket.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-01-16T19:22:54.000+0000", "updated": "2015-01-16T19:22:54.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }