{ "id": "89374", "key": "TIMOB-8491", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "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-04-02T11:15:02.000+0000", "created": "2012-04-02T14:45:16.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-17T18:43:52.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": "Then a view is animated off the screen, part of it disappears when the animation starts.\r\n\r\nThis example will work on the iPad simulator\r\n\r\nh4. Steps to reproduce\r\nStep 1: the the code below on the iPad simulator\r\nStep 2: click the white window (see a view slide up onto the screen)\r\nStep 3: click the green bar\r\nStep 4: see the view animate down and notice that part of the red view disappears when the animation starts\r\nStep 5: click the white view again to repeat the test\r\n\r\n{code:js}\r\nfunction createWindow(_params) {\r\n\tvar win = Ti.UI.createWindow({backgroundColor: 'transparent'});\r\n\tvar transpView = Ti.UI.createView({\r\n\t\tbackgroundColor: '#000',\r\n\t\topacity: 0.5\r\n\t});\r\n\tvar mainView = Ti.UI.createView({\r\n\t\twidth: '80%',\r\n\t\tbackgroundColor: 'white'\r\n\t});\r\n\tvar toolbar = Ti.UI.createView({\r\n\t\tbackgroundColor: 'green',\r\n\t\ttop: 0,\r\n\t\theight: 44\r\n\t});\r\n\tvar contentView = Ti.UI.createView({\r\n\t\ttop: 44,\r\n\t\tbackgroundColor: 'red'\r\n\t});\r\n\r\n\twin.add(transpView);\r\n\twin.add(mainView);\r\n\r\n\tmainView.add(toolbar);\r\n\tmainView.add(contentView);\r\n\r\n\ttoolbar.addEventListener('click', function(){\r\n\t\tclose();\r\n\t});\r\n\r\n\tfunction open(params){\r\n\t\tmainView.top = 800;\r\n\t\twin.addEventListener('open', function() {\r\n\t\t\tmainView.animate({\r\n\t\t\t\ttop: 80,\r\n\t\t\t\tduration: 1000\r\n\t\t\t});\r\n\t\t});\r\n\t\twin.open();\r\n\t}\r\n\tfunction close(params){\r\n\t\tvar closeAnim = Ti.UI.createAnimation({\r\n\t\t\ttop: 800,\r\n\t\t\tduration: 1000\r\n\t\t});\r\n\t\tcloseAnim.addEventListener('complete', function() {\r\n\t\t\twin.close();\r\n\t\t});\r\n\t\tmainView.animate(closeAnim);\r\n\t}\r\n\r\n\treturn {\r\n\t\topen: open,\r\n\t\tclose: close,\r\n\t}\r\n}\r\n\r\nvar mainWin = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white',\r\n\torientationModes: [Ti.UI.PORTRAIT]\r\n});\r\nmainWin.addEventListener('click', function(){\r\n\tvar win = createWindow();\r\n\twin.open();\r\n});\r\nmainWin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: animation - on ipad animating a view off the screen makes the view disappear when the animation starts", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 1.8.2\r\nTiSDK 2.0.0 (03/23/12 22:18 ea035b5)\r\niOS iPad simulator 5.0", "comment": { "comments": [ { "id": "245156", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces \r\n\r\nTested with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 \r\nTitanium SDK version: 3.0.2 \r\niOS iPad Simulator: iOS SDK version: 6.0", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-02T11:15:02.000+0000", "updated": "2013-04-02T11:15:02.000+0000" }, { "id": "413581", "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-17T18:43:52.000+0000", "updated": "2017-03-17T18:43:52.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }