{ "id": "89953", "key": "TIMOB-8713", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13405", "description": "Sprint 2012-09 API", "name": "Sprint 2012-09 API", "archived": true, "released": true, "releaseDate": "2012-05-06" }, { "id": "13496", "description": "Release 2.0.3", "name": "Release 2.0.3", "archived": true, "released": false } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-07-09T07:42:24.000+0000", "created": "2012-04-12T19:43:42.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "module_scrollview", "qe-testadded", "titanbeta" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "17387", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "91303", "key": "TIMOB-8982", "fields": { "summary": "iOS: Ti.UI.SIZE on the view, does not work on its child labels, that need to wrap text", "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 } } } }, { "id": "17587", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "91003", "key": "TIMOB-9103", "fields": { "summary": "iOS: Labels placed in tableview do not exhibit correct behavior when height is Ti.UI.SIZE", "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 } } } }, { "id": "17360", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "91816", "key": "TIMOB-9127", "fields": { "summary": "iOS: label height of Ti.UI.SIZE doesn't grow to the height of the content", "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 } } } }, { "id": "17366", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "91816", "key": "TIMOB-9127", "fields": { "summary": "iOS: label height of Ti.UI.SIZE doesn't grow to the height of the content", "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": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-08-07T03:45:01.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": "Scroll View Bug with font, a label view was not fully resizing correctly when in an scroll view, simple use cases didn't show any issues, the code worked on android too. It turns out that by adding a font property to the label view, causes the scaling / resizing engine to fail in its calculations and set the bounding box shorter than it should be.\r\n\r\nTest Case on Gist:\r\n\r\nhttps://gist.github.com/c3ddfe83c3b9943ae366\r\n\r\nRun as is, and you will see all the text, uncomment the font property and you will see it stops short of the end of text.", "attachment": [], "flagged": false, "summary": "iOS: Label not resizing properly when in ScrollView", "creator": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "environment": "Mac OSX 10.6.8 - 2.0.1RC SDK - Simulator / iPhone 4S", "comment": { "comments": [ { "id": "190837", "author": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "body": "Also the code above will fail if you use this text string (even without adding the font property:)\r\n\r\n\r\nvar text = \"So many of today’s creative, technical, and cultural talent are, in one way or another, indebted to the little machine that plugged into the living room telly.We’re celebrating the Spectrum’s anniversary in HORIZONS, at the BFI: a rich blend of fun, memories, and future-gazing. Play some of your favourite games (you’re welcome to bring your Kempston interface and Quickshot II).\";\r\n\r\n\r\nThere is definitely a bug here.", "updateAuthor": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "created": "2012-04-12T20:11:08.000+0000", "updated": "2012-04-12T20:11:08.000+0000" }, { "id": "191564", "author": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "body": "I looked at the code, and see a potential problem... your scrollview has a contentHeight:'auto'. I believe it should be Ti.UI.SIZE\r\n\r\nTry that?", "updateAuthor": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "created": "2012-04-18T08:09:42.000+0000", "updated": "2012-04-18T08:09:42.000+0000" }, { "id": "191565", "author": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "body": "I think I've tried that, but that's not the issue. That code, when not in a tabbed environment works. But I will try modifying test when I'm behind a machine.", "updateAuthor": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "created": "2012-04-18T08:21:27.000+0000", "updated": "2012-04-18T08:21:27.000+0000" }, { "id": "192011", "author": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "body": "This is a further bug, if you were to change the contentHeight property to Ti.UI.SIZE then the scroll bar disappears and the content area does not expand at all. I'm sure this shouldn't be the desired behaviour, but either way, contentHeight is not the issue here, the rendering of the view seems to be the problem, by not taking the tab and nav zones into account.", "updateAuthor": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "created": "2012-04-20T09:02:53.000+0000", "updated": "2012-04-20T09:03:05.000+0000" }, { "id": "192963", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending https://github.com/appcelerator/titanium_mobile/pull/2089", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-27T11:05:32.000+0000", "updated": "2012-04-27T11:05:32.000+0000" }, { "id": "195594", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Customer is requesting 2.0.2 backport (TIMOB-9127)", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-22T09:54:57.000+0000", "updated": "2012-05-22T09:54:57.000+0000" }, { "id": "199230", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio build 2.1.0.201206172244\r\nTi Mobile SDK 2.1.0.v20120619142258 hash r5982b78e\r\nOSX Lion 10.7.3\r\niPhone 4S OS 5.1\r\n\r\nThe expected behavior is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-19T15:59:56.000+0000", "updated": "2012-06-19T15:59:56.000+0000" }, { "id": "202069", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-opening to edit label", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-09T07:41:48.000+0000", "updated": "2012-07-09T07:41:48.000+0000" }, { "id": "213086", "author": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "verified on: 2.0.3.v20120806151610", "updateAuthor": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2012-08-07T03:45:01.000+0000", "updated": "2012-08-07T03:45:01.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }