{ "id": "121612", "key": "TIMOB-15582", "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": null, "resolutiondate": null, "created": "2013-10-25T09:33:08.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "Nexus-7", "Platform-height", "Platform-width", "Titanium3.1.3" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:17.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Nexus 7 has 7\" screen with 1280x800 , 216 ppi resolution.\r\nSee \"Technical specifications\" section at following official Google Nexus 7 website \r\nhttps://play.google.com/store/devices/details?id=nexus_7_16gb&feature=device-featured#?t=W251bGwsMSwxLDIwMiwibnVsbC13ZWJfaG9tZV81MDAwMDA1X25leHVzSU5fZGV2aWNlc19JTl9fNTAwMDAwNV9uZXh1c0lOXzFfcHJvbW9fMTM2NzYyNDkxOTkzMSJd\r\n\r\nWhile using Tatanium SDK, when I change orientation, navigation bar and status bar height varies. Which causes change in following properties\r\n\r\nIn portrait orientation\r\nTi.Platform.displayCaps.platformWidth = 800\r\nTi.Platform.displayCaps.platformHeight = 1205\r\n\r\nIn landscape orientation\r\nTi.Platform.displayCaps.platformWidth = 1280\r\nTi.Platform.displayCaps.platformHeight = 736\r\n\r\nActually it should only interchange height and width when orientation changes.\r\n\r\nI am using these properties to decide the diagonal screen size of every device on which my app runs. Most of all Android and iOS devices works fine but only Nexus 7 has above mentioned problem.\r\n\r\nMethod to reproduce the bug :\r\n\r\nSource code :\r\nCreate new app in Titanium SDK 3.1.3 and put following lines in app.js.\r\n\r\nTi.API.info('Ti.Platform.displayCaps.platformWidth : '+Ti.Platform.displayCaps.platformWidth);\r\nTi.API.info('Ti.Platform.displayCaps.platformHeight : '+Ti.Platform.displayCaps.platformHeight);\r\n\r\nNow, run this app on Nexus 7 portrait mode and note the log. \r\n\r\nAfter that change orientation, run this app again on Nexus 7 and note the log.", "attachment": [], "flagged": false, "summary": "Nexus 7 navigation bar causes changes in device height, width on orientation change", "creator": { "name": "vatsalengg", "key": "vatsalengg", "displayName": "Vatsal Parekh", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "vatsalengg", "key": "vatsalengg", "displayName": "Vatsal Parekh", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Development system : \r\nMac OSX 10.8.5, \r\n2.3 GHz Intel Core i5,\r\n4 GB 1333 MHZ RAM,\r\n\r\nTitanium SDK 3.1.3 GA,\r\nTitanium Studio, build: 3.1.3.201309132423\r\nBuild: jenkins-titanium-rcp-master-21 (origin/master)\r\nDate: 13 September 2013, 00:23:57\r\n\r\nTest device :\r\nNexus 7 2012 edition 16GB Wi-fi", "comment": { "comments": [ { "id": "356733", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "I see the same issue. Furtherhin I'm looking for a possibility to hide the NEXUS navigation bar. Is it a theme problem?", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-07-02T14:34:28.000+0000", "updated": "2015-07-02T14:34:28.000+0000" }, { "id": "367579", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-22T22:02:06.000+0000", "updated": "2015-10-22T22:02:06.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }