{ "id": "152302", "key": "TIMOB-19777", "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": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" }, { "id": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-11-04T18:51:41.000+0000", "created": "2015-10-23T17:12:05.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "ios", "listView" ], "versions": [ { "id": "16778", "description": "Release 5.0.1", "name": "Release 5.0.1", "archived": false, "released": true, "releaseDate": "2015-09-25" }, { "id": "16904", "description": "Release 5.0.2", "name": "Release 5.0.2", "archived": true, "released": true, "releaseDate": "2015-10-01" }, { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [ { "id": "49627", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "151346", "key": "TIMOB-19863", "fields": { "summary": "iOS9: ListView not filling screen width", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "49884", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "151640", "key": "TIMOB-19893", "fields": { "summary": "iOS: iPad - List View width is not all the way to the edges.", "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": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-11-20T04:55:24.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.Issue Description\r\nTitanium does not appear to support setting the new iOS 9 feature cellLayoutMarginsFollowReadableWidth. \r\n\r\n**Attached Screen Shots\r\n\r\nh6.Steps to replicate \r\n-Download the attached BugSample.zip file\r\n-Import the project to appcelerator studio\r\n-Build and run", "attachment": [ { "id": "57121", "filename": "2015-10-26 14.24.02.png", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-23T17:10:50.000+0000", "size": 232215, "mimeType": "image/png" }, { "id": "57120", "filename": "2015-10-26 14.24.07.png", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-23T17:10:50.000+0000", "size": 214315, "mimeType": "image/png" }, { "id": "57119", "filename": "BugSample.zip", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-23T17:10:57.000+0000", "size": 788852, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: ListView separator has huge margins on iOS 9", "creator": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Xcode 7\r\niOS 9\r\nTitanium SDK 5.0.2", "closedSprints": [ { "id": 517, "state": "closed", "name": "2015 Sprint 22 SDK", "startDate": "2015-10-24T00:30:42.059Z", "endDate": "2015-11-07T01:30:00.000Z", "completeDate": "2015-11-09T02:37:29.441Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "368881", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Could you please provide more detail. Does the problem only occur when building on alloy and deploying on an iPad ? If not, could you please re-produce the issue on a classic build and provide the code. Thanks! ", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-03T22:05:04.000+0000", "updated": "2015-11-03T22:05:04.000+0000" }, { "id": "368889", "author": { "name": "christi", "key": "christi", "displayName": "Christi", "active": true, "timeZone": "America/New_York" }, "body": "The problem is iOS 9 specific due to the newly added cellLayoutMarginsFollowReadableWidth. I imagine it would occur for both iPad and iPhone although I did not test for iPhone. I have no idea if it happens when not building on alloy but probably not. Why would I create a classic app? I already provided an example app. Is that not good enough? I was under the impression that Alloy is the framework everyone should be using. I have never created a classic app and don't particularly want to spend time learning how.\r\n\r\nI'm pretty sure the issue will be resolved (back to the way it previously looked) by setting cellLayoutMarginsFollowReadableWidth to NO/false. If you wish to support this setting being true, it would require some additional work to allow this to be set by the user on a ListView.", "updateAuthor": { "name": "christi", "key": "christi", "displayName": "Christi", "active": true, "timeZone": "America/New_York" }, "created": "2015-11-03T22:31:48.000+0000", "updated": "2015-11-03T22:31:48.000+0000" }, { "id": "368903", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR pending https://github.com/appcelerator/titanium_mobile/pull/7393\r\n\r\nDemo Code:\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\nvar listView = Ti.UI.createListView();\r\nvar sections = [];\r\n\r\nvar sectionOne = Ti.UI.createListSection({ \r\n headerTitle: 'Random Items',\r\n height: Ti.UI.SIZE,\r\n width: Ti.UI.SIZE,\r\n});\r\nvar dataSet1 = [\r\n {properties: { title: 'Item one'}},\r\n {properties: { title: 'Item two'}},\r\n];\r\nsectionOne.setItems(dataSet1);\r\nsections.push(sectionOne);\r\n\r\nvar sectionTwo = Ti.UI.createListSection({ \r\n headerTitle: 'More Random Items',\r\n height: Ti.UI.SIZE,\r\n width: Ti.UI.SIZE,\r\n});\r\nvar dataSet2 = [\r\n {properties: { title: 'Item 2.1'}},\r\n {properties: { title: 'WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW'}},\r\n {properties: { title: 'Item 2.3'}},\r\n];\r\nsectionTwo.setItems(dataSet2);\r\nsections.push(sectionTwo);\r\n\r\nlistView.sections = sections;\r\nwin.add(listView);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-04T00:34:50.000+0000", "updated": "2015-11-04T01:12:54.000+0000" }, { "id": "369001", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR approved!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-11-04T18:51:35.000+0000", "updated": "2015-11-04T18:51:35.000+0000" }, { "id": "369141", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, was able to reproduce the error on iOS 9 devices and simulators using the 5.0.2.GA SDK, but problem is not present with iOS 8 devices with 5.0.2.GA. Can confirm that the issue is no longer reproducible using {{5.1.0.v20151104121228}} SDK and later. Tested on both Alloy and Classic projects, using the following configurations:\r\n\r\niPad Retina 9.0 & iPad Air 2 Sim 9.1\r\niPhone 6S 9.1 & iPhone 6S+ Sim 9.1\r\nXcode 7.1 & 6.4\r\n\r\nMac OSX El Capitan 10.11 (15A284)\r\nTi SDK: 5.1.0.v20151104190037 \r\nAppc NPM: 4.2.1\r\nAppc CLI: 5.1.0-42\r\nTi CLI: 5.0.4\r\nAlloy: 1.7.23\r\nXcode 7.1(7B91b)\r\nNode v0.12.7\r\nproduction\r\n\r\n*Closing ticket.*\r\n\r\n\r\n", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2015-11-06T00:59:37.000+0000", "updated": "2015-11-06T00:59:37.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }