{ "id": "62204", "key": "TIMOB-1572", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-07-25T16:54:53.000+0000", "created": "2011-04-15T02:56:22.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [], "versions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "issuelinks": [ { "id": "19385", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "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": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-26T22:22:16.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}

If you define a window that uses the 'url' attribute to\r\nreference its contents, and then open that window as a modal, none\r\nof the modal transition effects work except the default:\r\nTi.UI.iPhone.MODAL_TRANSITION_STYLE_COVER_VERTICAL.

\r\n

For example, the following code will open the modal with the\r\nabove default, and ignore the cross dissolve effect\r\nrequested:

\r\n
\r\n//Search Modal\r\nvar searchModal = Ti.UI.createWindow({ \r\n   backgroundImage:'../images/background-modal.png', \r\n   navBarHidden:true,\r\n   url:'search.js'\r\n});\r\n//Open Modal\r\nbutton.addEventListener('click',function(){\r\n   searchModal.open({ modal:true, modalTransitionStyle:Ti.UI.iPhone.MODAL_TRANSITION_STYLE_CROSS_DISSOLVE, modalStyle:Ti.UI.iPhone.MODAL_PRESENTATION_FULLSCREEN\r\n   });\r\n});\r\n
\r\n

The current workaround is to not use a separate file for the\r\nwindow's content (which is problematic and messy in complex\r\nprojects).

\r\n

Thanks!

{html}", "attachment": [], "flagged": false, "summary": "iOS: Modal Transition Effect Failure", "creator": { "name": "cliftonlabrum", "key": "cliftonlabrum", "displayName": "Clifton Labrum", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "cliftonlabrum", "key": "cliftonlabrum", "displayName": "Clifton Labrum", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "126078", "author": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

re assigning

{html}", "updateAuthor": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:56:22.000+0000", "updated": "2011-04-15T02:56:22.000+0000" }, { "id": "126079", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Probably not possible; modal windows always appear by floating\nup and over. Assigning to view wizard Blain.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:56:23.000+0000", "updated": "2011-04-15T02:56:23.000+0000" }, { "id": "209465", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce in SDK 2.2.0.f9e938d, iPhone Sim 5.1.\r\n\r\nTest code:\r\n\r\napp.js\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nvar b = Ti.UI.createButton({\r\n title:'click'\r\n});\r\nb.addEventListener('click', function() {\r\n//Search Modal\r\nvar searchModal = Ti.UI.createWindow({ \r\n navBarHidden:true,\r\n url:'search.js'\r\n});\r\nsearchModal.open({modal:true, modalTransitionStyle:Ti.UI.iPhone.MODAL_TRANSITION_STYLE_CROSS_DISSOLVE, modalStyle:Ti.UI.iPhone.MODAL_PRESENTATION_FULLSCREEN});\r\n});\r\nwin.add(b);\r\nwin.open();\r\n{code}\r\n\r\nsearch.js\r\n{code}\r\nvar win = Ti.UI.currentWindow;\r\n\r\nwin.add(Ti.UI.createLabel({\r\n\tcolor:'white',\r\n\ttext:'coolblastgold',\r\n\twidth:Ti.UI.SIZE,\r\n\theight:Ti.UI.SIZE\r\n}));\r\n{code}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-25T16:54:53.000+0000", "updated": "2012-07-25T16:54:53.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }