{ "id": "105478", "key": "TIMOB-11851", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14624", "description": "2012 Sprint 24 JS", "name": "2012 Sprint 24", "archived": true, "released": true, "releaseDate": "2012-12-03" }, { "id": "14625", "description": "2012 Sprint 24 API", "name": "2012 Sprint 24 API", "archived": true, "released": true, "releaseDate": "2012-12-03" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-11-28T23:53:59.000+0000", "created": "2012-11-25T10:59:07.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "SupportTeam", "module_alertdialog", "qe-review", "qe-testadded", "regression", "triage" ], "versions": [ { "id": "14624", "description": "2012 Sprint 24 JS", "name": "2012 Sprint 24", "archived": true, "released": true, "releaseDate": "2012-12-03" }, { "id": "14625", "description": "2012 Sprint 24 API", "name": "2012 Sprint 24 API", "archived": true, "released": true, "releaseDate": "2012-12-03" } ], "issuelinks": [ { "id": "23151", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "105132", "key": "TIMOB-11802", "fields": { "summary": "Android: \"android:back\" event does not work", "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": "23117", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "102703", "key": "TIMOB-11264", "fields": { "summary": "Android: Event \"closeFromActivity\" cannot be fired on Android", "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": "29503", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "115554", "key": "TIMOB-14130", "fields": { "summary": "Android: Window events, windows in the Tab and test", "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": "Medium", "id": "3" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-06-11T21:34:42.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h1. Problem description\r\nThe android:back event is not fired anymore in v3.0\r\n\r\nh1. Steps to reproduce\r\nUse the following code to reproduce the issue:\r\n\r\n{code}\r\nvar self = Ti.UI.createWindow({\r\n backgroundColor:'#ffffff',\r\n navBarHidden:true,\r\n exitOnClose:true\r\n});\r\n\r\nself.addEventListener('android:back', function(e) {\r\n alert('Back button pressed');\r\n});\r\n\r\nself.open();\r\n{code}\r\n\r\nWhen clicking back, nothing happens. Works fine on 2.1.x", "attachment": [ { "id": "33669", "filename": "test.zip", "author": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "created": "2012-11-25T10:59:07.000+0000", "size": 754861, "mimeType": "application/force-download" } ], "flagged": false, "summary": "Android: hardware back key event not fired", "creator": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "environment": "Titanium SDK Version: 3.0.0.v20121121161553\r\nPlatform OS: Android\r\nPlatform OS Version: 4.0.4 (ICS)\r\nDevice details: Samsung Galaxy S2\r\nHost Operating System: Windows 7\r\nTitanium Studio Build: 2.1.2.201208301612", "comment": { "comments": [ { "id": "228554", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Caused by https://github.com/appcelerator/titanium_mobile/commit/c4acb990669de48d0dd19906b3e3f20c9fa13ffa\r\n\r\nReverting activityProxy.hasListeners(\"android:back\") to window.hasListeners(\"android:back\") solves the regression.", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-26T23:38:52.000+0000", "updated": "2012-11-26T23:38:52.000+0000" }, { "id": "228942", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR https://github.com/appcelerator/titanium_mobile/pull/3473", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-28T23:52:29.000+0000", "updated": "2012-11-28T23:52:29.000+0000" }, { "id": "229849", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed. Tested on: \r\nTitanium Studio, build: 3.0.0.201211301903\r\nTitanium SDK, builds: 3.0.0.v20121130200208; 3.1.0.v20121203181001\r\nDevices: Samsung Galaxy S III (4.0.4)", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-04T17:54:40.000+0000", "updated": "2012-12-04T17:54:40.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }