{
"id": "169938",
"key": "TIMOB-25361",
"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": "19906",
"description": "",
"name": "Release 6.3.0",
"archived": false,
"released": true,
"releaseDate": "2017-11-01"
}
],
"resolution": {
"id": "1",
"description": "A fix for this issue is checked into the tree and tested.",
"name": "Fixed"
},
"resolutiondate": "2017-10-02T13:45:55.000+0000",
"created": "2017-10-01T05:07:05.000+0000",
"priority": {
"name": "Critical",
"id": "1"
},
"labels": [
"consider-6.2.3",
"ios",
"slider"
],
"versions": [],
"issuelinks": [],
"assignee": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"updated": "2017-10-12T04:16:06.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": "After upgrading to Ti. SDK 6.2.2 neither of the following work on iOS. \r\n\r\n```\r\n$.slider.value = 50;\r\n$.slider.setValue(50);\r\n$.slider.setValue(50, { animated: true });\r\n```\r\n\r\nExpected outcome: The slider handle would move.\r\n\r\nActual outcome: The slider handle does not move. It stays to the left.\r\n\r\nThey all used to work, and they all still work on Android. I note, that the \"value\" changes, just the slider handle does not more.",
"attachment": [],
"flagged": false,
"summary": "iOS: Ti.UI.Slider.setValue not updating the slider ",
"creator": {
"name": "raefa",
"key": "raefa",
"displayName": "Raef Akehurst",
"active": true,
"timeZone": "Australia/Sydney"
},
"subtasks": [],
"reporter": {
"name": "raefa",
"key": "raefa",
"displayName": "Raef Akehurst",
"active": true,
"timeZone": "Australia/Sydney"
},
"environment": "iOS 11 & 10.3\r\nTi SDK 6.2.2\r\nXcode 9",
"comment": {
"comments": [
{
"id": "428620",
"author": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"body": "Hey there! This could likely be a regression from TIMOB-20016, we'll investigate it for the next patch-release!\r\n\r\n*EDIT*: I am able to reproduce this when using the kroll-thread (works fine when having {{ true}} enabled in the tiapp.xml. We'll still fix it for the legacy kroll-thread, but you may consider moving to the above configuration for future projects. Thank you!",
"updateAuthor": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"created": "2017-10-01T15:08:55.000+0000",
"updated": "2017-10-01T15:13:08.000+0000"
},
{
"id": "428621",
"author": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/9493\r\nPR (6_3_X): https://github.com/appcelerator/titanium_mobile/pull/9494 \r\n\r\nTest-Case:\r\n{code:js}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\n \r\nvar btn = Ti.UI.createButton({\r\n\ttop: 100,\r\n\ttitle: 'Click me'\r\n});\r\n \r\nbtn.addEventListener('click', function(e) {\r\n // Also test with \"slider.value = 75\" and \"slider.setValue(75)\".\r\n\tslider.setValue(75, {\r\n\t\tanimated: false\r\n\t});\r\n});\r\n \r\nvar slider = Ti.UI.createSlider({\r\n\ttop: 200,\r\n\tmin: 0,\r\n\tmax: 100,\r\n\twidth: Ti.UI.FILL,\r\n\tvalue: 25\r\n});\r\n \r\nwin.add(btn);\r\nwin.add(slider);\r\n \r\nwin.open();\r\n{code}",
"updateAuthor": {
"name": "hknoechel",
"key": "hansknoechel",
"displayName": "Hans Knöchel",
"active": true,
"timeZone": "Europe/Berlin"
},
"created": "2017-10-01T15:19:25.000+0000",
"updated": "2017-10-01T15:19:25.000+0000"
},
{
"id": "428946",
"author": {
"name": "smohammed",
"key": "smohammed",
"displayName": "Samir Mohammed",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "Verified fix in SDK Version {{6.3.0.v20171010142423}} and SDK Version {{7.0.0.v20171009065347}}. Was able to see the slider move when pressing {{click me}}.\r\n\r\nTested with both:\r\n{code:java}\r\nfalse \r\ntrue\r\n{code}\r\n\r\n*Test Steps*\r\n{code:java}\r\n+ Copied the test case from the description \r\n+ Added the test case into a titanium project \r\n+ Ran the application \r\n+ Pressed \"Click me\"\r\n+ Saw the slider move \r\n{code}\r\n\r\n*Test Environment*\r\nAppcelerator Command-Line Interface, version 6.2.4\r\niPhone 7 emulator (11.0)\r\niphone 6 plus (10.2)\r\nOperating System Name: Mac OS High Sierra \r\nOperating System Version: 10.13\r\nNode.js Version: 6.10.1\r\nXcode: 9.0\r\nAppcelerator Studio: 4.10.0.201709271713\r\n\r\n\r\n\r\n\r\n",
"updateAuthor": {
"name": "smohammed",
"key": "smohammed",
"displayName": "Samir Mohammed",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2017-10-11T15:29:58.000+0000",
"updated": "2017-10-11T15:29:58.000+0000"
},
{
"id": "428999",
"author": {
"name": "raefa",
"key": "raefa",
"displayName": "Raef Akehurst",
"active": true,
"timeZone": "Australia/Sydney"
},
"body": "Just tested the nightly build and it works great for me! :)",
"updateAuthor": {
"name": "raefa",
"key": "raefa",
"displayName": "Raef Akehurst",
"active": true,
"timeZone": "Australia/Sydney"
},
"created": "2017-10-12T04:16:06.000+0000",
"updated": "2017-10-12T04:16:06.000+0000"
}
],
"maxResults": 4,
"total": 4,
"startAt": 0
}
}
}