{ "id": "97742", "key": "AC-2781", "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": "2012-08-21T09:41:03.000+0000", "created": "2012-07-20T23:25:55.000+0000", "labels": [ "ios", "tableview" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:47:41.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "It is a tab-based ios app. The tab is hidden by hideTabBar(). \r\n\r\n1. In the home view, enter into the second level view via Ti.UI.currentTab.open(win, {animated:true});\r\n2. The second level view contains a Tableview.\r\n3. Click one row of Tableview, enter the third level view via Ti.UI.currentTab.open(win, {animated:true});\r\n4. Click the back button of navigaton bar of the third level view, return back to the second level view.\r\n5. Sometimes, the Tableview displays empty rows and freezing, the scroll-down refresh function is also not working.\r\n6. Return back to the home view and reenter into the second level view, the Tableview recovers.", "attachment": [ { "id": "30315", "filename": "code.zip", "author": { "name": "yueming", "key": "yueming", "displayName": "Yue Ming Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-07T00:58:27.000+0000", "size": 51477, "mimeType": "application/zip" }, { "id": "29943", "filename": "IMG_1874.PNG", "author": { "name": "yueming", "key": "yueming", "displayName": "Yue Ming Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-20T23:25:55.000+0000", "size": 19041, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Tableview empty and freezing sometimes after clicking back button of navigaton bar", "creator": { "name": "yueming", "key": "yueming", "displayName": "Yue Ming Wang", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "yueming", "key": "yueming", "displayName": "Yue Ming Wang", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS\r\nTitanium SDK 2.1.0.GA", "comment": { "comments": [ { "id": "211349", "author": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, \r\nCould you please provide a reproducible test case?", "updateAuthor": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-02T21:25:39.000+0000", "updated": "2012-08-02T21:25:39.000+0000" }, { "id": "211356", "author": { "name": "yueming", "key": "yueming", "displayName": "Yue Ming Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "http://itunes.apple.com/cn/app/koob/id524045972?l=en&mt=8\r\n\r\nYou can download this app and have a try.\r\n\r\n", "updateAuthor": { "name": "yueming", "key": "yueming", "displayName": "Yue Ming Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-03T00:39:32.000+0000", "updated": "2012-08-03T00:39:32.000+0000" }, { "id": "212123", "author": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi,\r\nPlease narrow down the issue and provide a reproducible sample test case. Provide a code snippet.", "updateAuthor": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-06T11:05:56.000+0000", "updated": "2012-08-06T11:05:56.000+0000" }, { "id": "213077", "author": { "name": "yueming", "key": "yueming", "displayName": "Yue Ming Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue occurs sometime, not every time. I enclose some js files for your reference.", "updateAuthor": { "name": "yueming", "key": "yueming", "displayName": "Yue Ming Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-07T00:56:51.000+0000", "updated": "2012-08-07T00:56:51.000+0000" }, { "id": "213078", "author": { "name": "yueming", "key": "yueming", "displayName": "Yue Ming Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "some source code for your reference.", "updateAuthor": { "name": "yueming", "key": "yueming", "displayName": "Yue Ming Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-07T00:58:27.000+0000", "updated": "2012-08-07T00:59:11.000+0000" }, { "id": "213970", "author": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, \r\nI can't run the application with the code provided by you. I can't reproduce it. Please provide a reproducible test case.", "updateAuthor": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-12T21:54:36.000+0000", "updated": "2012-08-12T21:54:36.000+0000" }, { "id": "215334", "author": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce the issue.", "updateAuthor": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-21T09:41:03.000+0000", "updated": "2012-08-21T09:41:03.000+0000" }, { "id": "286488", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nI tested this this issue with the code below. I can’t reproduce this issue. Please check this code with the latest Ti SDK Build and let me know if this problem persists. If you are able to reproduce, please post your test case with the details. We will revisit this issue then.\r\n\r\n\r\nh5. Test Environment\r\n\r\nMac OS X 10.8.5\r\nTi SDK 3.2.0.GA\r\nTi CLI 3.2.0\r\nIOS 7.0.3\r\n\r\n\r\nh5. Test Code\r\n{code}\r\nvar tabGroupMain = Titanium.UI.createTabGroup();\r\n \r\n//\r\n// create base UI tab and root window\r\n//\r\n \r\nvar winMain = Titanium.UI.createWindow({\r\n backgroundColor: 'orange',\r\n title: 'Red Window'\r\n});\r\n \r\nvar win1 = Titanium.UI.iOS.createNavigationWindow({\r\n window: winMain,\r\n title: 'Tab 1',\r\n backgroundColor: 'orange',\r\n layout: 'vertical'\r\n \r\n});\r\n \r\nvar tabFirst = Titanium.UI.createTab({\r\n icon: 'KS_nav_views.png',\r\n title: 'Tab 1',\r\n window: win1\r\n});\r\n \r\n \r\n// Create a TableView.\r\nvar aTableView = Ti.UI.createTableView();\r\n \r\n// Populate the TableView data.\r\nvar data = [\r\n\t{title:'Row 1', hasChild:true, color:'red', header:'First'},\r\n\t{title:'Row 2', hasDetail:true, color:'green'},\r\n\t{title:'Row 3', hasCheck:true, color:'blue', header:'Second'},\r\n\t{title:'Row 4', color:'orange'}\r\n];\r\naTableView.setData(data);\r\n \r\n// Listen for click events.\r\n \r\nwin1.add(aTableView);\r\n \r\n \r\nvar close = Titanium.UI.createButton({\r\n color: 'black',\r\n title: 'Back',\r\n width: 180,\r\n height: 35,\r\n bottom:10\r\n});\r\n \r\nwin1.add(close);\r\n \r\nclose.addEventListener('click', function(){\r\n tabGroup.close();\r\n \r\n \r\n \r\n});\r\n \r\naTableView.addEventListener('click',\r\nfunction(e) {\r\n \r\n var tabWin = Titanium.UI.createWindow({\r\n title: 'Modal Window',\r\n backgroundColor: '#f0f',\r\n width: '100%',\r\n height: '100%',\r\n tabBarHidden: true\r\n });\r\n \r\n var tBtn = Titanium.UI.createLabel({\r\n text: 'Hello World',\r\n width: 180,\r\n height: 35\r\n });\r\n tabWin.add(tBtn);\r\n \r\n var tabGroup = Titanium.UI.createTabGroup({\r\n bottom: -500,\r\n width: '100%',\r\n height: '100%'\r\n });\r\n var tab1 = Titanium.UI.createTab({\r\n icon: 'KS_nav_views.png',\r\n width: '100%',\r\n height: '100%',\r\n title: 'tabWin',\r\n window: tabWin\r\n });\r\n tabGroup.addTab(tab1);\r\n tabGroup.open();\r\n \r\n var closeBtn = Titanium.UI.createButton({\r\n title: 'Back'\r\n });\r\n tabWin.leftNavButton = closeBtn;\r\n closeBtn.addEventListener('click',\r\n function(e) {\r\n tabGroup.animate({\r\n duration: 400,\r\n bottom: -500\r\n },\r\n function() {\r\n tabGroup.close();\r\n });\r\n });\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n tabGroup.animate({\r\n duration: 400,\r\n bottom: 0\r\n });\r\n});\r\n \r\n \r\n \r\n \r\n \r\n//\r\n// add tabs\r\n//\r\ntabGroupMain.addTab(tabFirst);\r\n \r\n \r\n \r\n// open tab group\r\ntabGroupMain.open();\r\n{code}\r\n\r\n\r\nThanks ", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-01-02T15:58:14.000+0000", "updated": "2014-01-02T23:44:53.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }