{ "id": "159868", "key": "TIMOB-23287", "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": null, "resolutiondate": null, "created": "2016-04-28T14:00:06.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "issuelinks": [ { "id": "51513", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "153064", "key": "TIMOB-19958", "fields": { "summary": "Windows: Missing events in ScrollableView", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-04-28T14:00:06.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Per TIMOB-19958\r\n\r\n{quote}\r\n{{dragend}} does not appear to be working. \r\n{{dragstart}},{{scroll}} and {{scrollend}} do work as expected.\r\n\r\nTried following native event handlers (for Windows::UI::Xaml::Controls::ScrollViewer but non of them are working.\r\n\r\n ManipulationCompleted\r\n PointerReleased\r\n PointerCanceled\r\n PointerCaptureLost\r\n PointerExited\r\n\r\nSo I would say we can't make this work because of plataform component spec.\r\n{quote}\r\n\r\n*app.js*\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar img1 = Ti.UI.createImageView({\r\n image: 'http://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/' +\r\n 'Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg/' +\r\n '402px-Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg'\r\n});\r\nvar img1Wrapper = Ti.UI.createScrollView({\r\n maxZoomScale: 4.0,\r\n});\r\nimg1Wrapper.add(img1);\r\n\r\nvar img2 = Ti.UI.createImageView({\r\n image: 'http://www.nasa.gov/images/content/' +\r\n '616903main_rover_comparison1600_1600-1200.jpg'\r\n});\r\nvar img2Wrapper = Ti.UI.createScrollView({\r\n maxZoomScale: 4.0,\r\n});\r\nimg2Wrapper.add(img2);\r\nvar photosView = Ti.UI.createScrollableView({\r\n showPagingControl: true,\r\n views: [img1Wrapper, img2Wrapper]\r\n});\r\nwin.add(photosView);\r\nphotosView.addEventListener('dragend', function(e) {\r\n Titanium.API.info(\"dragend\");\r\n});\r\n\r\nphotosView.addEventListener('dragstart', function(e) {\r\n Titanium.API.info(\"dragstart\");\r\n});\r\n\r\nphotosView.addEventListener('scroll', function(e) {\r\n Titanium.API.info(\"scroll\");\r\n});\r\n\r\nphotosView.addEventListener('scrollend', function(e) {\r\n Titanium.API.info(\"scrollend\");\r\n});\r\n\r\n\r\nwin.open();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Windows: drag end event doesn't work for ScrollableView", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }