{
"id": "137546",
"key": "AC-924",
"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": "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": "2015-06-29T18:46:14.000+0000",
"created": "2014-10-01T17:03:15.000+0000",
"labels": [
"navigationWindow"
],
"versions": [],
"issuelinks": [],
"assignee": {
"name": "rtlechuga",
"key": "rtlechuga",
"displayName": "Radamantis Torres-Lechuga",
"active": false,
"timeZone": "Asia/Dubai"
},
"updated": "2016-03-08T07:37:14.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": "14544",
"name": "Alloy",
"description": "Please enter tickets related to the Alloy here."
}
],
"description": "There is a delayed response in rendering the screen properly with sub navigation windows by 1 seconds.\r\n\r\nSo if I create a navigation window, and then open the child navigation window, it takes 1 second for the screen to completely render. I will see the old layout, then the new one shortly after wards.\r\n\r\nI open them like this:\r\n\r\n\tvar controller = Alloy.createController('filters', {\r\n\t\ttitle : 'Filter',\r\n\t\tname : '_filters',\r\n\t\tflagWin : true,\r\n\t\tisFlyout : false\r\n\t});\r\n\tvar newWindow = controller.getView();\r\n\tAlloy.Globals.navGroup.openWindow(newWindow, {\r\n\t\tanimated : true\r\n\t});\r\n\r\nWindow then opens, and it is glitchy. The user sees the old layout for 1 second, then it changes to the new layout.\r\n\r\nIn the simulator, the window opens smoothly with the view content in the position. I see it on my iPhone 4, so to replicate the bug you need to test it on a device.\r\n\r\nHere is my XML:\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\nUpdate:\r\n\r\n$.win.addEventListener('open', function(e) {\r\n\t\r\n\t//show content when window has opened.\r\n\t$.winContent.visible = true;\r\n});\r\n\r\nThis works, BUT it feels like a bit of a hack, given that I didn't have to wait for the window to open before showing the content properly.",
"attachment": [],
"flagged": false,
"summary": "Navigation windows delayed rendering",
"creator": {
"name": "maveick2k",
"key": "maveick2k",
"displayName": "Samie Syed",
"active": true,
"timeZone": "America/Los_Angeles"
},
"subtasks": [],
"reporter": {
"name": "maveick2k",
"key": "maveick2k",
"displayName": "Samie Syed",
"active": true,
"timeZone": "America/Los_Angeles"
},
"environment": "sdk 3.4.1 , iphone 4 16GB, Iphone",
"comment": {
"comments": [
{
"id": "327082",
"author": {
"name": "davidbenko",
"key": "davidbenko",
"displayName": "David Benko",
"active": true,
"timeZone": "America/Los_Angeles"
},
"updateAuthor": {
"name": "davidbenko",
"key": "davidbenko",
"displayName": "David Benko",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-10-06T22:04:41.000+0000",
"updated": "2014-10-06T22:04:41.000+0000"
},
{
"id": "328094",
"author": {
"name": "maveick2k",
"key": "maveick2k",
"displayName": "Samie Syed",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "David, I am glad to see that I am not the only one that is experiencing this. I am not sure how to fix it, and it is really annoying given that my app is slightly glitchy now.\r\n\r\nFor example, the back buttons glitch up when you go to the next window - you see the old default nav group button glitch up for a second, than my new one which messes up the user experience.\r\n\r\nThe way I resolved that was to use a 3rd party module to delete the old back button, and than replace it with news ones. It looks better, but again you will see the rendering flicker a bit and it is a bit of a hack!",
"updateAuthor": {
"name": "maveick2k",
"key": "maveick2k",
"displayName": "Samie Syed",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-10-14T21:11:02.000+0000",
"updated": "2014-10-14T21:12:04.000+0000"
},
{
"id": "329583",
"author": {
"name": "davidbenko",
"key": "davidbenko",
"displayName": "David Benko",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "Yes, I have no solution also. It's sad that such undesired bug had no comments from appcelerator's team so far",
"updateAuthor": {
"name": "davidbenko",
"key": "davidbenko",
"displayName": "David Benko",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-10-27T20:32:28.000+0000",
"updated": "2014-10-27T20:32:28.000+0000"
},
{
"id": "329588",
"author": {
"name": "maveick2k",
"key": "maveick2k",
"displayName": "Samie Syed",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "David, I suspect that is because they are not aware of it.\r\n\r\nI often find that a lot of these bugs appear on an actual device. I suspect that the guys at appcelerator do not properly test titanium on every hand held device, leaving us developers to be the guinea pigs.\r\n\r\nI am glad you replied, because it gives credibility to the problem.",
"updateAuthor": {
"name": "maveick2k",
"key": "maveick2k",
"displayName": "Samie Syed",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-10-27T20:38:40.000+0000",
"updated": "2014-10-27T20:38:40.000+0000"
},
{
"id": "336201",
"author": {
"name": "mpmiranda",
"key": "mpmiranda",
"displayName": "Mauro Parra-Miranda",
"active": true,
"timeZone": "America/Mexico_City"
},
"body": "[~davidbenko], [~maveick2k]: \r\n\r\nGuys, can you please provide info about:\r\n\r\n- In which device do you see this issues? \r\n- Do you have different testcases to the one here? Would be really nice if we have more info on this. If you have any sample code in Ti Classic, would be awesome. \r\n- Does this happen with simple windows on slow devices? Or you need to have a super complex window in order to be able to reproduce this?\r\n\r\nThanks in advance! ",
"updateAuthor": {
"name": "mpmiranda",
"key": "mpmiranda",
"displayName": "Mauro Parra-Miranda",
"active": true,
"timeZone": "America/Mexico_City"
},
"created": "2014-12-12T18:49:05.000+0000",
"updated": "2014-12-12T18:49:05.000+0000"
},
{
"id": "337260",
"author": {
"name": "casevictor",
"key": "casevictor",
"displayName": "Victor Casé",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "Mauro,\r\nI have the same bug, but with simple (not navigation) window ( in fact, inside I have 3 children views )\r\nThe bug occurs on iOS (3.4.1GA), at simulator and device (5,6,6plus) however at (4S,5S) it works.\r\n\r\n\r\nMy XML\r\n\r\n\r\n\t \r\n \t\t\r\n\t\t \r\n\t\t \t\r\n\t\t \t\t\r\n\t\t \t\t\r\n\t\t \t\r\n\t\t \t\r\n\t\t \t\t\r\n\t\t \t\t\r\n\t\t \t\r\n\t\t \t\r\n\t\t \t\t\r\n\t\t \t\r\n\t\t \t\r\n\t\t \r\n\t\t \r\n\t \t\r\n\r\n",
"updateAuthor": {
"name": "casevictor",
"key": "casevictor",
"displayName": "Victor Casé",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-12-21T03:55:58.000+0000",
"updated": "2014-12-21T03:59:36.000+0000"
}
],
"maxResults": 7,
"total": 7,
"startAt": 0
}
}
}