{ "id": "131699", "key": "TIMOB-17155", "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": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-06-16T19:35:14.000+0000", "created": "2014-06-13T13:27:55.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_listview", "qe-closed-3.4.0", "qe-manualtest", "qe-testadded" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15857", "description": "Release 3.2.2", "name": "Release 3.2.2", "archived": false, "released": true, "releaseDate": "2014-03-09" }, { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [ { "id": "38438", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "128084", "key": "TIMOB-16704", "fields": { "summary": "Android: when showing a listview with a custom template, child elements are displayed incorrectly", "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": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-08-19T08:30:14.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": "h4. Description\r\n\r\nIf a Label or View within a ListSection of a ListView is given a borderWidth property, it does not display in the correct order in relation to the other items in the section. It displays at the bottom of the list.\r\n\r\nThe behaviour expected is that the list item is rendered in the correct order.\r\n\r\nh4. Steps to reproduce\r\n\r\n1. Run the attached app.js code sample\r\n2. Observe the label \"medium\" appears after \"big\" despite it being above \"big\" on creation in the code. If the borderWidth property is removed, it renders in correct order. Attached are screenshots showing this.", "attachment": [ { "id": "48928", "filename": "app.js", "author": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-13T13:27:55.000+0000", "size": 1532, "mimeType": "text/javascript" }, { "id": "48929", "filename": "border.png", "author": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-13T13:27:55.000+0000", "size": 73908, "mimeType": "image/png" }, { "id": "48930", "filename": "noborder.png", "author": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-13T13:27:55.000+0000", "size": 69827, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: ListView ListItems do not display in order if the borderWidth property is specified", "creator": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 4.4.2 \r\nNexus 4\r\nTi SDK 3.2.3GA and 3.3.0RC", "closedSprints": [ { "id": 121, "state": "closed", "name": "2014 Sprint 12 SDK", "startDate": "2014-06-09T21:51:17.043Z", "endDate": "2014-06-21T00:00:00.000Z", "completeDate": "2014-06-23T16:52:29.621Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "309075", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/5803", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-16T04:28:03.000+0000", "updated": "2014-06-16T04:28:03.000+0000" }, { "id": "309175", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "The test case has exposed a bug in Vertical Layout in Titanium. I was however able to verify the fix by setting fixed heights instead of size for the child labels. ", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-06-16T19:35:14.000+0000", "updated": "2014-06-16T19:35:14.000+0000" }, { "id": "319242", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Environment - \r\nAppc Studio - 3.4.0.201408180158 \r\nSDK - 3.4.0.v20140815142514 \r\nacs - 1.0.16 \r\nalloy - 1.5.0-dev \r\nnpm - 1.3.2 \r\ntitanium - 3.4.0-dev \r\ntitanium-code-processor - 1.1.1 \r\nOS - mavericks (v10.9.4) \r\nXcode - 6Beta5\r\nDevice - iPhone5 (v7.1.2), Nexus5(v4.4.4)\r\n\r\nResult - Now its working fine. Shows the ListView ListItems in proper order with borderWidth property. See the attached screen shot. Hence closing this issue. However found an issue when ListView ListItems disappear on scrolling. Logged separate issue TIMOB-17512 for this. ", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-19T07:24:12.000+0000", "updated": "2014-08-19T07:24:12.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }