{ "id": "154235", "key": "TIMOB-20237", "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": null, "resolutiondate": null, "created": "2016-01-12T13:28:29.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "17072", "name": "Release 5.1.2", "archived": false, "released": true, "releaseDate": "2016-01-12" }, { "id": "17532", "name": "Release 5.1.1", "archived": false, "released": true, "releaseDate": "2015-11-24" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:34.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "During a view transition the children of the view are not visible. \r\nWhen the animation is finished , the children of the view appear.\r\n\r\nTry to switch from view 1 and view2 (or view3) and vice versa.\r\nTry to switch from view 1 and view 1. In this case the animation is correct\r\n\r\n\r\n*Test code*\r\n{code}\r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar btn1 = Ti.UI.createButton({\r\n\ttitle : \"test 1\",\r\n\tbottom : 10,\r\n\twidth : 100,\r\n\tleft : 10\r\n});\r\nvar btn2 = Ti.UI.createButton({\r\n\ttitle : \"test 2\",\r\n\tbottom : 10,\r\n\twidth : 100\r\n});\r\nvar btn3 = Ti.UI.createButton({\r\n\ttitle : \"test 3\",\r\n\tbottom : 10,\r\n\twidth : 100,\r\n\tright : 10\r\n});\r\n\r\n\r\nvar controlView = Titanium.UI.createView({\r\n\theight:300,\r\n\twidth:300\r\n});\r\n\r\nvar view1 = Titanium.UI.createView({\r\n\twidth:300,\r\n\theight:300,\r\n\tbackgroundColor : \"red\"\r\n});\r\nvar label1 = Ti.UI.createLabel({\r\n\ttext : \"label1\"\r\n});\r\nvar switch1 = Ti.UI.createSwitch({\r\n\ttop : 10\r\n});\r\nvar switch2 = Ti.UI.createSwitch({\r\n\ttop : 60,\r\n\tvalue : true\r\n});\r\n\r\nvar view2 = Titanium.UI.createView({\r\n\twidth:300,\r\n\theight:300,\r\n\tbackgroundColor : \"green\"\r\n});\r\nvar label2 = Ti.UI.createLabel({\r\n\ttext : \"label2\"\r\n});\r\n\r\nvar view3 = Titanium.UI.createView({\r\n\twidth:300,\r\n\theight:300,\r\n\tbackgroundColor : \"blue\"\r\n});\r\nvar label3 = Ti.UI.createLabel({\r\n\ttext : \"label3\"\r\n});\r\n\r\nbtn1.addEventListener('click', function(){\r\n\tcontrolView.animate({view:view1,transition:Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT});\r\n});\r\nbtn2.addEventListener('click', function(){\r\n\tcontrolView.animate({view:view2,transition:Ti.UI.iPhone.AnimationStyle.FLIP_FROM_RIGHT});\r\n});\r\nbtn3.addEventListener('click', function(){\r\n\tcontrolView.animate({view:view3,transition:Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT});\r\n});\r\n\r\n\r\nview1.add(label1,switch1,switch2);\r\nview2.add(label2);\r\nview3.add(label3);\r\n\r\ncontrolView.add(view1);\r\n\r\nwin1.add(controlView,btn1,btn2,btn3);\r\n\r\nwin1.open();\r\n{code}\r\n\r\n*Video-explanation attached*", "attachment": [ { "id": "57935", "filename": "transition_view.mov", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2016-01-12T13:26:20.000+0000", "size": 5335782, "mimeType": "video/quicktime" } ], "flagged": false, "summary": "iOS: During a view transition the children of the view are not visible", "creator": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "environment": "*Appcelerator Studio, build: 4.3.3.201510212245*\r\n*Titanium SDK 5.1.1G.A* (but the problem afflicts also all the previous versions)\r\n*Apple SDK 9.2*\r\n*xCode 7.2*", "comment": { "comments": [ { "id": "396197", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "body": "+1", "updateAuthor": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2016-09-15T09:02:57.000+0000", "updated": "2016-09-15T09:02:57.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }