{ "id": "169581", "key": "TIMOB-25177", "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": "2017-09-18T05:05:18.000+0000", "created": "2017-08-16T16:41:45.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-02T22:20:08.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5. Description\r\nIn windows, if a ListItem has a button in it, clicking the button does not fire ListView's itemClick event.\r\n\r\nh5. Steps to reproduce: \r\nRun the attached Alloy project - TestListViewButton\r\nClick on rows in ListView outside button. Log statment will be printed as '[INFO] List View Item Click::: itemContainer'\r\nClick on buttons in ListView rows. No log statement will be printed.\r\n\r\n\r\n", "attachment": [ { "id": "63089", "filename": "TestListViewButton.zip", "author": { "name": "vvazquezmontero", "key": "vvazquezmontero", "displayName": "Victor Vazquez Montero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-16T16:41:39.000+0000", "size": 7837264, "mimeType": "application/zip" }, { "id": "63088", "filename": "tiinfo.txt", "author": { "name": "vvazquezmontero", "key": "vvazquezmontero", "displayName": "Victor Vazquez Montero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-16T16:41:38.000+0000", "size": 7501, "mimeType": "text/plain" } ], "flagged": false, "summary": "Windows: Click on button in ListItem does not fire itemClick event ", "creator": { "name": "vvazquezmontero", "key": "vvazquezmontero", "displayName": "Victor Vazquez Montero", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vvazquezmontero", "key": "vvazquezmontero", "displayName": "Victor Vazquez Montero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Microsoft Windows 10 Home\r\n Version = 10.0.15063\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 15.9GB\r\n\r\nNode.js\r\n Node.js Version = 6.10.3\r\n npm Version = 5.3.0\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\n node-appc Version = 0.2.41\r\n\r\nTitanium SDKs\r\n 6.1.2.GA", "closedSprints": [ { "id": 1058, "state": "closed", "name": "2018 Sprint 16 SDK", "startDate": "2018-07-29T22:26:06.486Z", "endDate": "2018-08-12T22:26:00.000Z", "completeDate": "2018-08-13T17:38:16.757Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "427010", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I have tested this on iOS with Titanium SDK 6.1.2.GA, but this doesn't work even on iOS too. So I would resolve this as \"Won't fix\" or \"Invalid\" because we always treat iOS as \"reference platform\". [~vvazquezmontero] Could you confirm this with customer?\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-08-22T08:20:30.000+0000", "updated": "2017-08-22T08:20:30.000+0000" }, { "id": "427192", "author": { "name": "vvazquezmontero", "key": "vvazquezmontero", "displayName": "Victor Vazquez Montero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks Kota I will share with the customer", "updateAuthor": { "name": "vvazquezmontero", "key": "vvazquezmontero", "displayName": "Victor Vazquez Montero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-24T18:33:07.000+0000", "updated": "2017-08-24T18:33:07.000+0000" }, { "id": "427608", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~vvazquezmontero] How about this; basic idea is to assign {{id}} to the buttons and then add {{click}} event listener to the buttons, and then get the id value from {{e.source.id}}.\r\n\r\n{code:xml|title=index.xml}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t