{ "id": "152883", "key": "TIMOB-19908", "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": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-04-04T13:39:44.000+0000", "created": "2015-11-10T23:50:43.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "AL-5.4.0", "autolayout", "notable", "qe-5.4.0" ], "versions": [ { "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" } ], "issuelinks": [ { "id": "51205", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "159138", "key": "TIMOB-23124", "fields": { "summary": "iOS: Autolayout does not work with latest master / Build fails", "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 } } } } ], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-07-07T19:41:54.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": "In use-autolayout enabled and specification the width/height properties.\r\n\r\nTest case.\r\n\r\n*tiapp.xml*\r\n\r\n{code:xml}\r\n\r\n true\r\n\r\n{code}\r\n\r\n*app.js*\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow(),\r\n view0 = Ti.UI.createView({\r\n backgroundColor: 'red'\r\n }),\r\n view1 = Ti.UI.createView({\r\n backgroundColor: 'green'\r\n }),\r\n view2 = Ti.UI.createView({\r\n backgroundColor: 'blue'\r\n }),\r\n scrollableview = Ti.UI.createScrollableView({\r\n width: 200, // not the Ti.UI.FILL or SIZE\r\n height: 200, // not the Ti.UI.FILL or SIZE\r\n views: [\r\n view0,\r\n view1,\r\n view2\r\n ]\r\n });\r\n\r\nwin.add(scrollableview);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Ti.UI.ScrollableView was not shown", "creator": { "name": "k0sukey", "key": "k0sukey", "displayName": "Kosuke Isobe", "active": true, "timeZone": "Asia/Tokyo" }, "subtasks": [], "reporter": { "name": "k0sukey", "key": "k0sukey", "displayName": "Kosuke Isobe", "active": true, "timeZone": "Asia/Tokyo" }, "environment": "SDK 5.1.0.v20151104190037", "closedSprints": [ { "id": 529, "state": "closed", "name": "2015 Sprint 24 SDK", "startDate": "2015-11-21T01:30:12.670Z", "endDate": "2015-12-05T01:30:00.000Z", "completeDate": "2015-12-07T03:57:17.094Z", "originBoardId": 114 }, { "id": 614, "state": "closed", "name": "2016 Sprint 07 SDK", "startDate": "2016-03-26T00:38:56.432Z", "endDate": "2016-04-09T00:38:00.000Z", "completeDate": "2016-04-11T04:41:08.231Z", "originBoardId": 114 }, { "id": 536, "state": "closed", "name": "2015 Sprint 25 SDK", "startDate": "2015-12-05T01:30:40.415Z", "endDate": "2015-12-19T01:30:00.000Z", "completeDate": "2015-12-29T03:19:42.127Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "372332", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed in this PR https://github.com/appcelerator/titanium_mobile/pull/7553", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-12-07T19:51:00.000+0000", "updated": "2015-12-07T19:51:00.000+0000" }, { "id": "372368", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "APPROVED. PR Merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-12-08T02:17:45.000+0000", "updated": "2015-12-08T02:17:45.000+0000" }, { "id": "374981", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "I am still able to reproduce the error with the latest 5.2.X SDK. Tested the above test case against several SDKs and found the following:\r\n\r\n5.1.1.GA SDK: App launches & Black Screen, no Scrollable View.\r\n5.1.2.GA SDK: App hangs on splash screen.\r\n5.2.0.v20160114021251 SDK: App launches & White Screen, no Scrollable View.\r\n\r\nIn all cases, removing {{true}} from the tiapp.xml fixes the issue and the scrollable view is shown, setting autolayout to {{false}} in all cases also fixes the issue.\r\n\r\niPhone 6s Plus Device (9.2) \r\nMac OSX El Capitan 10.11 (15A284)\r\nTi SDK: 5.2.0.v20160114021251 , 5.1.1.GA , 5.1.2.GA\r\nAppc NPM: 4.2.3-1 , 4.2.2\r\nApp CLI: 5.2.0-228 , 5.1.0\r\nXcode 7.2\r\nNode v4.2.3\r\n\r\n*Reopening Ticket.*\r\n\r\n", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-01-20T20:10:26.000+0000", "updated": "2016-01-20T20:10:26.000+0000" }, { "id": "379025", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/7809", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-07T17:57:52.000+0000", "updated": "2016-03-07T17:57:52.000+0000" }, { "id": "381143", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/7896\r\n\r\nh4. To test\r\nIN these 2 scenarios, this should work perfectly\r\na) run-on-main-thread enabled, auto layout enabled\r\nb) run-on-main-thread disabled, auto layout disabled\r\n\r\n[~bimmel] To consider for 5.4.0 release notes, we may need to inform developers, if they wish to use auto layout, run-on-main-thread MUST be enabled. ", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-31T06:32:25.000+0000", "updated": "2016-03-31T06:37:59.000+0000" }, { "id": "381147", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-31T06:44:52.000+0000", "updated": "2016-03-31T06:45:56.000+0000" }, { "id": "381173", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-03-31T12:28:23.000+0000", "updated": "2016-03-31T12:28:23.000+0000" }, { "id": "381266", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Thanks Hans!!!!\r\nSo I'm assuming that with everything disabled, these still function as per normal? I think i just fixed those 2 issues. checking again and will update PR.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-01T03:25:05.000+0000", "updated": "2016-04-01T06:17:23.000+0000" }, { "id": "381449", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Here's a better PR: https://github.com/appcelerator/titanium_mobile/pull/7914", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-04T12:25:07.000+0000", "updated": "2016-04-04T12:25:07.000+0000" }, { "id": "390071", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed.\r\nTested on:
\r\niPhone 5s (9.2)\r\niOS Simulator (9.3)\r\n
Mac OSX El Capitan 10.11.5\r\nStudio: 4.7.0.201607070843\r\n
Ti SDK: 5.4.0.v20160705213725\r\n
Appc NPM: 4.2.8-1\r\nAppc CLI: 5.4.0-26\r\n
Xcode 7.3.1\r\nNode v4.4.4\r\n*
Closing Ticket*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-07-07T19:41:18.000+0000", "updated": "2016-07-07T19:41:18.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }