{ "id": "170179", "key": "AC-5326", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-10-30T13:24:07.000+0000", "created": "2017-10-30T11:50:38.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-10-30T13:41:23.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "*TEST CODE*\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : \"white\"\r\n});\r\n\r\nvar button = Ti.UI.createButton({\r\n\ttitle : \"Set value\",\r\n\ttop : 50\r\n});\r\n\r\nvar slider = Ti.UI.createSlider({\r\n\twidth : Ti.UI.FILL,\r\n\tleft : 20,\r\n\tright : 20,\r\n\ttop : 100,\r\n\tvalue : 0,\r\n\tmin : 0,\r\n\tmax : 100\r\n});\r\n\r\nbutton.addEventListener(\"click\", function(e){\r\n\tslider.setValue(Math.floor(Math.random() * 100) + 1);\r\n});\r\n\r\nwin.add(button,slider);\r\nwin.open();\r\n{code}\r\n\r\n*EXPECTED RESULT:*\r\nThe button's event should change the slider's value\r\n\r\n*ACTUAL RESULT*\r\nThe button's event change the slider's value *only* when the property *run-on-main-thread* is set to *true*. This obviously is a serious problem considering that this option set to true creates thousands of problems. \r\n\r\n*INFO*\r\nWith SDK *6.1.2.GA* there are no problems. With SDK *6.2.0*,*6.2.1* and *6.2.2.GA* there is this problem.\r\n", "attachment": [ { "id": "63507", "filename": "Simulator Screen Shot - iPhone 5s - 2017-10-30 at 12.44.57.png", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2017-10-30T11:45:06.000+0000", "size": 24924, "mimeType": "image/png" } ], "flagged": false, "summary": "[iOS - Critical] Set slider's value doesn't work with run-on-main-thread set to false", "creator": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "environment": "Axway Appcelerator Studio, build: *4.10.0.201709271713*\r\nCLI Version *5.0.14*\r\nApple SDK iOS *11.0*\r\nTitanium SDK *6.2.2.GA*", "comment": { "comments": [ { "id": "429827", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Fixed in 6.3.0+ as part of TIMOB-25361.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-30T13:24:07.000+0000", "updated": "2017-10-30T13:24:07.000+0000" }, { "id": "429830", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "body": "Ohh sorry for the double ticket.\r\nThere is already a release date for the 6.3.0.GA ?\r\nI have tested [this|http://builds.appcelerator.com/mobile/6_3_X/mobilesdk-6.3.0.v20171027170556-osx.zip] version and it works!", "updateAuthor": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2017-10-30T13:41:09.000+0000", "updated": "2017-10-30T13:41:23.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }