{ "id": "79120", "key": "TIMOB-4978", "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": "15108", "description": "2013 Sprint 10", "name": "2013 Sprint 10", "archived": true, "released": true, "releaseDate": "2013-05-20" } ], "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": "2013-05-09T05:13:03.000+0000", "created": "2011-08-10T13:43:00.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" }, { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T22:22:03.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": "Searching a tableView with a searchBar is very sluggish when you add images to the tableView rows. If you remove the images from the rows it searches smoothly as expected. This behavior is much more obvious on a device than on the simulator.\r\n\r\nStep 1: run the code below\r\nStep 2: pull down on the tableView to see the searchBar\r\nStep 3: enter some text into the searchBar\r\nStep 4: notice that entering text into the searchBar is very sluggish\r\nStep 5: remove the images from the rows\r\nStep 6: notice that searching is no longer sluggish\r\n\r\n{code:title=\"app.js\"}\r\nvar win = Titanium.UI.createWindow();\r\nwin.open();\r\n\r\nvar data = [];\r\n\r\nfor (var i=0; i < 200; i++) {\r\n data[i] = Ti.UI.createTableViewRow({\r\n\t \thasChild:true,\r\n\t \ttitle:'Row '+i,\r\n\t \trightImage: 'KS_nav_ui.png',\r\n\t \tleftImage: 'KS_nav_views.png' \r\n \t});\r\n};\r\n\r\nvar search = Titanium.UI.createSearchBar({\r\n\tbarColor:'#385292',\r\n\tshowCancel:false,\r\n\thintText:'search'\r\n});\r\nsearch.addEventListener('return', function(e)\r\n{\r\nsearch.blur();\r\n});\r\nsearch.addEventListener('cancel', function(e)\r\n{\r\nsearch.blur();\r\n});\r\n\r\n// create table view\r\nvar tableview = Titanium.UI.createTableView({\r\n\tdata:data,\r\n\tsearch:search,\r\n\tsearchHidden:true\r\n});\r\n\r\nwin.add(tableview);\r\n{code}\r\n\r\nh4. Associated Helpdesk Ticket\r\nhttp://appc.me/c/APP-341164", "attachment": [], "flagged": false, "summary": "iOS: searchBar performance degraded when images are added to tableView rows", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 1.7.2\r\niPhone 4 w/ iOS 4.3.2", "comment": { "comments": [ { "id": "202992", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested with an iPhone 3GS using 2.1GA, issue still reproducible.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-07-12T12:36:32.000+0000", "updated": "2012-07-12T12:36:32.000+0000" }, { "id": "250942", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "cannot reproduce\r\n\r\nTested with\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0\r\niOS iPhone Simulator: iOS SDK version: 6.0", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-09T05:13:03.000+0000", "updated": "2013-05-09T05:13:03.000+0000" }, { "id": "258706", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces\n\nTested with\n\niOS SDK: 5.1\niOS iPhone Simulator: 5.1\nMac OS X Version 10.7.5\nTitanium SDK version 3.1.1.v20130606121419\nTitanium Studio, build: 3.0.1.201212181159\n", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-20T09:36:08.000+0000", "updated": "2013-06-20T09:36:08.000+0000" }, { "id": "414569", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced and due to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T22:22:03.000+0000", "updated": "2017-03-21T22:22:03.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }