{ "id": "81639", "key": "TIMOB-5765", "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": "12086", "description": "", "name": "Sprint 2011-46", "archived": true, "released": true, "releaseDate": "2011-11-21" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-11-18T15:25:25.000+0000", "created": "2011-10-17T00:00:53.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_orientation", "regression" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:44:34.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": "1) Create a new project and put the following the 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.LANDSCAPE_RIGHT\r\n];\r\n\r\nwin.open();\r\n{code}\r\n2) Put the attached grouch.jpg into the Resources folder\r\n3) Hold the device in portrait mode and launch the application\r\n\r\nActual results: Image initially appears in portrait mode. The image will rotate to the correct orientation once the devices orientation is changed to landscape right. After it is in landscape right mode, it will not change to any other orientation mode. \r\n\r\nExpected results: Image only appears in landscape right mode.\r\n\r\nNotes:\r\nThis only occurs on the first launch of the app.\r\n\r\nThis issue is a regression. When tested in 1.7.2, the image appears momentarily in portrait mode before redrawing itself in landscape mode. It does not require changing the devices orientation to draw the image in the correct position.", "attachment": [ { "id": "23734", "filename": "grouch.jpg", "author": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-17T00:00:53.000+0000", "size": 52018, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "iOS: Image appears in portrait mode when application's orientation mode is set the landscape right only", "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": "iPod 4.3.3 & SDK 1.8.0.v20111013161411", "comment": { "comments": [ { "id": "173360", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pending pull #736", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-11-18T15:15:24.000+0000", "updated": "2011-11-18T15:15:24.000+0000" }, { "id": "175384", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on Ti Studio 1.0.7.201112080131\r\n
Ti Mob SDK 1.8.0.1.v20111207180431\r\n
OSX Lion\r\niPhone 4S OS 5.0.1\r\n\r\nExpected behavior is shown of image launching in landscape", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-08T10:45:55.000+0000", "updated": "2011-12-08T10:45:55.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }