{ "id": "81635", "key": "TIMOB-5763", "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": "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": "2017-07-11T23:06:32.000+0000", "created": "2011-10-16T10:32:20.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "gesture", "landscape", "orientation", "portrait" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-11T23:06:32.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": "1) Create a new project and put the following in app.js\r\n{code}\r\n\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'white'\r\n});\r\n\r\nvar img = Ti.UI.createImageView({image:'grouch.jpg'});\r\n\r\nwin.add(img);\r\n\r\nwin.orientationModes = [\r\n Ti.UI.PORTRAIT\r\n];\r\n\r\nwin.open();\r\n{code}\r\n2) Put the attached grouch.jpg in the Resources folder\r\n3) Hold the device in landscape mode and launch application\r\n\r\nActual results: Image and status bar momentarily shows up in landscape mode before quickly being redrawn in portrait mode\r\n\r\nExpected results: Image and status bar only appear in portrait mode\r\n\r\nNotes: Seems to only be reproducible on first launch of the app", "attachment": [ { "id": "23730", "filename": "grouch.jpg", "author": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-16T10:32:20.000+0000", "size": 52018, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Android: Launching an app with portrait orientation in landscape causes image to be redrawn", "creator": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Nexus One 2.2.2 & SDK 1.8.0.v20111013161411", "comment": { "comments": [ { "id": "423963", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-11T23:06:32.000+0000", "updated": "2017-07-11T23:06:32.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }