{ "id": "87093", "key": "TIMOB-7839", "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": "12097", "description": "", "name": "Sprint 2012-05", "archived": true, "released": true, "releaseDate": "2012-03-11" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-03-06T10:58:13.000+0000", "created": "2012-02-28T10:40:49.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_window", "qe-testadded" ], "versions": [ { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-08-30T10:26:12.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": "This issue occurs if modalStyle with Ti.UI.iPhone.MODAL_PRESENTATION_FORMSHEET and modalTransitionStyle with MODAL_TRANSITION_STYLE_CROSS_DISSOLVE properties are used together with a textfield in *iPad*.\r\n\r\nPlease run the attached sample app.js to confirm this issue. \r\n\r\nHere are the steps:\r\n\r\n1. Start the app.\r\n2. Put the iPad Simulator in landscape mode.\r\n3. Click on the textfield and then click on the \"Click\" button.\r\n4. The modal window goes off-screen to the far left of the simulator.\r\n\r\nThis does not happen with any other modal window style properties.\r\n\r\nHere is the app.js file:\r\n\r\n{noformat}\r\n\r\n\r\nvar win = Ti.UI.createWindow({\r\n top: 0,\r\n left: 0,\r\n backgroundColor:'orange',\r\n width: Ti.Platform.displayCaps.platformWidth, \r\n height: Ti.Platform.displayCaps.platformHeight,\r\n orientationModes: [Ti.UI.LANDSCAPE_LEFT, Ti.UI.LANDSCAPE_RIGHT, Ti.UI.PORTRAIT,Ti.UI.UPSIDE_PORTRAIT]\r\n});\r\n\r\nvar button = Ti.UI.createButton({\r\n top: 100,\r\n left: 100,\r\n height: 50,\r\n title:'Click',\r\n backgroundColor: 'blue'\r\n});\r\n\r\n\r\n\r\n// Adding this field causes the CROSS_DISSOLVE TO NOT WORK \r\nvar text = Ti.UI.createTextField({ \r\n top: 200, \r\n left: 100, \r\n width:400, \r\n height:50, \r\n hintText:'Put cursor in here and click button above', \r\n keyboardType:Ti.UI.KEYBOARD_DEFAULT, \r\n borderStyle:Ti.UI.INPUT_BORDERSTYLE_ROUNDED, \r\n autocorrect: false \r\n});\r\n\r\nwin.add(text);\r\n\r\nwin.add(button);\r\n\r\n\r\n\r\n\r\nbutton.addEventListener('click', function(){\r\n \r\n var closeBtn = Ti.UI.createButton({\r\n systemButton: Ti.UI.iPhone.SystemButton.DONE\r\n });\r\n \r\n var w = Titanium.UI.createWindow({\r\n title:'Add Location',\r\n backgroundColor:'red',\r\n // opacity:1.0,\r\n rightNavButton: closeBtn\r\n //barColor:'#000000'\r\n });\r\n w.open({\r\n modal: true, \r\n modalTransitionStyle: Ti.UI.iPhone.MODAL_TRANSITION_STYLE_CROSS_DISSOLVE,//Ti.UI.iPhone.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL, \r\n modalStyle: Ti.UI.iPhone.MODAL_PRESENTATION_FORMSHEET\r\n // navBarHidden: false\r\n });\r\n \r\n w.add(closeBtn);\r\n closeBtn.addEventListener('click', function(e){\r\n // Clean up all visual objects. \r\n w.close();\r\n w = null;\r\n closeBtn = null;\r\n });\r\n});\r\n\r\nwin.open();\r\n\r\n{noformat}\r\n", "attachment": [], "flagged": false, "summary": "iOS: MODAL_PRESENTATION_FORMSHEET window while in landscape displays partially offscreen", "creator": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "environment": "Product: Mobile\r\nTitanium SDK: Mobile 1.8.0.1 and all CI Builds\r\nPlatform OS: iOS 5.0\r\nPlatform Type: iPad", "comment": { "comments": [ { "id": "185079", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull #1560 is now pending.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-05T14:30:00.000+0000", "updated": "2012-03-05T14:30:00.000+0000" }, { "id": "185549", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio build 1.0.9.201202141208\r\nTi Mob SDK 2.0.0.v20120308093239\r\nOSX Lion 10.7.3\r\n\r\nExpected result of modal transition style working correctly is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-08T10:47:26.000+0000", "updated": "2012-03-08T10:47:26.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }