{ "id": "84055", "key": "TIMOB-6761", "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": [], "resolution": { "id": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2019-11-20T23:20:19.000+0000", "created": "2011-12-19T13:47:11.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-ICS", "tbs-1.8.2" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "34349", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "118652", "key": "AC-1940", "fields": { "summary": "Android: Menu Items are rendered off-screen when anyDensity=false", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "14647", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "84064", "key": "TIMOB-6766", "fields": { "summary": "NBC: 4.0 only - app launches, orients itself to landscape and freezes", "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": "14550", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "84733", "key": "TIMOB-7100", "fields": { "summary": "Android: tiapp.xml anyDensity tag causes crash on device in Android 4.0", "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": null, "updated": "2019-11-20T23:20:19.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h2. Summary\r\n\r\nWhenever you build any app in Titanium Mobile for Android for the Galaxy Nexus (Android 4.0) while *Force GPU rendering* is enabled in the developer options, using \r\n\r\n{code}\r\n\r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nThe formatting and scaling are thrown off entirely, as shown in the attached image file. Removing *anyDensity=false* or disabling gpu rendering resolves the issue, but requires the developer to use 'dp' notation everywhere even if they don't plan to support multiple densities.\r\n\r\nh2. basic code to reproduce\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: '#fff'\r\n});\r\nwin.open();\r\n{code}\r\n\r\nWith *anyDensity=false* in the tiapp.xml android manifest, this will generate the attached screenshot on a Galaxy nexus running 4.0. If *anyDensity=false* is removed from the manifest, you will get the expected white background covering the whole screen for the window.", "attachment": [ { "id": "24771", "filename": "fup.png", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-19T13:47:11.000+0000", "size": 90887, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: ICS: anyDensity=false in manifest ruins layout & scaling", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK version: 1.8.0.1RC3 \r\nJavascript Engine: Rhino & V8 \r\nPlatform & version: Android 4.0\r\nDevice Details: Galaxy Nexus, ICS\r\nHost Operating System: OSX 10.7.2\r\nTitanium Studio version: 1.0.7.201112132151", "comment": { "comments": [ { "id": "176878", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can not reproduce with the latest master and 1_8_X.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-21T11:25:49.000+0000", "updated": "2011-12-21T11:25:49.000+0000" }, { "id": "176887", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Updated ticket description to include the fact that this only occurs when \r\n\r\n{code}\r\nsettings -> developer options -> force gpu rendering\r\n{code}\r\n\r\nhas been enabled", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-21T12:09:49.000+0000", "updated": "2011-12-21T12:09:49.000+0000" }, { "id": "179225", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Also to note, this is not specific to Titanium. Native built Android apps are also subject to this issue.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-13T12:23:33.000+0000", "updated": "2012-01-13T12:23:33.000+0000" }, { "id": "452837", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Should have been closed. Closing per dev comments. ", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-11-20T23:20:19.000+0000", "updated": "2019-11-20T23:20:19.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }