{ "id": "63552", "key": "TIMOB-2920", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-05-02T18:05:40.000+0000", "created": "2011-04-15T03:32:58.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api" ], "versions": [ { "id": "11233", "name": "Release 1.6.0", "archived": true, "released": true, "releaseDate": "2011-02-23" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-02T21:18:48.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": "{html}

Problem

\r\n

CoverFlowView does not fire all events listed on API docs, which\r\nis preventing a customer from listening for the touchmove\r\nevent.

\r\n

Expected Behavior

\r\n

These events should fire, or the ones that do not fire should be\r\nremoved from the API docs.

\r\n

Tested On

\r\n

iPhone Simulator 4.2
\r\nBROKEN on Titanium Mobile 1.6.0 (1/19/11 13:13)

\r\n

Sample Code

\r\n

Requires KS_nav_ui.png and KS_nav_Views.png, which are created\r\nby default in new projects.

\r\n
\r\n// Create a window with a cover flow view.\r\nvar win = Ti.UI.createWindow({ title:'CoverFlowView Events', backgroundColor: '#fff' });\r\nvar cfv = Ti.UI.createCoverFlowView({\r\n    images: [\r\n        { image: 'KS_nav_ui.png', width: 225, height: 225 },\r\n        { image: 'KS_nav_views.png', width: 225, height: 225 }\r\n    ]\r\n});\r\nwin.add(cfv);\r\nwin.open();\r\n\r\n// Add an event listener to the cover flow view that simply prints \"Event Fired: {name of event}\"\r\nfunction listenForEvent(name) {\r\n    cfv.addEventListener(name, function() {\r\n        Ti.API.info('Event Fired: ' + name);\r\n    });\r\n}\r\n\r\n// WORKS: These events will properly fire:\r\nlistenForEvent('change');\r\nlistenForEvent('click');\r\n\r\n// BROKEN: These events will NOT fire:\r\nlistenForEvent('dblclick');\r\nlistenForEvent('doubletap');\r\nlistenForEvent('singletap');\r\nlistenForEvent('swipe');\r\nlistenForEvent('touchcancel');\r\nlistenForEvent('touchend');\r\nlistenForEvent('touchmove');\r\nlistenForEvent('touchstart');\r\nlistenForEvent('twofingertap');\r\n
\r\n

Associated Helpdesk Ticket

\r\n

http://developer.appcelerator.com/helpdesk/view/67571

{html}", "attachment": [ { "id": "18243", "filename": "coverflowviewevents.rtf", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-04-15T03:32:58.000+0000", "size": 4407, "mimeType": "text/rtf" } ], "flagged": false, "summary": "iOS: CoverFlowView doesn't fire all events listed on API Docs", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": "BROKEN in iPhone Simulator 4.2", "comment": { "comments": [ { "id": "129715", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "{html}

Debug Level Log

\n

Attached.

{html}", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-04-15T03:32:58.000+0000", "updated": "2011-04-15T03:32:58.000+0000" }, { "id": "129716", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "{html}

2nd Associated Helpdesk Ticket

\n

http://developer.appcelerator.com/helpdesk/view/64151

{html}", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-04-15T03:32:58.000+0000", "updated": "2011-04-15T03:32:58.000+0000" }, { "id": "160252", "author": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is the expected behavior.", "updateAuthor": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-21T15:10:27.000+0000", "updated": "2011-07-21T15:10:27.000+0000" }, { "id": "194742", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested using 2.0.1GA2 on the iPhone simulator. Most of the events fire, except from the following: \r\nlistenForEvent('touchcancel');\r\nlistenForEvent('touchend');\r\nlistenForEvent('touchmove');\r\nlistenForEvent('touchstart');", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-05-14T15:31:13.000+0000", "updated": "2012-05-14T15:31:23.000+0000" }, { "id": "216890", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "The above is still valid for TiSDK 2.2.0v20120828153312.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-08-29T14:22:04.000+0000", "updated": "2012-08-29T14:22:04.000+0000" }, { "id": "418654", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving ticket as Invalid as there is now a new version of Kitchen Sink available and we no longer support the version which relates to this ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-02T18:05:40.000+0000", "updated": "2017-05-02T18:05:40.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }