{ "id": "62625", "key": "TIMOB-1993", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-06-08T22:45:12.000+0000", "created": "2011-04-15T03:07:37.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "defect", "ios", "ipad", "iphone", "orientation", "window" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-08T22:45:13.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": "{html}

Don't know whether it's a similar issue to #1694. In\nmy case, fullsceen is disabled. I've the problem that when starting\nmy iPhone/iPad project on an iPad device (not reproduceable in\nsimulator) - holding the iPad in landscape mode - the app will be\ndisplayed turned by 90 degrees. Screenshot is attached. The\nhardware lock is off but occurs even when enabled.

\n

I'm allowing just portrait orientationModes in each window:

\n

Titanium.UI.currentWindow.orientationModes =\n[Titanium.UI.PORTRAIT, Titanium.UI.UPSIDE_PORTRAIT];

\n

I'll do this at first within each window, before adding\nsomething to the view. It is displayed correctly on the iPhone. It\nis also displayed correctly when holding the iPad in portrait mode\nand then starting the app. The really strange is, opening the next\nwindow will be displayed great. Even opening the same window later\n(without closing the app in the meanwhile) works fine (the layout\nwill be displayed correct then). That means it's just the first\nwindow.

\n

Afterwards tried to create a simple, reproducable example\ncontaining only a tableview and this does always works. Maybe it\nonly occurs when adding some views at first and later a\ntableview?

\n

I am using Titanium Developer 1.2.1, Mac OS X 10.6.2, Xcode\n3.2.4, iPhone SDK 4.1.

\n

Greetz

{html}", "attachment": [ { "id": "18078", "filename": "screenshot-20101004-151802.png", "author": { "name": "jicksteen", "key": "jicksteen", "displayName": "Jick Steen", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:07:37.000+0000", "size": 23408, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: First window is turned by 90 degrees on iPad device", "creator": { "name": "jicksteen", "key": "jicksteen", "displayName": "Jick Steen", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jicksteen", "key": "jicksteen", "displayName": "Jick Steen", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127220", "author": { "name": "jicksteen", "key": "jicksteen", "displayName": "Jick Steen", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I am using this build Oct 1 2010 10:34 r763b1ded

{html}", "updateAuthor": { "name": "jicksteen", "key": "jicksteen", "displayName": "Jick Steen", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:07:37.000+0000", "updated": "2011-04-15T03:07:37.000+0000" }, { "id": "127221", "author": { "name": "jicksteen", "key": "jicksteen", "displayName": "Jick Steen", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Tested build \"Oct 4 2010 18:42 rd4ce7fff\" today, same error.

\n

But it works as expected when setting the orientation specific\nafter defining orientationModes:

\n

Titanium.UI.currentWindow.orientationModes =\n[Titanium.UI.PORTRAIT, Titanium.UI.UPSIDE_PORTRAIT];

\n

Titanium.UI.orientation = Titanium.UI.PORTRAIT;

\n

Don't know whether it is expected to set orientation to PORTRAIT\nto achieve the expected behaviour.

{html}", "updateAuthor": { "name": "jicksteen", "key": "jicksteen", "displayName": "Jick Steen", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:07:38.000+0000", "updated": "2011-04-15T03:07:38.000+0000" }, { "id": "421570", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as there has been no input for the last 6 years. Any problems, please file a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-08T22:45:13.000+0000", "updated": "2017-06-08T22:45:13.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }