{ "id": "76145", "key": "TIMOB-4591", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-11-11T20:30:16.000+0000", "created": "2011-06-09T11:37:38.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "versions": [], "issuelinks": [ { "id": "33155", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "63342", "key": "TIMOB-2710", "fields": { "summary": "iOS: tableView's index magnifying glass not linked to the searchBar ", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "33671", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "62812", "key": "TIMOB-2180", "fields": { "summary": "iOS: Add search to index scrolling on TableView iOS", "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" } }, "priority": { "name": "Trivial", "id": "5" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T22:35:47.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": "When adding a search icon to the filter/index in a TableView (see screenshot) using {{title:'\\{search\\}'}} as the title, the searchbar isn't focused (which would be expected behaviour) when tapped. Also, the filter/index should be under the searchbar, not on top of it.\r\n\r\n{code:lang=javascript|title=app.js}\r\nTi.UI.setBackgroundColor('#000');\r\n\r\nvar win = Ti.UI.createWindow({\r\n title:'Tableview with Filter',\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar search = Ti.UI.createSearchBar({\r\n hintText:'Search',\r\n showCancel:false\r\n});\r\n\r\nvar data = [];\r\n\r\nfor (var c=0;c<=20;c++) {\r\n data.push({title:\"Row \"+c});\r\n}\r\n\r\nvar indexArray = [\r\n {title:'{search}'},\r\n {title:'A'},\r\n {title:'B'},\r\n {title:'C'},\r\n {title:'D'},\r\n {title:'E'},\r\n {title:'F'},\r\n {title:'G'},\r\n {title:'H'},\r\n {title:'I'},\r\n {title:'K'},\r\n {title:'L'},\r\n {title:'M'},\r\n {title:'N'},\r\n {title:'O'},\r\n {title:'P'},\r\n {title:'Q'},\r\n {title:'R'},\r\n {title:'S'},\r\n {title:'T'},\r\n {title:'U'},\r\n {title:'V'},\r\n {title:'W'}\r\n];\r\n\r\nvar tableview = Ti.UI.createTableView({\r\n search:search,\r\n data:data,\r\n index:indexArray\r\n});\r\nwin.add(tableview);\r\n\r\nwin.open();\r\n{code}", "attachment": [ { "id": "21050", "filename": "search.png", "author": { "name": "vortex", "key": "vortex", "displayName": "Doney den Ouden", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-06-09T11:37:38.000+0000", "size": 48391, "mimeType": "image/png" }, { "id": "21455", "filename": "Search.zip", "author": { "name": "vortex", "key": "vortex", "displayName": "Doney den Ouden", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-06-25T04:32:41.000+0000", "size": 1578228, "mimeType": "application/zip" } ], "flagged": false, "summary": "Search icon in filter doesn't show searchbar on tap", "creator": { "name": "vortex", "key": "vortex", "displayName": "Doney den Ouden", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "vortex", "key": "vortex", "displayName": "Doney den Ouden", "active": true, "timeZone": "Europe/Berlin" }, "environment": "* Same results in iOS 4.3 and iOS5\r\n* Using Titanium Developer\r\n* Titanium Mobile SDK 1.7.0, Build date: June 25th 2011 13:30\r\n* Tested on both device and simulator", "comment": { "comments": [ { "id": "156639", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "In order for us to progress this issue, please edit your ticket to include a proper [Use-case|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-CreatingGoodUsecases].\r\n\r\nState your environment, including whether you have tested on device or simulator, Titanium SDK version + build date + commit hash, and the iOS version.\r\n\r\nAlso kindly read the [Submitting Bug Reports|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-SubmittingBugReports] guide before raising tickets.\r\n\r\nThank you\r\n\r\n", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-06-13T15:32:24.000+0000", "updated": "2011-06-13T15:32:24.000+0000" }, { "id": "157779", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "No response from user", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-06-25T03:57:55.000+0000", "updated": "2011-06-25T03:57:55.000+0000" }, { "id": "157783", "author": { "name": "vortex", "key": "vortex", "displayName": "Doney den Ouden", "active": true, "timeZone": "Europe/Berlin" }, "body": "Excuse me for replying so late, in all honesty I forgot to reply. Added more info and a test case. I'm not sure about committing the hash you asked for.", "updateAuthor": { "name": "vortex", "key": "vortex", "displayName": "Doney den Ouden", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-06-25T04:32:41.000+0000", "updated": "2011-06-25T04:32:41.000+0000" }, { "id": "158542", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Doney\r\n\r\nWould you please state where you have seen an official example of the index property used in this way? If it's a valid use, then we need to know in order to get it documented.\r\n\r\nOnce we have established that, we can take this further.\r\n\r\nThanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-07-05T13:11:43.000+0000", "updated": "2011-07-05T13:11:43.000+0000" }, { "id": "158543", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "btw, please don't attach a whole project for such a simple usecase. A simple code block will suffice. Thanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-07-05T13:12:38.000+0000", "updated": "2011-07-05T13:12:38.000+0000" }, { "id": "158564", "author": { "name": "vortex", "key": "vortex", "displayName": "Doney den Ouden", "active": true, "timeZone": "Europe/Berlin" }, "body": "Here is an example of official use. Apple uses it in first party apps like the Contacts and iPod apps:\r\nhttp://cl.ly/2H2g0D2U2s0k3u24460p", "updateAuthor": { "name": "vortex", "key": "vortex", "displayName": "Doney den Ouden", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-07-05T13:55:45.000+0000", "updated": "2011-07-05T13:55:45.000+0000" }, { "id": "158571", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Doney\r\n\r\nOK, but bear in mind that not all Apple features are necessarily supported by Titanium, although our aim is to get close to total coverage.\r\n\r\nOne member of our team, Pedro, has actually done some work on this, after discovering a problem with the function himself. \r\n\r\nSee his fixed [TiUITableView.m|https://gist.github.com/fcee08050552fe9a7017] file, where lines 1798 to 1802 of the original have been modified.\r\n\r\nPedro suggests testing it with [this usecase|https://gist.github.com/912054].\r\n\r\nMoving this ticket to TIMOB project to action fix.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-07-05T14:52:59.000+0000", "updated": "2011-07-05T15:20:31.000+0000" }, { "id": "158579", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Note that a request to add information to the APIDocs about the index function has been made at TIMOB-4592", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-07-05T15:21:40.000+0000", "updated": "2011-07-05T15:21:40.000+0000" }, { "id": "279005", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-11T20:30:16.000+0000", "updated": "2013-11-11T20:30:16.000+0000" }, { "id": "414134", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T22:35:47.000+0000", "updated": "2017-03-20T22:35:47.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }