{ "id": "136408", "key": "TIMOB-17676", "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": "16586", "description": "Release 3.4.2", "name": "Release 3.4.2", "archived": false, "released": true, "releaseDate": "2017-03-11" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-10-03T18:52:03.000+0000", "created": "2014-09-10T23:01:05.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_listview", "qe-3.4.0" ], "versions": [], "issuelinks": [ { "id": "41950", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "137715", "key": "AC-1226", "fields": { "summary": "iOS8: TableView: Separator Insets values are not respected on the side of the title/data if the listview row contains a title/data", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mdadu", "key": "mdadu", "displayName": "Muhammad Dadu", "active": false, "timeZone": "Europe/London" }, "updated": "2014-11-24T18:05:26.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": "h6. This issue is only seen on iOS 8. Works fine on iOS 7.1\r\n\r\nh5. Description:\r\n1. Run the code below:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white',\r\n title:'INSETS',\r\n layout:'vertical'\r\n});\r\n \r\n \r\nvar container = Ti.UI.createView({height:Ti.UI.SIZE,width:Ti.UI.SIZE,layout:'horizontal'});\r\nwin.add(container);\r\n \r\n \r\nvar listView = Ti.UI.createListView({top:5,separatorColor:'red',separatorInsets:{left:0,right:0}});\r\n \r\nvar section = Ti.UI.createListSection();\r\n \r\nvar data = [\r\n {properties: { title: 'ONE'}},\r\n {properties: { title: 'TWO'}},\r\n {properties: { title: 'THREE'}},\r\n {properties: { title: 'FOUR'}}\r\n];\r\nsection.setItems(data);\r\nlistView.sections = [section];\r\n \r\nwin.add(listView);\r\n\r\nvar nav = Ti.UI.iOS.createNavigationWindow({\r\n window:win\r\n});\r\n \r\nnav.open();\r\n{code}\r\n2. Run it on iOS 8 & iOS 7 device & notice the difference.\r\n\r\nh5. Actual Result:\r\n1. Separator Insets values should be respected on the side of the title/data if the listview row contains a title/data e.g ONE,TWO,THREE,FOUR.\r\n\r\nNOTE: Refer screenshots for reference.\r\n\r\nh5. Expected Result:\r\n1. Separator Insets values are not respected on the side of the title/data if the listview row contains a titledata", "attachment": [ { "id": "51131", "filename": "iOS_7.1_seperatorinset[0,0].png", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-10T23:01:05.000+0000", "size": 91215, "mimeType": "image/png" }, { "id": "51130", "filename": "iOS_8.0_seperatorinset[0,0].png", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-10T23:01:05.000+0000", "size": 52645, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS8: Listview: Separator Insets values are not respected on the side of the title/data if the listview row contains a title/data", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 3.4.0.201409101253\r\nTi SDK : 3.4.0.v20140909222515 \r\nMac OSX : 10.9.4\r\nAlloy : 1.5.0-rc\r\nCLI - 3.4.0-rc\r\nCode Processor: 1.1.1\r\nxcode 6 gmseed\r\niphone 5 - IOS 8.0 GmSeed\r\nIpad mini - IOS 8.0 GmSeed", "closedSprints": [ { "id": 220, "state": "closed", "name": "2014 Sprint 20 SDK", "startDate": "2014-09-29T22:32:25.224Z", "endDate": "2014-10-13T18:25:00.000Z", "completeDate": "2014-10-13T18:25:45.560Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "323853", "author": { "name": "mdadu", "key": "mdadu", "displayName": "Muhammad Dadu", "active": false, "timeZone": "Europe/London" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/6091\r\n\r\nIn iOS 8, there is one new property for all the objects inherit from UIView., which is called \"layoutMargins\".\r\n\r\nThe solution to set the separatorInset in iOS 7 would not be able to remove the white space you see on the UITableView in iOS 8.", "updateAuthor": { "name": "mdadu", "key": "mdadu", "displayName": "Muhammad Dadu", "active": false, "timeZone": "Europe/London" }, "created": "2014-09-16T00:17:38.000+0000", "updated": "2014-09-16T00:17:38.000+0000" }, { "id": "323915", "author": { "name": "cbowley", "key": "cbowley", "displayName": "Chris Bowley", "active": true, "timeZone": "Europe/London" }, "body": "This also affects TableView separatorInsets - has the same change been made to the TableView?", "updateAuthor": { "name": "cbowley", "key": "cbowley", "displayName": "Chris Bowley", "active": true, "timeZone": "Europe/London" }, "created": "2014-09-16T08:57:44.000+0000", "updated": "2014-09-16T08:57:44.000+0000" }, { "id": "326907", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Backport to 3_4_X\r\nhttps://github.com/appcelerator/titanium_mobile/pull/6198", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-10-03T18:52:03.000+0000", "updated": "2014-10-03T18:52:03.000+0000" }, { "id": "326946", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified fix on:\r\n\r\nMac OSX 10.9.5\r\nAppcelerator Studio, build: 3.4.0.201409261245\r\nTitanium SDK build: 3.5.0.v20141003114918, 3.4.1.v20141003114920\r\nTitanium CLI, build: 3.4.0\r\nAlloy: 1.5.1\r\nXcode: 6.1 GM Seed\r\niPhone 6 Plus (8.0.2)\r\n\r\nUsing the code above, the separator inset values are now respected and there is no whitespace on the separator.\r\n\r\nClosing ticket.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-10-03T22:01:41.000+0000", "updated": "2014-10-03T22:01:41.000+0000" }, { "id": "326947", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and verified separators are touching the edge.\r\nMac osx 10.9.5 Mavericks\r\nAppcelerator Studio, build: 3.4.0.201409261245\r\nTitanium SDK, build: 3.4.1.v20141003114920\r\nacs@1.0.18\r\nalloy 1.5.1\r\ninstall@0.1.7\r\nnpm@1.4.23\r\nsudo@1.0.3\r\ntitanium 3.4.0\r\ntitanium-code-processor@1.1.1\r\nXcode6.1GM\r\nDevice:\r\niPhone6 iOS 8.1", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-03T22:08:27.000+0000", "updated": "2014-10-03T22:08:27.000+0000" }, { "id": "327120", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-10-07T10:10:27.000+0000", "updated": "2014-10-07T10:10:27.000+0000" }, { "id": "333414", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "This is not fixed. I tested with ti sdk 3.4.0 and 3.4.1 and the same occurs.\r\n", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-11-24T17:51:02.000+0000", "updated": "2014-11-24T17:51:02.000+0000" }, { "id": "333416", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "I don't seem to be able to attach a file anymore, here is the app.js\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\nvar listView = Ti.UI.createListView({\r\n\ttop:20,\r\n\tseparatorInsets: {\r\n\t\tleft:0,\r\n\t\tright:0\r\n\t}\r\n});\r\nvar sections = [];\r\n\r\nvar fruitSection = Ti.UI.createListSection({ headerTitle: 'Fruits'});\r\nvar fruitDataSet = [\r\n {properties: { title: 'Apple'}},\r\n {properties: { title: 'Banana'}},\r\n];\r\nfruitSection.setItems(fruitDataSet);\r\nsections.push(fruitSection);\r\n\r\nvar vegSection = Ti.UI.createListSection({ headerTitle: 'Vegetables'});\r\nvar vegDataSet = [\r\n {properties: { title: 'Carrots'}},\r\n {properties: { title: 'Potatoes'}},\r\n];\r\nvegSection.setItems(vegDataSet);\r\nsections.push(vegSection);\r\n\r\nlistView.sections = sections;\r\nwin.add(listView);\r\nwin.open();\r\n\r\nvar fishSection = Ti.UI.createListSection({ headerTitle: 'Fish'});\r\nvar fishDataSet = [\r\n {properties: { title: 'Cod'}},\r\n {properties: { title: 'Haddock'}},\r\n];\r\nfishSection.setItems(fishDataSet);\r\nlistView.appendSection(fishSection);\r\n{code}\r\n\r\nAnd the screenshot https://www.dropbox.com/s/sy7psmk4eu7x8ry/iOS%20Simulator%20Screen%20Shot%2024%20Nov%202014%2018.48.07.png?dl=0", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-11-24T17:52:57.000+0000", "updated": "2014-11-24T17:52:57.000+0000" }, { "id": "333417", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "@Dan: The fixes is merged in the 3.4.2+ releases.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-11-24T17:57:32.000+0000", "updated": "2014-11-24T17:57:32.000+0000" }, { "id": "333419", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "@Hans, I'm an idiot, thank you :)", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-11-24T18:05:26.000+0000", "updated": "2014-11-24T18:05:26.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }