{ "id": "82390", "key": "TIMOB-8464", "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": "2013-05-30T18:19:08.000+0000", "created": "2011-11-06T09:00:29.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "12570", "name": "Release 1.7.5", "archived": true, "released": true, "releaseDate": "2011-11-02" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T21:30:29.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": "h6.Issue\r\nOpening a modal window with modalTransitionStyle:Ti.UI.iPhone.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL produces a buggy appearance since iOS 5. On iOS 4 it worked fine. Also visible in Kitchen Sink.\r\n\r\nh6.Steps to reproduce\r\n1. Throw code below to an app.js\r\n2. Run configurations, select Run As > Run configurations ... > iOS SDK 4.3\r\n3. Click the button, click the window\r\n4. Run steps 1 to 3 now under iOS SDK 5\r\n\r\nh6.Expected behavior\r\niOS 4.3 transition works fine\r\n\r\nh6.Unexpected behavior\r\nNotice how in iOS 5 transition has a visual glitch\r\n\r\nh6.Repro sequence\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar btn = Ti.UI.createButton({\r\n\ttitle : 'click me',\r\n});\r\n\r\nbtn.addEventListener('click', function() {\r\n\r\n\tvar modalWin = Ti.UI.createWindow({\r\n\t\tbackgroundColor : '#ff0000'\r\n\t});\r\n\r\n\tmodalWin.open({\r\n\t\tmodal : true,\r\n\t\tmodalTransitionStyle : Ti.UI.iPhone.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL\r\n\t});\r\n\t\r\n\tmodalWin.addEventListener('click', function(){\r\n\t\tthis.close();\r\n\t})\r\n});\r\n\r\nwin.add(btn);\r\n\r\nwin.open(); \r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Opening Modal Window with Flip Transition doesn't work correctly on iOS 5", "creator": { "name": "chrislike", "key": "chrislike", "displayName": "Christopher Heymann", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "chrislike", "key": "chrislike", "displayName": "Christopher Heymann", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX 10.6, Titanium SDK 1.7.X, 1.8, 2.0 \r\niOS Simulator 4 & 5\r\nand Device(iPhone 4)", "comment": { "comments": [ { "id": "171697", "author": { "name": "chrislike", "key": "chrislike", "displayName": "Christopher Heymann", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Forgot to add: I tried Ti Mobile SDK 1.7.6 with the same result. ", "updateAuthor": { "name": "chrislike", "key": "chrislike", "displayName": "Christopher Heymann", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-06T09:38:39.000+0000", "updated": "2011-11-06T09:38:39.000+0000" }, { "id": "177391", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Thanks for raising this ticket.\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.\r\n\r\nFurthermore, 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\nI will mark this resolved for now. Please reopen it once it is complete, and I will move it to the main project.\r\n\r\nCheers", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-28T06:47:38.000+0000", "updated": "2011-12-28T06:47:38.000+0000" }, { "id": "177508", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "I'm afraid there still needs to be a test case, Christopher.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-28T16:59:43.000+0000", "updated": "2011-12-28T16:59:43.000+0000" }, { "id": "181441", "author": { "name": "chrislike", "key": "chrislike", "displayName": "Christopher Heymann", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Create an empty window with a button.\r\n\r\nAdd the following modal window and open it via the button\r\n\r\nvar modalWin = Ti.UI.createWindow({backgroundColor:'#ff0000'}); \r\nmodalWin.open({modal:true, modalTransitionStyle: Ti.UI.iPhone.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL});\r\n\r\nWhen the modal window opens with this transition style, you can see the red background color of the modal window before the animation even began for a short second. \r\nThis is iOS 5 only. Note: Haven't tested it under 1.8.0.", "updateAuthor": { "name": "chrislike", "key": "chrislike", "displayName": "Christopher Heymann", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-02T03:58:42.000+0000", "updated": "2012-02-02T03:58:42.000+0000" }, { "id": "254900", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on iOS 6 simulator with Ti SDK 3.1 GA - no visual glitches.\r\n\r\nI haven't tested iOS 5, but I'm quite sure our latest SDKs will have fixed the issue. Let us know if this is still a problem.\r\n\r\nResolving as Cannot Reproduce.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-30T18:19:08.000+0000", "updated": "2013-05-30T18:19:08.000+0000" }, { "id": "414456", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T21:30:29.000+0000", "updated": "2017-03-21T21:30:29.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }