{ "id": "62379", "key": "TIMOB-1747", "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": "11229", "name": "Release 1.5.0 M04", "archived": true, "released": true, "releaseDate": "2010-12-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:57:03.000+0000", "created": "2011-04-15T03:01:13.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "displaycaps", "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:57:03.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": "{html}
on a 3g/3gs/ipod touch (4g or older) = \"low\"
\niPad = \"high\"
\niPhone4 = \"high\"
expected:iPad and 3g/3gs/ipod touch should be \"medium\", retina\ndisplays to return \"high\"
\nscript snippet for repro:
\nvar win = Titanium.UI.currentWindow;
\nTitanium.UI.setBackgroundColor('#FFF');
var label = Ti.UI.createLabel({
\nwidth:\"auto\",\nheight:\"auto\",\ntop:10,\nleft:10,\nright:10,\ntext : 'value goes here',
\n
\n});
\nlabel.text = Titanium.Platform.displayCaps.density;
\nwin.add(label);
as per a brief talk with Stephen, popping this up to high.
\nhttps://github.com/appcelerator/titanium_mobile/commit/9dc1f12609b5...
\n[#1747 state:fixed-in-qa] Changing a string and\nconditional around and voila.
ipad 3g, ipod touch 4g both 4.2.1