{ "id": "176301", "key": "TIMOB-28548", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "sprint": { "id": 1231, "state": "active", "name": "2021 Sprint 21", "startDate": "2021-10-07T16:05:18.981Z", "endDate": "2021-10-21T16:05:00.000Z", "originBoardId": 219 }, "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": "21249", "name": "Release 10.2.0", "archived": false, "released": false } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-10-20T00:26:23.000+0000", "created": "2021-10-07T02:00:53.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "ListView", "ios", "parity" ], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-10-20T00:26:23.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": "*Summary:*\r\n{{ListView}} event \"itemsselected\" is only fired when tapping on item checkboxes while editing with multi-selection enabled. The \"itemsselected\" event is *NOT* fired when tapping on anywhere else on the {{ListItem}} such the label or empty row area, even though it is selected and added to the \"selectedItems\" array property. This makes it difficult to know what items are currently selected (other than setting up a timer).\r\n\r\n*Steps to reproduce:*\r\n# Build and run [^ListViewSelectionCountTest.js] on iOS.\r\n# Tap on the \"Edit\" button.\r\n# Tap on a list item's check mark.\r\n# Notice top label reads \"1 Selected\". _(This is good.)_\r\n# Tap on the same list item's label to unselect it. _(Do not tap it's checkmark.)_\r\n# Notice top label reads \"1 Selected\". _(This is bad. Event was not fired.)_\r\n# Tap on multiple list item labels and not their checkboxes.\r\n# Notice top label never changes.\r\n\r\n*Note:*\r\nThis is not an issue on Android, making it easy to keep a selection count via events.\r\n", "attachment": [ { "id": "67997", "filename": "ListViewSelectionCountTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-10-07T01:56:42.000+0000", "size": 1847, "mimeType": "application/x-javascript" }, { "id": "67998", "filename": "TableViewSelectionCountTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-10-07T19:05:19.000+0000", "size": 1470, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "iOS: ListView \"itemsselected\" event only fired when tapping checkmarks", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "459080", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/13107", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-10-07T20:21:59.000+0000", "updated": "2021-10-07T20:21:59.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }