{ "id": "63791", "key": "TIMOB-3159", "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": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-16T16:36:35.000+0000", "created": "2011-04-15T03:38:19.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-port" ], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-01-21T18:00:54.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": "{html}

If you allow all orientation modes in the application but then\r\nset one window to a certain orientation, the orientation is not\r\nrespected for that window.

\r\n

Ticket Reference: http://developer.appcelerator.com/helpdesk/view/73831

{html}", "attachment": [ { "id": "18270", "filename": "test.zip", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:38:20.000+0000", "size": 831448, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Setting Orientation on Single window not recoginized", "creator": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "130181", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

Currently, there is a bug that prevents the orientation from\nbeing set correctly on the activity when set from the lightweight\nwindow. Ticket #3168 has been opened for the issue.

\n

In order to bypass the issue for the time being, the window can\nbe opened as a heavyweight window by using \"fullscreen:true\" or\n\"modal:true\". Another option is to set a reference to the parent\nheavyweight window on the child window. I have attached a test app\nto the ticket to demonstrate the second approach.

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:38:20.000+0000", "updated": "2011-04-15T03:38:20.000+0000" }, { "id": "130182", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

Actually, future updates and fixes for this problem will be\nassociated with this ticket rather than #3168

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:38:20.000+0000", "updated": "2011-04-15T03:38:20.000+0000" }, { "id": "130183", "author": { "name": "jj", "key": "jj", "displayName": "jj", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Your solutions are a non-starter since if you load a heavyweight\nwindow from app.js, you get an extra blank window in the stack

{html}", "updateAuthor": { "name": "jj", "key": "jj", "displayName": "jj", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:38:21.000+0000", "updated": "2011-04-15T03:38:21.000+0000" }, { "id": "130184", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "{html}

Hi jj,

\n

If your concern is the blank window when hitting back from your\nheavyweight window in app.js, you can add \"exitOnClose: true\" to\nthe creation args when you create the window from app.js and you\nshould no longer see the blank window when exiting the app.

\n

Thanks
\nOpie

{html}", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-04-15T03:38:21.000+0000", "updated": "2011-04-15T03:38:21.000+0000" }, { "id": "195106", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Not able to reproduce with 2.0 and 2.1 CI builds.\r\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-16T16:33:17.000+0000", "updated": "2012-05-16T16:33:17.000+0000" }, { "id": "235216", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with:\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK, build: 3.0.2.v20130118180632\n\nDevice:\nHTC-EVO Android version 4.0.3\n\nClosing", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-21T18:00:27.000+0000", "updated": "2013-01-21T18:00:27.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }