{ "id": "111713", "key": "TIMOB-13290", "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": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "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": "2014-04-23T18:14:47.000+0000", "created": "2013-03-26T16:52:00.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "iphone" ], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-29T16:18:35.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": "*Problem*\r\nWhen quickly scrolling down a tableview the switches, in this case the topmost switch, inside the rows, disappears.\r\n\r\nYou have to scroll back very slow to make them appear again.\r\n\r\n*Steps to Reproduce*\r\n1. Use Ti SDK 3.0.0 or 3.0.2\r\n2. Copy and paste provided code in app.js\r\n3. Run on iOS simulator 6.0 or 6.1\r\n4. Scroll down quickly so that the switches moves off the screen (at the top)\r\n5. Repeat step 4 until the top switch disappears on return to viewing all 3 switches\r\n6. Slowly scroll upwards from bottom most position in order to for switch to reappear \r\n\r\n{code:javascript}\r\nvar rnav = Ti.UI.createButton({\r\n backgroundImage: \"img/nav/close.png\",\r\n width: 40,\r\n height: 31\r\n});\r\n\r\nrnav.addEventListener(\"click\", function(){\r\n title: \"click\"\r\n});\r\n\r\nwNav = Ti.UI.createWindow({\r\n navBarHidden: true\r\n});\r\n\r\nvar w = Ti.UI.createWindow({\r\n backgroundColor:'#fff',\r\n rightNavButton: rnav,\r\n backgroundColor: \"#e1e1e1\"\r\n});\r\n\r\nvar s0 = Ti.UI.createTableViewSection({\r\n headerTitle: \"Perfil\"\r\n});\r\n\r\nvar s01 = Ti.UI.createTableViewSection({\r\n headerTitle: \"Notificações\"\r\n});\r\n\r\nvar s1 = Ti.UI.createTableViewSection({\r\n headerTitle: \"Sobre\"\r\n});\r\n\r\nvar s2 = Ti.UI.createTableViewSection();\r\n\r\nvar profileChange = Ti.UI.createTableViewRow({\r\n title: L(\"Meu Perfil\"),\r\n hasChild: true,\r\n backgroundColor: \"#fff\"\r\n});\r\n\r\ns0.add(profileChange);\r\n\r\nvar passChange = Ti.UI.createTableViewRow({\r\n title: L(\"Mudar Senha\"),\r\n hasChild: true,\r\n backgroundColor: \"#fff\"\r\n});\r\n\r\ns0.add(passChange);\r\n\r\nvar notifPush = Ti.UI.createTableViewRow({\r\n title: \"Push notifications\",\r\n backgroundColor: \"#fff\",\r\n height: 43\r\n});\r\n\r\nvar pushSwitch = Titanium.UI.createSwitch({\r\n value: 1,\r\n right: 15\r\n}, function(){\r\n chparams();\r\n});\r\n\r\nnotifPush.add(pushSwitch);\r\n\r\nvar soundPush = Ti.UI.createTableViewRow({\r\n title: \"Som de alerta\",\r\n backgroundColor: \"#fff\",\r\n height: 43\r\n});\r\n\r\nvar soundPushSwitch = Titanium.UI.createSwitch({\r\n value: 1,\r\n right: 15\r\n});\r\n\r\nsoundPush.add(soundPushSwitch);\r\n\r\nvar notifMail = Ti.UI.createTableViewRow({\r\n title: \"Email\",\r\n backgroundColor: \"#fff\",\r\n height: 43\r\n});\r\n\r\nvar mailSwitch = Titanium.UI.createSwitch({\r\n value: 1,\r\n right: 15\r\n});\r\n\r\nnotifMail.add(mailSwitch);\r\n\r\ns01.add(notifPush);\r\ns01.add(soundPush);\r\ns01.add(notifMail);\r\n\r\nvar aboutFeedback = Ti.UI.createTableViewRow({\r\n title: \"Feedback\",\r\n hasChild: true,\r\n backgroundColor: \"#fff\"\r\n});\r\n\r\nvar aboutTell = Ti.UI.createTableViewRow({\r\n title: \"Chame seus amigos!\",\r\n hasChild: true,\r\n backgroundColor: \"#fff\"\r\n});\r\n\r\nvar aboutFAQ = Ti.UI.createTableViewRow({\r\n title: \"Perguntas & Respostas (FAQ)\",\r\n hasChild: true,\r\n backgroundColor: \"#fff\"\r\n});\r\n\r\nvar aboutTerms = Ti.UI.createTableViewRow({\r\n title: \"Termos & Condições de Uso\",\r\n hasChild: true,\r\n backgroundColor: \"#fff\"\r\n});\r\n\r\nvar aboutPrivacy = Ti.UI.createTableViewRow({\r\n title: \"Política de Privacidade\",\r\n hasChild: true,\r\n backgroundColor: \"#fff\"\r\n});\r\n\r\nvar aboutUs = Ti.UI.createTableViewRow({\r\n title: \"About\",\r\n hasChild: true,\r\n backgroundColor: \"#fff\"\r\n});\r\n\r\ns1.add(aboutFeedback);\r\ns1.add(aboutTell);\r\ns1.add(aboutFAQ);\r\ns1.add(aboutTerms);\r\ns1.add(aboutPrivacy);\r\ns1.add(aboutUs);\r\n \r\nvar logout = Ti.UI.createTableViewRow({\r\n //backgroundImage: \"img/dashboard/signout.png\",\r\n backgroundColor: \"#fff\",\r\n height: 43,\r\n width: 302,\r\n selectionStyle: Ti.UI.iPhone.TableViewCellSelectionStyle.NONE\r\n});\r\ns2.add(logout); \r\n \r\nvar tableView = Ti.UI.createTableView({\r\n backgroundColor: \"transparent\",\r\n separatorColor: \"#666\",\r\n style: Ti.UI.iPhone.TableViewStyle.GROUPED,\r\n data: [s0,s01,s1,s2]\r\n});\r\n\r\nw.add(tableView);\r\n\r\nw.open();\r\n{code}\r\n\r\n*Expected Result*\r\nSwitch does not disappear when scrolled down\r\n\r\n*Actual Result*\r\nOn occasion, switch disappears when scrolled down and switch is out of sight\r\n\r\n*Notes*: This seems to only be an issue when there are switches within tableViewSections and this only occurs when tableView is large enough such that on scroll, the switches are not visible on screen. When tested without extra rows and switches are constantly in view, I could not reproduce the bug. \r\n", "attachment": [], "flagged": false, "summary": "iOS: Ti.UI.Switch disappears when scrolling TableView", "creator": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "subtasks": [], "reporter": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested on:\r\nTi SDK 3.0.2GA\r\niOS Simulator 6.0\r\n\r\nbug also seen in:\r\nIOS: 6.1.2/6.1.3. \r\nTitanium SDK: 3.0.0GA", "comment": { "comments": [ { "id": "244144", "author": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Daniel,\n\nPlease can you provide some more information on this issue:\n- Titanium Studio Version\n- XCode version\n\nCan you also provide a small reproducible test case so this issue can be tested.\n\n", "updateAuthor": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-26T18:55:14.000+0000", "updated": "2013-03-26T18:55:14.000+0000" }, { "id": "244182", "author": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Hi Jamie,\nHere's the info:\n\n*Titanium Studio: build: 3.0.2.201302191606\n*XCODE: Version 4.6.1 (4H512)\n\nHere's also a 'not so small' test case but anyway.\n \n{noformat} \nWindow = function() {\n var rnav = Ti.UI.createButton({\n backgroundImage: \"img/nav/close.png\",\n width: 40,\n height: 31\n });\n\n rnav.addEventListener(\"click\", function(){\n title: \"click\"\n });\n \n wNav = Ti.UI.createWindow({\n navBarHidden: true\n });\n\n var w = Ti.UI.createWindow({\n backgroundColor:'#fff',\n rightNavButton: rnav,\n backgroundColor: \"#e1e1e1\"\n });\n \n settingsNav = Ti.UI.iPhone.createNavigationGroup({\n window: w\n });\n \n wNav.add(settingsNav);\n \n\n\n\n var s0 = Ti.UI.createTableViewSection({\n \theaderTitle: \"Perfil\"\n });\n\n var s01 = Ti.UI.createTableViewSection({\n headerTitle: \"Notificações\"\n });\n\n var s1 = Ti.UI.createTableViewSection({\n \theaderTitle: \"Sobre\"\n });\n\n var s2 = Ti.UI.createTableViewSection();\n\n // Fields\n\n var profileChange = Ti.UI.createTableViewRow({\n \ttitle: L(\"Meu Perfil\"),\n hasChild: true,\n backgroundColor: \"#fff\"\n });\n\n profileChange.addEventListener(\"click\", function(){\n //var pr = require(\"sets\")(\"profile\");\n //CM.settingsNav.open(pr);\n });\n\n s0.add(profileChange);\n\n var passChange = Ti.UI.createTableViewRow({\n \ttitle: L(\"Mudar Senha\"),\n hasChild: true,\n backgroundColor: \"#fff\"\n });\n\n passChange.addEventListener(\"click\", function(){\n //var pr = require(\"sets\")(\"passwd\");\n //CM.settingsNav.open(pr);\n });\n\n s0.add(passChange);\n\n var notifPush = Ti.UI.createTableViewRow({\n \ttitle: \"Push notifications\",\n backgroundColor: \"#fff\",\n height: 40\n });\n\n var pushSwitch = Titanium.UI.createSwitch({\n value: 1,\n right: 15\n }, function(){\n chparams();\n });\n\n\n notifPush.add(pushSwitch);\n\n\n var soundPush = Ti.UI.createTableViewRow({\n title: \"Som de alerta\",\n backgroundColor: \"#fff\",\n height: 40\n });\n\n var soundPushSwitch = Titanium.UI.createSwitch({\n value: 1,\n right: 15\n }, function(){\n chparams();\n });\n\n soundPush.add(soundPushSwitch);\n\n pushSwitch.addEventListener('change', function(e){\n e.value ? soundPushSwitch.setEnabled(true) : soundPushSwitch.setEnabled(false);\n });\n\n var notifMail = Ti.UI.createTableViewRow({\n title: \"Email\",\n backgroundColor: \"#fff\",\n height: 40\n });\n\n var mailSwitch = Titanium.UI.createSwitch({\n value: 1,\n right: 15\n }, function() {\n chparams();\n });\n\n notifMail.add(mailSwitch);\n\n s01.add(notifPush);\n s01.add(soundPush);\n s01.add(notifMail);\n\n\n\n var aboutFeedback = Ti.UI.createTableViewRow({\n \ttitle: \"Feedback\",\n hasChild: true,\n backgroundColor: \"#fff\"\n });\n\n aboutFeedback.addEventListener(\"click\", function(){\n var email = Ti.UI.createEmailDialog();\n email.subject = \"Feedback\";\n email.toRecipients = ['feedback@pinion.com.br'];\n email.messageBody = L('Escreva aqui sua opinião, crítica ou sugestão!');\n email.open();\n });\n\n var aboutTell = Ti.UI.createTableViewRow({\n \ttitle: \"Chame seus amigos!\",\n hasChild: true,\n backgroundColor: \"#fff\"\n });\n\n var tellOpt = Ti.UI.createAlertDialog({\n cancel: 2,\n destructive: 2,\n title: \"Chamar amigos por:\",\n options: ['Facebook', 'Twitter', 'Cancelar']\n });\n tellOpt.addEventListener(\"click\", function(e){ \n switch(e.index){\n case 0:\n \t social.facebook({\n \t text: \"Acabei de instalar o PiniOn! Agora eu posso cumprir missões e ganhar dinheiro de forma fácil e rápida.\",\n image: \"http://www.pinion.com.br/fb.jpg\",\n url: \"http://www.pinion.com.br\"\n \t });\n break;\n \n case 1:\n \t social.twitter({\n \t text: \"Acabei de instalar o PiniOn! Agora eu posso cumprir missões e ganhar dinheiro de forma fácil e rápida.\",\n url: \"http://www.pinion.com.br\"\n \t });\n break;\n }\n });\n aboutTell.addEventListener(\"click\", function(){ \n tellOpt.show();\n });\n\n var aboutFAQ = Ti.UI.createTableViewRow({\n title: \"Perguntas & Respostas (FAQ)\",\n hasChild: true,\n backgroundColor: \"#fff\"\n });\n\n aboutFAQ.addEventListener(\"click\", function(){\n //var sets = require(\"sets\")(\"faq\");\n //CM.settingsNav.open(sets);\n });\n\n var aboutTerms = Ti.UI.createTableViewRow({\n \ttitle: \"Termos & Condições de Uso\",\n hasChild: true,\n backgroundColor: \"#fff\"\n });\n\n aboutTerms.addEventListener(\"click\", function(){\n //var sets = require(\"sets\")(\"terms\");\n //CM.settingsNav.open(sets);\n });\n\n var aboutPrivacy = Ti.UI.createTableViewRow({\n \ttitle: \"Política de Privacidade\",\n hasChild: true,\n backgroundColor: \"#fff\"\n });\n\n aboutPrivacy.addEventListener(\"click\", function(){\n //var sets = require(\"sets\")(\"privacy\");\n //CM.settingsNav.open(sets);\n });\n\n var aboutUs = Ti.UI.createTableViewRow({\n \ttitle: \"About\",\n hasChild: true,\n backgroundColor: \"#fff\"\n });\n\n aboutUs.addEventListener(\"click\", function(){\n //var sets = require(\"sets\")(\"about\");\n //CM.settingsNav.open(sets);\n });\n\n s1.add(aboutFeedback);\n s1.add(aboutTell);\n s1.add(aboutFAQ);\n s1.add(aboutTerms);\n s1.add(aboutPrivacy);\n s1.add(aboutUs);\n \t\n var logout = Ti.UI.createTableViewRow({\n backgroundImage: \"img/dashboard/signout.png\",\n backgroundColor: \"transparent\",\n height: 43,\n width: 302,\n selectionStyle: Ti.UI.iPhone.TableViewCellSelectionStyle.NONE\n });\n\n logout.addEventListener(\"click\", function(){\n Ti.App.Properties.removeProperty(\"user\");\n \t//api.user = null;\n var lastLoginType = Ti.App.Properties.getString(\"lastLoginType\", null);\n services.stopPush();\n \n if (lastLoginType == \"fb\") {\n \tTi.App.Properties.removeProperty(\"lastLoginType\");\n setTimeout(function(){\n Ti.Facebook.logout();\n }, 800);\n } else {\n Ti.App.Properties.removeProperty(\"lastLoginType\");\n setTimeout(function(){\n //CM.updateLoginStatus();\n }, 800);\n }\n \n wNav.close();\n });\n\n s2.add(logout);\t\n \t\n var tableView = Ti.UI.createTableView({\n backgroundColor: \"transparent\",\n separatorColor: \"#666\",\n \tstyle: Ti.UI.iPhone.TableViewStyle.GROUPED,\n data: [s0,s01,s1,s2]\n });\n\n w.add(tableView);\n\n w.addEventListener(\"blur\", function(){\n //api.upUser();\n });\n \t\n \t\n}\nmodule.exports = Window;\n{noformat}\n\n\n\n ", "updateAuthor": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2013-03-26T21:47:16.000+0000", "updated": "2013-03-26T21:47:16.000+0000" }, { "id": "244532", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Code provided is a bit long to test with. Made my own test case which reflects the issue described:\n\n{code}\nvar win = Ti.UI.createWindow({\n\tbackgroundColor : 'white',\n\tfullscreen : true\n});\n\nvar tableData = [];\nvar table = Titanium.UI.createTableView({\n\tlayout: 'vertical'\n});\n\nfor (var i = 0; i <= 20; i++) {\n\tvar row = Ti.UI.createTableViewRow({\n\t\ttitle : 'row' + i,\n\t\tclassName : 'row',\n\t\tobjName : 'row',\n\t\theight : 100\n\t});\n\n\tvar basicSwitch = Ti.UI.createSwitch({\n\t\tvalue : true\n\t});\n\t\n\trow.add(basicSwitch);\n\ttableData.push(row);\n}\n\ntable.setData(tableData);\nwin.add(table);\nwin.open();\n\n{code}\n\nunable to reproduce.\nRegards,\nCarter\n\n", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T20:49:46.000+0000", "updated": "2013-03-28T20:49:46.000+0000" }, { "id": "244538", "author": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Thanks @Carter. I will produce a more light version of the code snippet I sent above.", "updateAuthor": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2013-03-28T20:56:40.000+0000", "updated": "2013-03-28T20:56:40.000+0000" }, { "id": "244539", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Daniel, Ok will reopen and review upon your reply. Thanks for being patient. For future reference on getting quick reviews and processing to engineering: \nhttps://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report\n-Carter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T21:00:44.000+0000", "updated": "2013-03-28T21:00:44.000+0000" }, { "id": "244549", "author": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "@Carter. Here is a more light version with the same problem (not that frequently though). Here you can see that the problem can be related with the tableviewsections.\n\n\n{noformat} \nvar rnav = Ti.UI.createButton({\n backgroundImage: \"img/nav/close.png\",\n width: 40,\n height: 31\n});\n\nrnav.addEventListener(\"click\", function(){\n title: \"click\"\n});\n\nwNav = Ti.UI.createWindow({\n navBarHidden: true\n});\n\nvar w = Ti.UI.createWindow({\n backgroundColor:'#fff',\n rightNavButton: rnav,\n backgroundColor: \"#e1e1e1\"\n});\n\n\nwNav.add(settingsNav);\n\nvar s0 = Ti.UI.createTableViewSection({\n\theaderTitle: \"Perfil\"\n});\n\nvar s01 = Ti.UI.createTableViewSection({\n headerTitle: \"Notificações\"\n});\n\nvar s1 = Ti.UI.createTableViewSection({\n\theaderTitle: \"Sobre\"\n});\n\nvar s2 = Ti.UI.createTableViewSection();\n\n\n\n// Fields\n\nvar profileChange = Ti.UI.createTableViewRow({\n\ttitle: L(\"Meu Perfil\"),\n hasChild: true,\n backgroundColor: \"#fff\"\n});\n\n\ns0.add(profileChange);\n\nvar passChange = Ti.UI.createTableViewRow({\n\ttitle: L(\"Mudar Senha\"),\n hasChild: true,\n backgroundColor: \"#fff\"\n});\n\n\ns0.add(passChange);\n\nvar notifPush = Ti.UI.createTableViewRow({\n\ttitle: \"Push notifications\",\n backgroundColor: \"#fff\",\n height: 43\n});\n\nvar pushSwitch = Titanium.UI.createSwitch({\n value: 1,\n right: 15\n}, function(){\n chparams();\n});\n\n\nnotifPush.add(pushSwitch);\n\n\nvar soundPush = Ti.UI.createTableViewRow({\n title: \"Som de alerta\",\n backgroundColor: \"#fff\",\n height: 43\n});\n\nvar soundPushSwitch = Titanium.UI.createSwitch({\n value: 1,\n right: 15\n});\n\nsoundPush.add(soundPushSwitch);\n\n\nvar notifMail = Ti.UI.createTableViewRow({\n title: \"Email\",\n backgroundColor: \"#fff\",\n height: 43\n});\n\nvar mailSwitch = Titanium.UI.createSwitch({\n value: 1,\n right: 15\n});\n\nnotifMail.add(mailSwitch);\n\ns01.add(notifPush);\ns01.add(soundPush);\ns01.add(notifMail);\n\n\n\nvar aboutFeedback = Ti.UI.createTableViewRow({\n\ttitle: \"Feedback\",\n hasChild: true,\n backgroundColor: \"#fff\"\n});\n\n\nvar aboutTell = Ti.UI.createTableViewRow({\n\ttitle: \"Chame seus amigos!\",\n hasChild: true,\n backgroundColor: \"#fff\"\n});\n\n\nvar aboutFAQ = Ti.UI.createTableViewRow({\n title: \"Perguntas & Respostas (FAQ)\",\n hasChild: true,\n backgroundColor: \"#fff\"\n});\n\n\n\nvar aboutTerms = Ti.UI.createTableViewRow({\n\ttitle: \"Termos & Condições de Uso\",\n hasChild: true,\n backgroundColor: \"#fff\"\n});\n\n\n\nvar aboutPrivacy = Ti.UI.createTableViewRow({\n\ttitle: \"Política de Privacidade\",\n hasChild: true,\n backgroundColor: \"#fff\"\n});\n\n\n\nvar aboutUs = Ti.UI.createTableViewRow({\n\ttitle: \"About\",\n hasChild: true,\n backgroundColor: \"#fff\"\n});\n\n\n\ns1.add(aboutFeedback);\ns1.add(aboutTell);\ns1.add(aboutFAQ);\ns1.add(aboutTerms);\ns1.add(aboutPrivacy);\ns1.add(aboutUs);\n\t\nvar logout = Ti.UI.createTableViewRow({\n //backgroundImage: \"img/dashboard/signout.png\",\n backgroundColor: \"#fff\",\n height: 43,\n width: 302,\n selectionStyle: Ti.UI.iPhone.TableViewCellSelectionStyle.NONE\n});\n\n\ns2.add(logout);\t\n\t\nvar tableView = Ti.UI.createTableView({\n backgroundColor: \"transparent\",\n separatorColor: \"#666\",\n\tstyle: Ti.UI.iPhone.TableViewStyle.GROUPED,\n data: [s0,s01,s1,s2]\n});\n\nw.add(tableView);\n\nw.open();\n{noformat}\n\n", "updateAuthor": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2013-03-28T21:29:45.000+0000", "updated": "2013-03-28T21:29:45.000+0000" }, { "id": "244551", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Daniel,\nI can't seem to reproduce this. I tested on iOS simulator 6.0 and everything seems to be working fine. Can you please provide more info? What Ti SDK are you using, what Ti build, a clear set of steps to reproduce etc. Also would you mind adding this test case to the bug description so that we have a clear record of the issue at hand. Maybe I am missing something or am on a different build that is experiencing this? For reference on what to provide to ensure a thorough review:\nhttps://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report\nThanks,\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T21:38:46.000+0000", "updated": "2013-03-28T21:38:46.000+0000" }, { "id": "244552", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Woops, my mistake I see now that you have provided the SDK and iOS versions. Will test on them momentarily.\n-Carter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T21:40:18.000+0000", "updated": "2013-03-28T21:40:18.000+0000" }, { "id": "244568", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Daniel,\nI was able to reproduce the possible bug on 3.0.2GA and with iOS 6.0 (6.1 is not yet supported) but the code is still too large. Try to get it down to under 100 lines in order to be considered a viable test case. The bug needs to be properly isolated before being deemed an issue. \nThanks for your patience,\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T22:23:40.000+0000", "updated": "2013-03-28T22:23:40.000+0000" }, { "id": "244619", "author": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "@Carter,\nOk, I will get it down under 100 lines. Sending ASAP.\n\nThanks\nDaniel", "updateAuthor": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2013-03-29T00:57:49.000+0000", "updated": "2013-03-29T00:57:49.000+0000" }, { "id": "244881", "author": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "@Carter. It been difficult to get it down under 100 lines because I need many sections and rows to make it scroll. But please try with this code here on 3.0.0GA(IOS6.1). \n\n{noformat} \nvar rnav = Ti.UI.createButton({\n backgroundImage: \"img/nav/close.png\",\n width: 40,\n height: 31\n});\n\nrnav.addEventListener(\"click\", function(){\n title: \"click\"\n});\n\nwNav = Ti.UI.createWindow({\n navBarHidden: true\n});\n\nvar w = Ti.UI.createWindow({\n backgroundColor:'#fff',\n rightNavButton: rnav,\n backgroundColor: \"#e1e1e1\"\n});\n\nvar s0 = Ti.UI.createTableViewSection({\n headerTitle: \"Perfil\"\n});\n\nvar s01 = Ti.UI.createTableViewSection({\n headerTitle: \"Notificações\"\n});\n\nvar s1 = Ti.UI.createTableViewSection({\n headerTitle: \"Sobre\"\n});\n\nvar s2 = Ti.UI.createTableViewSection();\n\nvar profileChange = Ti.UI.createTableViewRow({\n title: L(\"Meu Perfil\"),\n hasChild: true,\n backgroundColor: \"#fff\"\n});\n\ns0.add(profileChange);\n\nvar passChange = Ti.UI.createTableViewRow({\n title: L(\"Mudar Senha\"),\n hasChild: true,\n backgroundColor: \"#fff\"\n});\n\ns0.add(passChange);\n\nvar notifPush = Ti.UI.createTableViewRow({\n title: \"Push notifications\",\n backgroundColor: \"#fff\",\n height: 43\n});\n\nvar pushSwitch = Titanium.UI.createSwitch({\n value: 1,\n right: 15\n}, function(){\n chparams();\n});\n\nnotifPush.add(pushSwitch);\n\nvar soundPush = Ti.UI.createTableViewRow({\n title: \"Som de alerta\",\n backgroundColor: \"#fff\",\n height: 43\n});\n\nvar soundPushSwitch = Titanium.UI.createSwitch({\n value: 1,\n right: 15\n});\n\nsoundPush.add(soundPushSwitch);\n\nvar notifMail = Ti.UI.createTableViewRow({\n title: \"Email\",\n backgroundColor: \"#fff\",\n height: 43\n});\n\nvar mailSwitch = Titanium.UI.createSwitch({\n value: 1,\n right: 15\n});\n\nnotifMail.add(mailSwitch);\n\ns01.add(notifPush);\ns01.add(soundPush);\ns01.add(notifMail);\n\nvar aboutFeedback = Ti.UI.createTableViewRow({\n title: \"Feedback\",\n hasChild: true,\n backgroundColor: \"#fff\"\n});\n\nvar aboutTell = Ti.UI.createTableViewRow({\n title: \"Chame seus amigos!\",\n hasChild: true,\n backgroundColor: \"#fff\"\n});\n\nvar aboutFAQ = Ti.UI.createTableViewRow({\n title: \"Perguntas & Respostas (FAQ)\",\n hasChild: true,\n backgroundColor: \"#fff\"\n});\n\nvar aboutTerms = Ti.UI.createTableViewRow({\n title: \"Termos & Condições de Uso\",\n hasChild: true,\n backgroundColor: \"#fff\"\n});\n\nvar aboutPrivacy = Ti.UI.createTableViewRow({\n title: \"Política de Privacidade\",\n hasChild: true,\n backgroundColor: \"#fff\"\n});\n\nvar aboutUs = Ti.UI.createTableViewRow({\n title: \"About\",\n hasChild: true,\n backgroundColor: \"#fff\"\n});\n\ns1.add(aboutFeedback);\ns1.add(aboutTell);\ns1.add(aboutFAQ);\ns1.add(aboutTerms);\ns1.add(aboutPrivacy);\ns1.add(aboutUs);\n \nvar logout = Ti.UI.createTableViewRow({\n //backgroundImage: \"img/dashboard/signout.png\",\n backgroundColor: \"#fff\",\n height: 43,\n width: 302,\n selectionStyle: Ti.UI.iPhone.TableViewCellSelectionStyle.NONE\n});\ns2.add(logout); \n \nvar tableView = Ti.UI.createTableView({\n backgroundColor: \"transparent\",\n separatorColor: \"#666\",\n style: Ti.UI.iPhone.TableViewStyle.GROUPED,\n data: [s0,s01,s1,s2]\n});\n\nw.add(tableView);\n\nw.open();\n{noformat}\n\nThanks in advance!\n\n/ Daniel", "updateAuthor": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2013-04-01T14:18:51.000+0000", "updated": "2013-04-01T14:18:51.000+0000" }, { "id": "244922", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Damien, thank you again for your patience in helping to create a thorough bug report. I have moved this bug to engineering who will take further action. Please be sure to keep a watch on this ticket for updates and final resolution.\n\nRegards,\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-01T17:34:48.000+0000", "updated": "2013-04-01T17:34:48.000+0000" }, { "id": "244924", "author": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "@Carter, thanks very much for your help.", "updateAuthor": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2013-04-01T17:40:22.000+0000", "updated": "2013-04-01T17:40:22.000+0000" }, { "id": "249383", "author": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Any news on this one? We updated to Ti SDK 3.1.0GA but still have the same problem. Really need a solution for this.\r\n\r\nThanks\r\nDaniel", "updateAuthor": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2013-04-29T18:01:09.000+0000", "updated": "2013-04-29T18:01:09.000+0000" }, { "id": "249964", "author": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "@Carter\r\n\r\nPlease send me news on this one! Really important for us to go further with the improvment of our app.\r\n\r\n", "updateAuthor": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2013-05-02T18:53:54.000+0000", "updated": "2013-05-02T18:53:54.000+0000" }, { "id": "249974", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Daniel, I just sent a note to the head of engineering about this ticket. I will also raise the ticket priority and reassign the ticket accordingly.\n\nSorry for the wait, there should be a response soon.\n\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-02T19:40:56.000+0000", "updated": "2013-05-02T19:40:56.000+0000" }, { "id": "249977", "author": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Carter, thanks for the answer.\r\n\r\n/ Daniel", "updateAuthor": { "name": "panamadonne", "key": "panamadonne", "displayName": "Daniel Hansson", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2013-05-02T19:50:16.000+0000", "updated": "2013-05-02T19:50:16.000+0000" }, { "id": "249980", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ingo - Please schedule as per your schedule.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-02T20:02:58.000+0000", "updated": "2013-05-02T20:02:58.000+0000" }, { "id": "277164", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It is really hard to reproduce, but I did :( with:\nMac osx 10.9 Mavericks\nTitanium Studio, build:3.2.0.201310240435\nCLI 3.2.0(72f7426b4ee6c2d2883c666d5b7e03906a16012f)\nXcode5.0.1\nTitanium SDK, build 3.1.3.GA\niOS Simulator 6.1\n\nHad to scroll down and up way more than 4 times. Once again, it is really hard to reproduce. Taking off qe-investigate label.", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-29T16:54:01.000+0000", "updated": "2013-10-29T16:54:01.000+0000" }, { "id": "301953", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We need a better test case to reproduce this. Any luck?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-21T21:20:26.000+0000", "updated": "2014-04-21T21:20:26.000+0000" }, { "id": "302122", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "TIMOB-16873 is similar with a better test case but that is on the List View.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-23T04:04:42.000+0000", "updated": "2014-04-23T04:04:42.000+0000" }, { "id": "302234", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~ragrawal] that ticket is something different.", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-04-23T17:57:31.000+0000", "updated": "2014-04-23T17:58:10.000+0000" }, { "id": "302239", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "There has been a lot of improvements, in general, with TableView since this ticket was opened and we have not been able to reproduce this locally.\r\n\r\nIf issue persists, please reopen.", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-04-23T18:14:47.000+0000", "updated": "2014-04-23T18:14:47.000+0000" }, { "id": "302256", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~oromero] Please try reproducing this issue with 3.2.3 release and reopen the ticket if you can reproduce it.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-23T19:15:25.000+0000", "updated": "2014-04-23T19:15:25.000+0000" }, { "id": "302408", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-24T17:09:00.000+0000", "updated": "2014-04-24T17:09:00.000+0000" }, { "id": "409648", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce using the following environment;\r\niPhone 7 and Simulator (10.2)\r\nMacOS 10.11.6 (15G31)\r\nStudio 4.8.1.201612050850\r\nTi SDK 6.0.2 GA\r\nAppc NPM 4.2.8\r\nAppc CLI 6.1.0\r\nTi CLI 5.0.11\r\nAlloy 1.9.5\r\nArrow 1.10.1\r\nXcode 8.2 (8C38)\r\nNode v4.6.0\r\nJava 1.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-07T21:30:59.000+0000", "updated": "2017-03-07T21:30:59.000+0000" } ], "maxResults": 28, "total": 28, "startAt": 0 } } }