{ "id": "61438", "key": "TIMOB-806", "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": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:54:18.000+0000", "created": "2011-04-15T02:36:49.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "performance", "sliders", "touchend" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:54:18.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}

Hello,

\n

I tried it several times and even the most basic example is not\nworking:

\n

var slider = Titanium.UI.createSlider({

\n
\nmin:0,\nmax:10,\nvalue:5,\nwidth:100,\nheight:'auto',\ntop:30\n
\n

});

\n

slider.addEventListener('touchend', function(e){

\n
\nalert(\"touchend\");\n
\n

});

\n

win.add(slider);

\n

Is it not yet implemented or just a bug?
\nI actually need this very urgently. Is there some kind of\nworkaround for this?

\n

Many thanks,
\nFlorian

{html}", "attachment": [], "flagged": false, "summary": "Titanium.UI.Slider 'touchend' event is not fired", "creator": { "name": "spierala", "key": "spierala", "displayName": "spierala", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "spierala", "key": "spierala", "displayName": "spierala", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124073", "author": { "name": "fspencer", "key": "fspencer", "displayName": "Fred Spencer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Hoping this is addressed. Cheers! :-)

{html}", "updateAuthor": { "name": "fspencer", "key": "fspencer", "displayName": "Fred Spencer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:36:49.000+0000", "updated": "2011-04-15T02:36:49.000+0000" }, { "id": "124074", "author": { "name": "fspencer", "key": "fspencer", "displayName": "Fred Spencer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I'd like to mention that this feature would greatly improve\nperformance for applications that dynamically update from these\nvalues.

\n

Chroma uses a large number of calculations every time this value\nis changed. I've improved performance by only doing calculations at\nwhole numbers.

\n

Also, it would be much easier to implement \"history\"\nfunctionality if data is saved only after the user ends the\ntouch.

{html}", "updateAuthor": { "name": "fspencer", "key": "fspencer", "displayName": "Fred Spencer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:36:49.000+0000", "updated": "2011-04-15T02:36:49.000+0000" }, { "id": "124075", "author": { "name": "justinjohnson", "key": "justinjohnson", "displayName": "Justin Johnson", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Another vote for addressing this issue. My slider won't work as\nits supposed to without a proper touchend event being fired.

{html}", "updateAuthor": { "name": "justinjohnson", "key": "justinjohnson", "displayName": "Justin Johnson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:36:50.000+0000", "updated": "2011-04-15T02:36:50.000+0000" }, { "id": "124076", "author": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Assigning so it can get on the list.

{html}", "updateAuthor": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:36:50.000+0000", "updated": "2011-04-15T02:36:50.000+0000" }, { "id": "124077", "author": { "name": "jbermudez", "key": "jbermudez", "displayName": "jbermudez", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Slider touchend event works only on the track by my test. In the\nmeantime is there any way to add a touchend event to the button\nitself ( my_slider.sliderbtn.addEventListener...... ) or something\nlike that.

\n

In my case I feel it should fire change every time it moved but\nhave a touchend event so you can act upon the final value.

{html}", "updateAuthor": { "name": "jbermudez", "key": "jbermudez", "displayName": "jbermudez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:36:50.000+0000", "updated": "2011-04-15T02:36:50.000+0000" }, { "id": "124078", "author": { "name": "vit", "key": "vit", "displayName": "vit", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Here goes yet another vote for fixing this aged bug in\ncontinuous builds.

{html}", "updateAuthor": { "name": "vit", "key": "vit", "displayName": "vit", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:36:50.000+0000", "updated": "2011-04-15T02:36:50.000+0000" }, { "id": "124079", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

@vit please don't change assignees.

\n

This works on Android.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:36:51.000+0000", "updated": "2011-04-15T02:36:51.000+0000" }, { "id": "124080", "author": { "name": "vit", "key": "vit", "displayName": "vit", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Awesome! Thanks!

{html}", "updateAuthor": { "name": "vit", "key": "vit", "displayName": "vit", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:36:51.000+0000", "updated": "2011-04-15T02:36:51.000+0000" }, { "id": "124081", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [25f736bedcb6bb69d10924a6c030a6909ea47679])\n[#806\nstate:fixed-in-qa] Added handling for certain control events on\nslider. \nhttp://github.com/appcelerator/titanium_mobile/commit/25f736bedcb6b...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:36:51.000+0000", "updated": "2011-04-15T02:36:51.000+0000" }, { "id": "124082", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

The event is now firing on iOS, but its firing 2X. closing this\nand opening a bug #2095

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:36:51.000+0000", "updated": "2011-04-15T02:36:51.000+0000" }, { "id": "124083", "author": { "name": "gennarovietri", "key": "gennarovietri", "displayName": "Gennaro Vietri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Hi,

\n

I found that \"touchend\" event for Titanium.UI.Slider object is\nstill not fired in Android. My env is:

\n

Titanium SDK 1.5.1
\nTitanum Developer 1.2.1
\nAndroid SDK 2.2

\n

Even the slider_basic.js example in Kitchen Sink (the code\ncommited here \nhttp://github.com/appcelerator/titanium_mobile/commit/25f736bedcb6b...)\nis capable to show the bug.

{html}", "updateAuthor": { "name": "gennarovietri", "key": "gennarovietri", "displayName": "Gennaro Vietri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:36:52.000+0000", "updated": "2011-04-15T02:36:52.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }