{ "id": "168516", "key": "TIMOB-24859", "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": "2021-02-11T12:13:36.000+0000", "created": "2017-06-20T12:01:57.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" }, { "id": "19572", "description": "Important fixes for 6.1.0", "name": "Release 6.1.1", "archived": false, "released": true, "releaseDate": "2017-06-16" } ], "issuelinks": [], "assignee": null, "updated": "2021-02-11T12:13:36.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\n\r\nWhen using the touchstart, touchmove and touchend events on a Windows mobile device, the events will only fire after the UI element has been clicked, this is how the native Windows event behaves (see pointermoved https://docs.microsoft.com/en-us/windows/uwp/input-and-devices/handle-pointer-input) but it is different to other platforms\r\n\r\nWe should either determine if the common behaviour is achievable on mobile and if not, note so in the docs\r\n\r\nThe behaviour occurs as expected on a Windows 10 desktop machine\r\n\r\n{code}\r\nvar _window = Ti.UI.createWindow();\r\nvar MyListbox = Ti.UI.createTableView();\r\nfor (var i = 1;\r\n (i <= 10); i++)\r\n MyListbox.appendRow(Ti.UI.createTableViewRow({\r\n title: 'Row ' + i\r\n }));\r\n\r\nTi.API.info('adding EventListener for touchstart');\r\nMyListbox.addEventListener('touchstart', TchStart);\r\nfunction TchStart(evt) {\r\n Ti.API.info('TchStart');\r\n}\r\nTi.API.info('adding EventListener for touchmove');\r\nMyListbox.addEventListener('touchmove', TchMove);\r\nfunction TchMove(evt) {\r\n Ti.API.info('TchMove');\r\n}\r\n_window.add(MyListbox);\r\n_window.open();\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n# Add the above to an existing app.js\r\n# Build for a windows target\r\n# Touch the view lightly\r\n# Touch the view so a click event is registered\r\n\r\nh5.Actual\r\n\r\nOn a mobile device the event is only fired after a click event\r\n\r\nh5.Expected\r\n\r\nBased off other platforms the event should be fired when scrolling the view\r\n", "attachment": [], "flagged": false, "summary": "Windows: Touch* events on mobile device only fire after the TableView has been clicked", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Ti SDK: 6.1.1.v20170619143158, 6.1.0.GA\r\nAppc Core: 6.2.2\r\nAppc NPM: 4.2.9\r\nLumia 550 10.0\r\n10.0 ws-local\r\n", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }