{ "id": "141582", "key": "TIMOB-18201", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-10-04T17:22:59.000+0000", "created": "2014-12-15T09:48:08.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-3.5.0" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-03-24T17:58:56.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "This is not a regression as it can also be reproduced with titanium sdk 3.4.1\r\nThe sub info in the first row gets overlapped with the info in the next line in listview. Clicking on the row causes the sub info that overlapped to disappear and re-appear after some time. However, this works fine with android.\r\n\r\nSteps to reproduce:\r\n1. Run the attached app.js\r\n2. Observe the info \r\n3. Click on the row : \"\"\r\n\r\nActual Results:\r\n2. The sub info gets overlapped with the info in the next line as shown in the attached screen shot\r\n3. The sub info that overlapped with the info in the line disappears and reappears again after some time \r\n\r\nExpected Results:\r\n2. No overlap of the text found in the list view. The sub info and info should be clearly visible. \r\n3. The sub info should not disappear.\r\n", "attachment": [ { "id": "53210", "filename": "app.js", "author": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-12-15T09:48:08.000+0000", "size": 3795, "mimeType": "text/javascript" }, { "id": "53209", "filename": "textOverlap.PNG", "author": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-12-15T09:48:08.000+0000", "size": 301326, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: subtitles in Listview gets overlapped with the titles in the next row", "creator": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Appc-Studio: 3.4.1.201410281743 \r\n
Titanium SDK: 3.5.0.v20141212180914 
\r\nTitanium CLI: 3.4.1 
\r\nAlloy : 1.5.1 GA \r\n
OS: Mac OSX 10.10 \r\n
Xcode: 6.1 
\r\nDevice: iPad Air 2 (iOS8.1)", "comment": { "comments": [ { "id": "398069", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "The test-case was invalid (rows too small for the subtitle-margins, {{html}}-property not applicable). Updated and minified test-case:\r\n{code:javascript}\r\n\r\n \r\n//\r\n// create base UI tab and root window\r\n//\r\nvar _window = Titanium.UI.createWindow({ \r\n});\r\n\r\n\r\nvar myTemplate = {\r\n childTemplates: [ //\r\n { // Title\r\n type: 'Ti.UI.Label', // Use a label for the title\r\n bindId: 'info', // Maps to a custom info property of the item data\r\n properties: { // Sets the label properties\r\n color: 'black',\r\n font: { fontFamily:'Arial', fontSize: '18dp', fontWeight:'bold' },\r\n left: 60, top: 0,\r\n\t\t\t\theight: 20\r\n }\r\n },\r\n { // Subtitle\r\n type: 'Ti.UI.Label', // Use a label for the subtitle\r\n bindId: 'es_info', // Maps to a custom es_info property of the item data\r\n properties: { // Sets the label properties\r\n color: 'gray',\r\n font: { fontFamily:'Arial', fontSize: '14dp' },\r\n left: 60, bottom: 5\r\n }\r\n }\r\n ]\r\n};\r\n \r\nvar listView = Ti.UI.createListView({\r\n // Maps myTemplate dictionary to 'template' string\r\n templates: { 'template': myTemplate },\r\n // Use 'template', that is, the myTemplate dict created earlier\r\n // for all items as long as the template property is not defined for an item.\r\n defaultItemTemplate: 'template'\r\n});\r\nvar sections = [];\r\n \r\nvar fruitSection = Ti.UI.createListSection({ headerTitle: 'Fruits / Frutas'});\r\nvar fruitDataSet = [\r\n { info: {text: \"http://google.com\"}, es_info: {text: 'Manzana'}},\r\n { info: {text: \"Banana\\t http://en.wikipedia.org/wiki/Banana\"}, es_info: {text: 'Banana'}},\r\n { info: {text: \"Pineapple\\t http://en.wikipedia.org/wiki/Pineapple\"}, es_info: {text: 'Pina'}},\r\n { info: {text: \"Peach \\thttp://en.wikipedia.org/wiki/Peach\"}, es_info: {text: 'Durazno'}},\r\n { info: {text: \"Apple\\t http://en.wikipedia.org/wiki/Apple\"}, es_info: {text: 'Manzana'}},\r\n { info: {text: \"Banana\\t http://en.wikipedia.org/wiki/Banana\"}, es_info: {text: 'Banana'}},\r\n { info: {text: \"Pineapple\\t http://en.wikipedia.org/wiki/Pineapple\"}, es_info: {text: 'Pina'}},\r\n { info: {text: \"Peach \\thttp://en.wikipedia.org/wiki/Peach\"}, es_info: {text: 'Durazno'}}\r\n];\r\nfruitSection.setItems(fruitDataSet);\r\nsections.push(fruitSection);\r\n \r\nvar vegSection = Ti.UI.createListSection({ headerTitle: 'Vegetables / Verduras'});\r\nvar vegDataSet = [\r\n { info: {text: 'Carrot\\thttp://en.wikipedia.org/wiki/Carrot'}, es_info: {text: 'Zanahoria'}},\r\n { info: {text: 'Potato\\thttp://en.wikipedia.org/wiki/Potato'}, es_info: {text: 'Patata'}},\r\n { info: {text: 'Carrot\\thttp://en.wikipedia.org/wiki/Carrot'}, es_info: {text: 'Zanahoria'}},\r\n { info: {text: 'Potato\\thttp://en.wikipedia.org/wiki/Potato'}, es_info: {text: 'Patata'}},\r\n];\r\nvegSection.setItems(vegDataSet);\r\nsections.push(vegSection);\r\n \r\nvar grainSection = Ti.UI.createListSection({ headerTitle: 'Grains / Granos'});\r\nvar grainDataSet = [\r\n { info: {text: \"Corn\\t http://en.wikipedia.org/wiki/Maiz\"}, es_info: {text: 'Maiz'}},\r\n { info: {text: \"Rice\\t http://en.wikipedia.org/wiki/Rice\"}, es_info: {text: 'Arroz'}},\r\n { info: {text: \"Wheat\\t http://en.wikipedia.org/wiki/Wheat\"}, es_info: {text: 'Trigo'}},\r\n { info: {text: \"Corn\\t http://en.wikipedia.org/wiki/Maiz\"}, es_info: {text: 'Maiz'}},\r\n { info: {text: \"Rice\\t http://en.wikipedia.org/wiki/Rice\"}, es_info: {text: 'Arroz'}},\r\n { info: {text: \"Wheat\\t http://en.wikipedia.org/wiki/Wheat\"}, es_info: {text: 'Trigo'}}\r\n];\r\ngrainSection.setItems(grainDataSet);\r\nsections.push(grainSection);\r\n \r\nlistView.setSections(sections);\r\n_window.add(listView);\r\n _window.open();\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-04T17:22:59.000+0000", "updated": "2016-10-04T17:22:59.000+0000" }, { "id": "415601", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T17:58:56.000+0000", "updated": "2017-03-24T17:58:56.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }