{ "id": "114443", "key": "TIMOB-13886", "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": { "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": "2017-06-19T18:02:35.000+0000", "created": "2013-05-16T00:34:15.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-19T18:02: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\nEither the switch or Test button will be hidden when you keep scrolling the table.\r\n\r\n*Steps to reproduce*\r\n1. Run the test case in the iOS simulator\r\n2. Scroll up and down repeatedly\r\n3. Observe that the ismp_us toggle switch and the test_connection Test button sometimes disappear.\r\n\r\n*Test case*\r\nNote: Use the code below, not the attachment.\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : \"#FFF\"\r\n});\r\n\r\nvar btn = Ti.UI.createButton({\r\n\ttitle : \"back\"\r\n});\r\n\r\nwin.setLeftNavButton(btn);\r\n\r\nbtn.addEventListener(\"click\", function(e) {\r\n\twin.close();\r\n});\r\n\r\nvar content = \"content\";\r\n\r\nvar global = {};\r\nglobal.table = buildTable();\r\nvar data = [];\r\n\r\nglobal.eftNameRow = Ti.UI.createTableViewRow({\r\n\ttitle : (\"ismp_us\"),\r\n\theight : 44\r\n});\r\n\r\nglobal.eftSwitch = Ti.UI.createSwitch({\r\n\tvalue : true,\r\n\tright : 10\r\n});\r\n\r\nglobal.eftNameRow.add(global.eftSwitch);\r\n\r\n/*\r\n * Merchant Id\r\n */\r\nglobal.merchantIdRow = Ti.UI.createTableViewRow({\r\n\ttitle : (\"merchant_id\"),\r\n\theader : ' '\r\n});\r\n\r\nglobal.midTf = buildTf(150);\r\nglobal.merchantIdRow.add(global.midTf);\r\n\r\n/*\r\n * Terminal ID\r\n */\r\nglobal.terminalIdRow = Ti.UI.createTableViewRow({\r\n\ttitle : (\"terminal_id\")\r\n});\r\n\r\nglobal.tidTf = buildTf(150);\r\n\r\nglobal.terminalIdRow.add(global.tidTf);\r\n\r\n/*\r\n * Terminal Name\r\n */\r\nglobal.terminalNameRow = Ti.UI.createTableViewRow({\r\n\ttitle : (\"terminal_name\")\r\n});\r\n\r\nglobal.tNameTf = buildTf(150);\r\n\r\nglobal.terminalNameRow.add(global.tNameTf);\r\n\r\n/*\r\n * Bank Name\r\n */\r\nglobal.bankNameRow = Ti.UI.createTableViewRow({\r\n\ttitle : (\"bank_name\")\r\n});\r\n\r\nglobal.bankNameTf = buildTf(150);\r\n\r\nglobal.bankNameRow.add(global.bankNameTf);\r\n\r\n/*\r\n * Operator\r\n */\r\nglobal.opRow = Ti.UI.createTableViewRow({\r\n\ttitle : (\"operator\")\r\n});\r\n\r\nglobal.opTf = buildTf(150);\r\n\r\nglobal.opRow.add(global.opTf);\r\n\r\n/*\r\n * Bank URL\r\n */\r\nglobal.bankUrlRow = Ti.UI.createTableViewRow({\r\n\ttitle : (\"bank_url\")\r\n});\r\n\r\nglobal.bUrlTf = buildTf(150);\r\n\r\nglobal.bankUrlRow.add(global.bUrlTf);\r\n\r\n/*\r\n * Bank Web Access Password\r\n */\r\nglobal.bankWebRow = Ti.UI.createTableViewRow({\r\n\ttitle : (\"bank_web_access_password\"),\r\n\tfont : {\r\n\t\tfontSize : 14,\r\n\t\tfontWeight : \"bold\",\r\n\t\tfontFamily : \"Arial\"\r\n\t}\r\n});\r\n\r\nglobal.webUrlTf = buildTf();\r\n\r\nglobal.bankWebRow.add(global.webUrlTf);\r\n\r\n/*\r\n * Username\r\n */\r\nglobal.usrNameRow = Ti.UI.createTableViewRow({\r\n\ttitle : (\"username\")\r\n});\r\n\r\nglobal.usrTf = buildTf(150);\r\n\r\nglobal.usrNameRow.add(global.usrTf);\r\n\r\n/*\r\n * Password\r\n */\r\nglobal.psdRow = Ti.UI.createTableViewRow({\r\n\ttitle : (\"password\")\r\n});\r\n\r\nglobal.psdTf = buildTf(150);\r\n\r\nglobal.psdRow.add(global.psdTf);\r\n\r\n/*\r\n * Signature Required\r\n */\r\nglobal.signRow = Ti.UI.createTableViewRow({\r\n\ttitle : (\"signature_required\")\r\n});\r\n\r\nglobal.sigTf = buildTf(80);\r\n\r\nglobal.signRow.add(global.sigTf);\r\n\r\n/*\r\n * Test Conn\r\n */\r\nglobal.testConnRow = Ti.UI.createTableViewRow({\r\n\ttitle : (\"test_connection\")\r\n});\r\n\r\nglobal.testBtn = Ti.UI.createButton({\r\n\tright : 10,\r\n\twidth : 40,\r\n\theight : 30,\r\n\ttitle : \"Test\"\r\n});\r\n\r\nglobal.testConnRow.add(global.testBtn);\r\n\r\n/*\r\n * Config\r\n */\r\nglobal.configRow = Ti.UI.createTableViewRow({\r\n});\r\n\r\nglobal.configBtn = Ti.UI.createButton({\r\n\tright : 10,\r\n\twidth : 150,\r\n\theight : 30,\r\n\ttitle : 'Configure Merchant'\r\n});\r\n\r\nglobal.configRow.add(global.configBtn);\r\n\r\ndata.push(global.eftNameRow);\r\ndata.push(global.merchantIdRow);\r\ndata.push(global.terminalIdRow);\r\ndata.push(global.bankNameRow);\r\ndata.push(global.opRow);\r\ndata.push(global.bankUrlRow);\r\ndata.push(global.bankWebRow);\r\ndata.push(global.usrNameRow);\r\ndata.push(global.psdRow);\r\ndata.push(global.signRow);\r\ndata.push(global.testConnRow);\r\ndata.push(global.configRow);\r\n\r\nglobal.table.setData(data);\r\n\r\nfunction buildTable() {\r\n\tvar tableOBJ = Ti.UI.createTableView({\r\n\t\teditable : false,\r\n\t\ttop : 0,\r\n\t\trowHeight : 44\r\n\t});\r\n\r\n\ttableOBJ.style = Titanium.UI.iPhone.TableViewStyle.GROUPED;\r\n\r\n\treturn tableOBJ;\r\n}\r\n\r\nfunction buildTf(width) {\r\n\tvar tfOBJ = Ti.UI.createTextField({\r\n\t\tright : 10,\r\n\t\twidth : 100,\r\n\t\tborderStyle : Titanium.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n\t\tcolor : '#385487',\r\n\t\theight : 30,\r\n\t\tvalue : '687777'\r\n\t});\r\n\r\n\treturn tfOBJ;\r\n}\r\n\r\nwin.add(global.table);\r\nwin.open();\r\n{code}", "attachment": [ { "id": "38582", "filename": "newTest.js", "author": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-16T00:34:15.000+0000", "size": 3717, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "iOS: Controls hidden from the table row when table is scrolling", "creator": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 3.1.0 GA\r\nIOS 6.0\r\n", "comment": { "comments": [ { "id": "252236", "author": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please refer to \n\n[http://developer.appcelerator.com/question/152388/missing-components-in-the-table-when-scrolling]", "updateAuthor": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-16T00:36:46.000+0000", "updated": "2013-05-16T00:36:46.000+0000" }, { "id": "252317", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on iOS 6 simulator with Ti SDK 3.1 GA and 3.2 CI.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-16T18:49:41.000+0000", "updated": "2013-05-16T18:49:41.000+0000" }, { "id": "422263", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170609091155\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-19T18:02:35.000+0000", "updated": "2017-06-19T18:02:35.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }