{ "id": "82644", "key": "AC-3077", "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": "2011-11-11T12:41:19.000+0000", "created": "2011-11-11T12:06:56.000+0000", "labels": [ "ipad", "modal_window", "tranistions" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:48:07.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": [], "description": "I have a Tab-group that is forced to be on Landscape mode, when i open a modal window from any of the tab window the modal window slides in(from left)and when closed slides out(via bottom) but when i reopen the modal window, this time the window slides in from bottom and slides out to the bottom when closed. i cannot find a way to perform a uniform transition.\r\nCode Sample to replicate the issue is attached\r\n", "attachment": [ { "id": "24127", "filename": "App.js", "author": { "name": "sattanaathan", "key": "sattanaathan", "displayName": "Sattanaathan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-11T12:06:56.000+0000", "size": 1086, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "iPad Window Transition", "creator": { "name": "sattanaathan", "key": "sattanaathan", "displayName": "Sattanaathan", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sattanaathan", "key": "sattanaathan", "displayName": "Sattanaathan", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK - 1.7.5, iPad Version - 4.3", "comment": { "comments": [ { "id": "172362", "author": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Do you have the TiApp.XML set for lanscape only too?\r\n\r\nAlso you want something more like this:\r\n\r\n{code}\r\nchildWin.open({\r\n modal:true,\r\n modalTransitionStyle: Ti.UI.iPhone.MODAL_TRANSITION_STYLE_COVER_VERTICAL,\r\n modalStyle: Ti.UI.iPhone.MODAL_PRESENTATION_FORMSHEET\r\n});\r\n{code}\r\n\r\nTo open your modal window", "updateAuthor": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-11T12:41:05.000+0000", "updated": "2011-11-11T12:41:05.000+0000" }, { "id": "285843", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nWe tested this issue with the code bellow but failed to reproduce it. If you define [modalTransitionStyle | http://docs.appcelerator.com/titanium/latest/#!/api/openWindowParams-property-modalTransitionStyle] then it will work. Please check our test code and let us know your feedback.\r\n\r\nh5. Test Environment:\r\nMac OSX 10.8.5\r\nTitanium SDK 3.2.0.GA, \r\nAndroid SDK: 2.3.3, \r\nTi CLI 3.2.0\r\nIOS SDK 7.0.3\r\nIPad Simulator 7.0.3\r\n\r\nh5. Test Code\r\n\r\n{code}\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// create base UI tab and root window\r\n//\r\nvar win1 = Titanium.UI.createWindow({\r\n\ttitle : 'Tab 1',\r\n\tbackgroundColor : '#fff',\r\n\torientationModes : [Ti.UI.LANDSCAPE_LEFT, Ti.UI.LANDSCAPE_RIGHT]\r\n});\r\nvar tab1 = Titanium.UI.createTab({\r\n\ticon : 'KS_nav_views.png',\r\n\ttitle : 'Tab 1',\r\n\twindow : win1\r\n});\r\n\r\nvar Btn = Ti.UI.createButton({\r\n\ttitle : 'Click',\r\n\twidth : 300,\r\n\theight : 100\r\n});\r\nwin1.add(Btn);\r\n\r\nBtn.addEventListener('click', function(e) {\r\n\r\n\tvar childWin = Ti.UI.createWindow({\r\n\t\ttitle : 'Test',\r\n\t\tbackgroundColor : '#333',\r\n\t\torientationModes : [Ti.UI.LANDSCAPE_LEFT, Ti.UI.LANDSCAPE_RIGHT]\r\n\t});\r\n\tvar close = Titanium.UI.createButton({\r\n\t\ttitle : 'close'\r\n\t});\r\n\tclose.addEventListener('click', function(e) {\r\n\t\tchildWin.close();\r\n\t});\r\n\tchildWin.add(close);\r\n\r\n\tchildWin.open({\r\n\t\tmodal : true,\r\n\t\tmodalTransitionStyle : Ti.UI.iPhone.MODAL_TRANSITION_STYLE_COVER_VERTICAL,\r\n\t\tmodalStyle : Ti.UI.iPhone.MODAL_PRESENTATION_FORMSHEET\r\n\t});\r\n\r\n});\r\n//\r\n// add tabs\r\n//\r\ntabGroup.addTab(tab1);\r\n\r\n// open tab group\r\ntabGroup.open();\r\n\r\n{code}\r\n\r\nh5. Steps to Test\r\n\r\n# Create a simple project\r\n# Update app.js file with test code\r\n# Run on iPad Simulator\r\n# Click on “Click” button\r\n# Now click on close bottom \r\n# Both transition will be on the same direction\r\n\r\nIf we don't hear back, we will assume the issue is resolved and the ticket can be closed.\r\n ", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-26T10:23:38.000+0000", "updated": "2013-12-28T02:01:31.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }