{ "id": "77130", "key": "TIMOB-4528", "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": "11360", "description": "Mobile 1.8.0 M07", "name": "Sprint 2011-28", "archived": true, "released": true, "releaseDate": "2011-07-18" }, { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-07-15T11:07:56.000+0000", "created": "2011-06-29T16:03:18.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "11367", "description": "", "name": "Release 1.7.1", "archived": true, "released": true, "releaseDate": "2011-06-21" } ], "issuelinks": [], "assignee": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-08-25T13:12:46.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": null, "attachment": [], "flagged": false, "summary": "Android: 3.0 Xoom. When selectedBackgroundColor is set, the other rows in a table view remain \"stuck\" in the highlight color when you touch them.", "creator": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "159351", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "I made a test app.js:\r\n\r\n{code:title=app.js}\r\nTitanium.UI.setBackgroundColor('#000');\r\nvar win = Titanium.UI.createWindow({ \r\n title:'Test',\r\n backgroundColor:'#000',\r\n\texitOnClose: true\r\n});\r\n\r\nvar cb, btn;\r\nvar tv = null;\r\nwin.add(cb = Ti.UI.createSwitch({\r\n\tvalue: true,\r\n\tstyle: Ti.UI.Android.SWITCH_STYLE_CHECKBOX,\r\n\ttitle: \"Give one row backgroundSelectedColor\",\r\n\ttop: \"5dp\", left: \"5dp\", right: \"5dp\", height: \"60dp\"\r\n}));\r\nwin.add(btn = Ti.UI.createButton({\r\n\ttitle: \"Create TableView\",\r\n\ttop: \"65dp\", left: \"5dp\", width: \"200dp\", height: \"40dp\"\r\n}));\r\nbtn.addEventListener('click', function(e) {\r\n\tif (tv !== null) {\r\n\t\twin.remove(tv);\r\n\t}\r\n\twin.add(tv = Ti.UI.createTableView({\r\n\t\ttop: \"110dp\", left: \"0dp\", right: \"0dp\", bottom: \"0dp\"\r\n\t}));\r\n\r\n\r\n\tvar rows = [];\r\n\tfor (var i = 0; i < 10; i++) {\r\n\t\tvar row = Ti.UI.createTableViewRow();\r\n\t\trow.title = \"Row \" + (i + 1);\r\n\t\tif (i === 5 && cb.value) {\r\n\t\t\trow.title = \"The Evil Row\";\r\n\t\t\trow.backgroundSelectedColor = \"blue\";\r\n\t\t}\r\n\t\tif (i === 8) {\r\n\t\t\t// Just testing standard background\r\n\t\t\trow.backgroundColor = \"yellow\";\r\n\t\t\trow.title = \"I am yellow\";\r\n\t\t}\r\n\t\trows.push(row);\r\n\t}\r\n\ttv.setData(rows);\r\n});\r\n\r\n\r\nwin.open();\r\n{code}\r\n\r\n* To test the failcase, make sure the \"Give one row backgroundSelectedColor\" is checked, then click Create TableView.\r\n* To test that there is no regression in the case that no row has a backgroundSelectedColor, un-check that box and again click Create TableView.\r\n* When you create the tableview with a row having {{backgroundSelectedColor}}, you'll see that row has a title \"The Evil Row\".\r\n* One of the rows has a yellow {{backgroundColor}}, that's just to check to be sure there is no weird regression with the standard {{backgroundColor}} property.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-07-13T03:08:18.000+0000", "updated": "2011-07-13T03:08:18.000+0000" }, { "id": "159677", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "pull request merge", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-15T11:07:56.000+0000", "updated": "2011-07-15T11:07:56.000+0000" }, { "id": "164051", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.v20110819142548\nMotorola Xoom 3.2\nNexus One 2.2.2", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-25T13:12:46.000+0000", "updated": "2011-08-25T13:12:46.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }