{ "id": "155306", "key": "TIMOB-20505", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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-03-08T05:21:58.000+0000", "created": "2016-03-03T05:26:41.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "AL-5.4.0", "autolayout" ], "versions": [], "issuelinks": [ { "id": "50862", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "155407", "key": "TIMOB-20513", "fields": { "summary": "iOS: Activity indicator label cut off when auto layout is enabled", "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": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T17:08:53.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": "Some UI components has inconsistent layout behaviors when auto-layout property is toggled on/off.\r\nComponents include:\r\nTiMediaVideoPlayer\r\nTiUIActivityIndicator\r\nTiUIButton\r\nTiUIButtonBar\r\nTiUICanvasView\r\nTiUIImageView\r\nTiUILabel\r\nTiUIListView\r\nTiUIMaskedImage\r\nTiUINavBarButton\r\nTiUIPicker\r\nTiUIProgressBar\r\nTiUIScrollView\r\nTiUIScrollableView\r\nTiUISearchBar\r\nTiUISlider\r\nTiUISwitch\r\nTiUITabGroup\r\nTiUITableView\r\nTiUITextField\r\nTiUITextWidget\r\nTiUIWebView\r\nTiUIiOSAdView\r\nTiUIiOSCoverFlowView\r\nTiUIiOSLivePhotoView\r\nTiUIiOSToolbar\r\nTiUIiPadSplitWindow\r\n", "attachment": [], "flagged": false, "summary": "iOS: Inconsistent behavior with various UI components when toggling autolayout", "creator": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 585, "state": "closed", "name": "2016 Sprint 5 SDK", "startDate": "2016-02-27T01:30:43.377Z", "endDate": "2016-03-12T01:30:00.000Z", "completeDate": "2016-03-14T11:50:17.995Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "378536", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR here: https://github.com/appcelerator/titanium_mobile/pull/7618", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-03T05:27:09.000+0000", "updated": "2016-03-03T05:27:09.000+0000" }, { "id": "378538", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "h2. Test for regression with this PR\r\nh4. Steps to Test\r\n1. get KitchenSink latest master\r\n2. in tiapp.xml, set property\r\n{code}\r\n \r\n false\r\n{code}\r\n3. *ti build -p ios*\r\n4. now in tiapp.xml, set sdk to 5.2.0.GA\r\n5. *ti build -p ios -T device*\r\nh4. Expected Result\r\nCompare the UI component layouts between the simulator and device. it should be exactly the same.\r\n\r\nh2. Test Case for toggling autolayout\r\nh4. Steps to Test\r\n1. get KitchenSink latest master\r\n2. in tiapp.xml, set property\r\n{code}\r\n \r\n true\r\n{code}\r\n3. *ti build -p ios*\r\n4. set \"use-autolayout\" to false\r\n5. *ti build -p ios*\r\n\r\nh4. Expected result\r\nThe key components as stated above in description should behave the same with auto-layout true or false.\r\n\r\nNote: To also test with landscape orientation, on device, and on iPad.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-03T05:37:04.000+0000", "updated": "2016-03-03T07:28:14.000+0000" }, { "id": "378741", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "CR and FT done. Found some minor issues, so will open separate tickets for those and reference here.\r\nSince this is a big ticket and PR, changing to story and merging PR. If there's more bugs to be found, new tickets should be opened.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-04T04:54:15.000+0000", "updated": "2016-03-04T04:54:15.000+0000" }, { "id": "379124", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-08T05:21:43.000+0000", "updated": "2016-03-08T05:21:43.000+0000" }, { "id": "413721", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T17:08:53.000+0000", "updated": "2017-03-20T17:08:53.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }