{ "id": "103183", "key": "TIMOB-11404", "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": "14168", "description": "2012 Sprint 22 API", "name": "2012 Sprint 22 API", "archived": true, "released": true, "releaseDate": "2012-11-05" }, { "id": "14274", "description": "2012 Sprint 22", "name": "2012 Sprint 22", "archived": true, "released": true, "releaseDate": "2012-11-05" } ], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2012-10-25T18:45:53.000+0000", "created": "2012-10-12T00:22:52.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "triage" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:35.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": "REPRODUCTION:\r\nRun code below in the Android emulator. Click on the window to increment the progress bar.\r\n\r\nRESULTS:\r\nMessage in the progress bar does not change on the GUI even though the message property is being updated as demonstrated by the Label at the bottom.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n})\r\n\r\nvar pb=Titanium.UI.createProgressBar({\r\n top:10,\r\n width:250,\r\n height:'auto',\r\n min:0,\r\n max:10,\r\n value:0,\r\n color:'#fff',\r\n message:'Downloading 0 of 10',\r\n font:{fontSize:14, fontWeight:'bold'},\r\n});\r\n\r\nvar label = Titanium.UI.createLabel({\r\n\tbottom: 10,\r\n\ttext: pb.message\r\n});\r\n\r\nwin.addEventListener('click', function(e){\r\n\tif (pb.value >= pb.max) return;\r\n\tpb.value++;\r\n\tpb.message = 'Downloading ' + pb.value + \" of \" + pb.max;\r\n\tTi.API.info(pb.message);\r\n\tlabel.text = pb.message;\r\n});\r\n\r\nwin.add(pb);\r\nwin.add(label);\r\nwin.open();\r\npb.show();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: ProgressBar message property does not update in the GUI", "creator": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio v3.1.0.201210092346\r\nTitanium Mobile v2.1.3\r\nMac OS X v10.7.5\r\nAndroid API Level 8\r\n", "comment": { "comments": [ { "id": "224866", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is only happening in 2.1.X. Works fine on master and on 3.0.X branch. Closing.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-25T00:39:34.000+0000", "updated": "2012-10-25T18:45:28.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }