{ "id": "84489", "key": "AC-2797", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-01-10T08:21:42.000+0000", "created": "2012-01-05T10:01:31.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "14509", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "84739", "key": "AC-2883", "fields": { "summary": "iOS: UI - Email/SMS Dialog does not change orientation properly", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "33996", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "86392", "key": "TIMOB-7627", "fields": { "summary": "iOS: UI - Email/SMS Dialog does not change orientation properly", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "updated": "2016-03-08T07:47:43.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "h2. Problem\r\n\r\nEmail dialog orientation change does not change orientation of status bar and keyboard.\r\n\r\nh2. Test case\r\n\r\n{code:lang=javascript|title=app.js}\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\n// create tab group\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\n\r\n\r\n//\r\n// create base UI tab and root window\r\n//\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab1 = Titanium.UI.createTab({ \r\n icon:'KS_nav_views.png',\r\n title:'Tab 1',\r\n window:win1\r\n});\r\n\r\nvar label1 = Titanium.UI.createLabel({\r\n\tcolor:'#999',\r\n\ttext:'I am Window 1',\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:'auto'\r\n});\r\n\r\nvar button = Ti.UI.createButton({\r\n\ttitle:'Email',\r\n\theight:40\r\n});\r\nbutton.addEventListener('click', function(){\r\n\tvar emailDialog = Ti.UI.createEmailDialog();\r\n\temailDialog.open();\r\n});\r\n\r\nwin1.add(label1);\r\nwin1.add(button);\r\n//\r\n// create controls tab and root window\r\n//\r\nvar win2 = Titanium.UI.createWindow({ \r\n title:'Tab 2',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab2 = Titanium.UI.createTab({ \r\n icon:'KS_nav_ui.png',\r\n title:'Tab 2',\r\n window:win2\r\n});\r\n\r\nvar label2 = Titanium.UI.createLabel({\r\n\tcolor:'#999',\r\n\ttext:'I am Window 2',\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:'auto'\r\n});\r\n\r\nwin2.add(label2);\r\n\r\n\r\n\r\n//\r\n// add tabs\r\n//\r\ntabGroup.addTab(tab1); \r\ntabGroup.addTab(tab2); \r\n\r\n\r\n// open tab group\r\ntabGroup.open();\r\n\r\n// \r\n{code}", "attachment": [ { "id": "24935", "filename": "iOS Simulator - iPhone - iOS 5.0 (9A334).png", "author": { "name": "nielin", "key": "nielin", "displayName": "Niel Vanterpool", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-05T10:01:31.000+0000", "size": 192707, "mimeType": "image/png" }, { "id": "24963", "filename": "TestApp.zip", "author": { "name": "nielin", "key": "nielin", "displayName": "Niel Vanterpool", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-06T20:41:06.000+0000", "size": 2319767, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: UI - Email/SMS Dialog does not change orientation properly", "creator": { "name": "nielin", "key": "nielin", "displayName": "Niel Vanterpool", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nielin", "key": "nielin", "displayName": "Niel Vanterpool", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "* Titanium Mobile 1.8.0.1\r\n* Mac OS X 10.6.8\r\n* Titanium Studio 1.0.7.201112281340\r\n* iOS 5.0\r\n* iPhone4, simulator and device\r\n", "comment": { "comments": [ { "id": "178176", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Thanks for raising this ticket, Niel\r\n\r\nIn order for me to escalate it to the core team, all the fields must be complete. Please check it against the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist], and add any missing information. For the description, you can use [this template|https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template] as a starting point.\r\n\r\nFurthermore, we must be able to reproduce the issue in order to accept it, and so a test case must be included and run without modification, as per the [Creating a Test Case|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-CreatingaTestCase] section.\r\n\r\nThanks in advance for your cooperation.\r\n\r\nCheers", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-05T12:44:01.000+0000", "updated": "2012-01-05T12:44:01.000+0000" }, { "id": "178351", "author": { "name": "nielin", "key": "nielin", "displayName": "Niel Vanterpool", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Paul,\r\n\r\nI have added the few lines of code that will produce the results I am seeing with 1.8.x. All that has to be done is create a new mobile project and add in the lines of code to create an email dialog. Once the device is changed to landscape, the window and keyboard do not behave as expcted. There are no errors in the console to the report.", "updateAuthor": { "name": "nielin", "key": "nielin", "displayName": "Niel Vanterpool", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-06T10:16:25.000+0000", "updated": "2012-01-06T10:16:25.000+0000" }, { "id": "178354", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Niel\r\n\r\nBy not testing your script and ensuring that it runs without modification, it delays the time it takes to get to the engineers.\r\n\r\nI'd appreciate it if you would test your script, and update it if it does not run.\r\n\r\nThanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-06T10:20:18.000+0000", "updated": "2012-01-06T10:20:18.000+0000" }, { "id": "178440", "author": { "name": "nielin", "key": "nielin", "displayName": "Niel Vanterpool", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I've attached a zip file containing the code. Run simulator or install on device, run application, click on email to launch email dialog, and change orientation to landscape to observe results. Use keyboard and notice that the keyboard and status bar do not behave as expected.", "updateAuthor": { "name": "nielin", "key": "nielin", "displayName": "Niel Vanterpool", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-06T20:41:06.000+0000", "updated": "2012-01-06T20:41:06.000+0000" }, { "id": "178637", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Niel\r\n\r\nThe test case you have provided works as expected for me. Please open a thread in the [Q&A|http://developer.appcelerator.com/questions/created] to verify this with the community, and provide a link to it here, in accordance with our [The Bug-Reporting Lifecycle|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-TheBugReportingLifecycle].\r\n\r\nThank you", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-10T05:41:38.000+0000", "updated": "2012-01-10T05:41:38.000+0000" }, { "id": "178655", "author": { "name": "nielin", "key": "nielin", "displayName": "Niel Vanterpool", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Paul,\r\n\r\nPlease see thread in the Q&A at http://developer.appcelerator.com/question/130482/emailsms-dialog-do-not-display-properly-on-orientation-change-ti-18--ios.", "updateAuthor": { "name": "nielin", "key": "nielin", "displayName": "Niel Vanterpool", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-10T08:14:09.000+0000", "updated": "2012-01-10T08:14:09.000+0000" }, { "id": "178658", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "See Gergely's response to your Q&A. Always consult the community before raising further tickets - we have some really good people there! ;)\r\n\r\nCheers", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-10T08:21:31.000+0000", "updated": "2012-01-10T08:21:31.000+0000" }, { "id": "178774", "author": { "name": "nielin", "key": "nielin", "displayName": "Niel Vanterpool", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Paul,\r\n\r\nIf inconsistencies are found, should I open another ticket?", "updateAuthor": { "name": "nielin", "key": "nielin", "displayName": "Niel Vanterpool", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-10T14:51:46.000+0000", "updated": "2012-01-10T14:51:46.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }