{ "id": "122862", "key": "TIMOB-15807", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-11-26T23:04:31.000+0000", "created": "2013-11-25T06:52:48.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-3.2.0", "regression" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "33401", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "119507", "key": "TIMOB-15049", "fields": { "summary": "Android: TableView row UI is not getting updated if table or row have height set to Ti.UI.SIZE", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-05-30T20:47:08.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Label value does not change when sliding through slider. This could be a regression issue as in SDK:3.1.3.GA Value of label changes.\n\nSteps to reproduce:\n1. Run app using code below\n2. Slide to change label value.\n\nActual:\nLabel value does not change.\nExpected:\nvalue must change\n\nNote: \nBehaviour in 3.1.3.GA\nValue of label changes only the first time not the next time if slided again\nBehaviour in 3.2\nValue does not change at all\n\n\n{code}\n\nvar _window = Titanium.UI.createWindow();\n_window.backgroundColor = 'white';\n\t\t_window.layout = 'vertical';\n\t\t//_window.top='0';\n\t\t \n\t\tslider1 = Ti.UI.createSlider({\n\t\t top : 30,\n\t\t value : 0,\n\t\t min : 0,\n\t\t max : 50000,\n\t\t left : 0,\n\t\t right : 0\n\t\t});\n\t\t \n\t\tslider1.addEventListener('touchend', function(e) {\n\t\t slider1Change(e);\n\t\t});\n\t\t \n\t\tslider1.addEventListener('touchcancel', function(e) {\n\t\t slider1Change(e);\n\t\t});\n\t\t \n\t\tfunction updatePerMonthLabel(_val) {\n\t\t row.label.text = _val;\n\t\t}\n\t\t \n\t\tfunction slider1Change(e) {\n\t\t updatePerMonthLabel(slider1.value);\n\t\t}\n\t\t \n\t\tvar row = Titanium.UI.createTableViewRow();\n\t\t \n\t\tvar horizontalView = Ti.UI.createView({\n\t\t layout : 'horizontal',\n\t\t left : '5%',\n\t\t right : '5%',\n\t\t height : Ti.UI.SIZE\n\t\t});\n\t\t \n\t\tvar amountLabel = Titanium.UI.createLabel({\n\t\t left:0,\n\t\t text:'$0',\n\t\t top : 0,\n\t\t width : Ti.UI.SIZE,\n\t\t height : Ti.UI.SIZE\n\t\t});\n\t\t \n\t\tvar yrLabel = Titanium.UI.createLabel({\n\t\t width : Ti.UI.SIZE,\n\t\t height : Ti.UI.SIZE,\n\t\t text : \"Year\",\n\t\t left : 10\n\t\t});\n\t\t \n\t\thorizontalView.add(amountLabel);\n\t\trow.label = amountLabel;\n\t\thorizontalView.add(yrLabel);\n\t\t \n\t\tamountLabel = null;\n\t\tyrLabel = null;\n\t\t \n\t\trow.add(horizontalView);\n\t\t \n\t\tvar mainContentTableView = Titanium.UI.createTableView({\n\t\t data : [row],\n\t\t height : Ti.UI.SIZE\n\t\t});\n\t\t \n\t\t_window.add(slider1);\n\t\t_window.add(mainContentTableView);\n\t\t _window.open();\n{code}", "attachment": [], "flagged": false, "summary": "Android: Label value does not change in response to slider", "creator": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "OSX: 10.8.5\r\nAppcelerator Studio: 3.2.0.201311221207\r\nSDK: 3.2.0.v20131122172908\r\nacs:1.0.8\r\nalloy:1.3.0-alpha6\r\nnpm:1.3.2\r\ntitanium:3.2.0-alpha\r\ntitanium-code-processo:1.1.0-alpha\r\nDevice: Nexus 7 (v4.3)", "comment": { "comments": [ { "id": "281544", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving as duplicate of linked issue. According to [~vduggal], this is actually a regression against SDK 3.1.1, but the behavior here _should_ be unsupported and is not recommended by Google. The workaround is not not use TI.UI.SIZE. The linked issue is being kept in the backlog. If you feel that the recommended workaround does not fit your needs, please comment on the attached ticket.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-26T23:04:31.000+0000", "updated": "2013-11-26T23:04:31.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }