{ "id": "109479", "key": "TIMOB-12658", "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": "15401", "description": "2013 Sprint 08 Core", "name": "2013 Sprint 08 Core", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "15106", "description": "2013 Sprint 08", "name": "2013 Sprint 08", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-04-10T20:50:10.000+0000", "created": "2013-02-09T07:18:17.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "SupportTeam", "core", "module_tableview", "qe-testadded" ], "versions": [ { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "26335", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "110408", "key": "TIMOB-12900", "fields": { "summary": "Android: Image views in table views swap in and out when scrolling if className is set", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "31978", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "116400", "key": "TIMOB-14359", "fields": { "summary": "Android: First TableViewRow is cut off", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "33926", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "123995", "key": "TIMOB-16048", "fields": { "summary": "Only first Image is showing on a tableview when taking a picture from camera", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-19T03:42:51.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": "*Problem description*\r\nLabels added to TableView rows on Android seem to disappear/reappear when scrolling. With className commented, only one row ('Peaches') disappears, with className uncommented, only 'Peaches' appears.\r\n\r\n*Test case*\r\n{code}\r\nvar win = Titanium.UI.createWindow({\r\n\tbackgroundColor : '#fff'\r\n});\r\n\r\nvar tableView = Ti.UI.createTableView({\r\n\twidth : '80%',\r\n\theight : 100,\r\n\tborderColor : 'black',\r\n\tborderWidth : 1\r\n});\r\n\r\nwin.add(tableView);\r\n\r\nvar listOptions = [ 'Apple', 'Orange', 'Mango', 'Peaches', 'Guava', 'Banana', 'Cherry' ];\r\nvar tableData = [];\r\n\r\nfor (var i = 0; i < listOptions.length; i++) {\r\n\r\n\tvar row = Ti.UI.createTableViewRow({\r\n\t\twidth : '100%',\r\n\t\theight : 40\r\n\t\t//,\r\n\t\t//className : 'drop_down_view_row'\r\n\t});\r\n\r\n\tvar label = Ti.UI.createLabel({\r\n\t\tleft : '10dip',\r\n\t\twidth : '90%',\r\n\t\theight : '90%',\r\n\t\ttext : listOptions[i],\r\n\t\tcolor : 'black'\r\n\t});\r\n\r\n\trow.add(label);\r\n\ttableData.push(row);\r\n}\r\n\r\ntableView.setData(tableData);\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: TableView row labels disappear, related to className property", "creator": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 2.3.3, 4.0.4\r\nTi SDK 2.1.4, 3.0, 3.1", "comment": { "comments": [ { "id": "237929", "author": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "body": "The tableview is also not working properly in 2.1.3GA. Not able to find the root cause. Even if we increase the number of records and then try to set the width and height of the table as 100% then also the issue remains. With className property set, only the first row that is not visibile initially is not displayed propery but gets displayed properly once the scrolling happens.", "updateAuthor": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "created": "2013-02-11T07:58:53.000+0000", "updated": "2013-02-11T07:58:53.000+0000" }, { "id": "243012", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Can't reproduce on latest master", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-03-19T20:04:52.000+0000", "updated": "2013-03-19T20:04:52.000+0000" }, { "id": "243394", "author": { "name": "ssrivastava", "key": "ssrivastava", "displayName": "Shubham Srivastava", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Was able to reproduce with Google Nexus 7-Android 4.1.\nStudio-3.0.2.201302191606\nTitanium SDK-3.1.0.v20130320190115", "updateAuthor": { "name": "ssrivastava", "key": "ssrivastava", "displayName": "Shubham Srivastava", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-21T12:26:48.000+0000", "updated": "2013-03-21T12:26:48.000+0000" }, { "id": "243615", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It is a layout issue. If line 29 is commented out, {code}//height : '90%',{code}, the table view works fine. This issue does not happen on 2.0.2.GA.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-22T01:21:59.000+0000", "updated": "2013-03-22T01:24:14.000+0000" }, { "id": "246036", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reproduced with 3.1.0 RC", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-05T20:11:34.000+0000", "updated": "2013-04-05T20:11:34.000+0000" }, { "id": "246806", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/4137", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-10T02:18:30.000+0000", "updated": "2013-04-10T02:18:30.000+0000" }, { "id": "276095", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Labels are visible when className property exists.\r\n \r\nVerified fix on:\r\nDevice: Samsung Galaxy Note, Android version: 2.3.6\r\nDevice : Google Nexus 7, Android Version: 4.3\r\nSDK: 3.2.0.v20131021142445\r\nCLI version : 3.2.0\r\nOS : MAC OSX 10.8.4\r\nAlloy : 1.2.2\r\nAppcelerator Studio, build: 3.2.0.201310181700\r\nXCode : 5", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-10-22T06:42:23.000+0000", "updated": "2013-10-22T06:42:23.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }