{ "id": "83976", "key": "TIMOB-6723", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-26T22:41:22.000+0000", "created": "2011-12-16T13:48:50.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-port" ], "versions": [], "issuelinks": [], "assignee": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:44: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": "If one row in a TableView is set to use a unique font, and the tableview is scrolled back and forth, other rows will pick up the improper font.\r\n\r\nThe following code demonstrates this bug:\r\n\r\n{code}\r\nTi.UI.setBackgroundColor('#000');\r\n\r\nvar win = Ti.UI.createWindow({\r\n title:'Tableview with Filter',\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar data = [];\r\n\r\nfor (var c=0;c<=20;c++) {\r\n data.push({title:\"Row \"+c});\r\n}\r\n\r\ndata[3].font = { fontSize: 50, fontWeight: 'bold'};\r\n\r\nvar tableview = Ti.UI.createTableView({\r\n data:data,\r\n});\r\n\r\nwin.add(tableview);\r\nwin.open();\r\n{code}\r\n\r\nNote that only one row has the extra-large font. Launch on Android and scroll the list quickly, repeatedly from top to bottom. As you scroll around, you should see one or more rows with the extra-large font size appear.\r\n", "attachment": [], "flagged": false, "summary": "Android: TableViewRow fonts change when row is scrolled", "creator": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "220828", "author": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Duplicate of TIMOB-10712. I have verified that the pull request for\r\nTIMOB-10712 resolves this issue.", "updateAuthor": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-26T00:05:29.000+0000", "updated": "2012-09-26T00:05:29.000+0000" }, { "id": "220836", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is documented as an issue in the API docs:\n\nhttp://docs.appcelerator.com/titanium/2.1/index.html#!/api/Titanium.UI.TableViewRow-property-font\n\nIf the PR fixes it, it should also update the docs.\n\nSpecifically, the following text should be removed from TableViewRow.yml:\n\nIf the table uses different fonts on different rows, the font properites may become associated with the wrong row as the table scrolls. This is a known issue.", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-26T00:27:25.000+0000", "updated": "2012-09-26T00:27:25.000+0000" }, { "id": "222762", "author": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull request https://github.com/appcelerator/titanium_mobile/pull/3103 for doc changes.", "updateAuthor": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-09T20:40:02.000+0000", "updated": "2012-10-09T20:40:02.000+0000" }, { "id": "225210", "author": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving -- the pull request for the doc change was approved and closed.", "updateAuthor": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-26T22:41:22.000+0000", "updated": "2012-10-26T22:41:22.000+0000" }, { "id": "235310", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with: \r\nSDK:3.1.0.v20130114171802\r\nStudio:3.0.1.201212181159\r\nDevice: Samsung galaxy tab(v 3.2)\r\n\r\nTableviewrow fonts are consistent while scrolling.\r\n", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-22T08:19:34.000+0000", "updated": "2013-01-22T08:19:34.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }