{ "id": "111420", "key": "AC-2158", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-03-20T14:53:05.000+0000", "created": "2013-03-19T19:44:33.000+0000", "labels": [ "Android", "displaycaps" ], "versions": [], "issuelinks": [], "assignee": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-03-08T07:41:08.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Just distributing our app for testing and two testers reported that the main tableView of the screen is empty (never seen this on any platform before). \r\n\r\nAfter inspecting logcat, we noticed that Ti.Platform and Ti.Platform.displayCaps is returning:\r\n\r\nI/TiAPI (12464): os version 4.2.2\r\n\r\nI/TiAPI (12464): platform height: 611 width: 384\r\n\r\nI/TiAPI (12464): density: medium dpi: 160 logicalDensityFactor: 160\r\n\r\nThe display is actually 1280x768 and the dpi is actually 318 so the logicalDensityFactor should be around 2 or so.\r\n", "attachment": [], "flagged": false, "summary": "Google Nexus 4 / LG Optimus G phones returning logicalDensityFactor = 160", "creator": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Google Nexus 4 / LG Optimus G running Android 4.2.2; Ti SDK 3.0.2.GA and 3.1 3/19 build. ", "comment": { "comments": [ { "id": "243148", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hello,\r\n\r\nI cannot reproduce the problem. Tested with Nexus 4:\r\n\r\n{code}\r\nTi.API.info(Ti.Platform.displayCaps.platformWidth);\r\nTi.API.info(Ti.Platform.displayCaps.platformHeight);\r\nTi.API.info(Ti.Platform.displayCaps.density);\r\nTi.API.info(Ti.Platform.displayCaps.logicalDensityFactor);\r\n{code}\r\n\r\nThis is the result:\r\n\r\n{code}\r\nI/TiAPI (23553): 768\r\nI/TiAPI (23553): 1184\r\nI/TiAPI (23553): xhigh\r\nI/TiAPI (23553): 2\r\n{code}\r\n\r\nTested with SDK 2.1.4 and 3.0.2", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-03-20T14:53:05.000+0000", "updated": "2013-03-20T14:53:05.000+0000" }, { "id": "247252", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Users finally fessed up that they were not running stock Android but rather a hacked Android distribution (jeez).", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-12T08:33:02.000+0000", "updated": "2013-04-12T08:33:02.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }