{ "id": "65957", "key": "TIMOB-4274", "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": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-10-03T18:06:18.000+0000", "created": "2011-06-01T08:46:13.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mdadu", "key": "mdadu", "displayName": "Muhammad Dadu", "active": false, "timeZone": "Europe/London" }, "updated": "2014-11-21T19:21:04.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": "The use of searchHidden:true is losing its value in that once a window containing a table with this property is blurred, on return the search is displayed. Code example below:\n\n{code:lang=javascript|title=app.js}\nTitanium.UI.setBackgroundColor('#fff');\n\nvar tabGroup = Titanium.UI.createTabGroup();\n\nvar win1 = Titanium.UI.createWindow({\n\ttitle:'Tab 1'\n});\nvar tab1 = Titanium.UI.createTab({\n\ttitle:'Tab 1',\n\twindow:win1\n});\n\nvar data = [{\n\ttitle:'row 1'\n}];\n\nvar s1 = Titanium.UI.createSearchBar();\nvar tb = Ti.UI.createTableView({\n\tdata:data,\n\tsearch:s1,\n\tsearchHidden:true\n});\nwin1.add(tb);\n\nvar win2 = Titanium.UI.createWindow({\n\ttitle:'Tab 2'\n});\nvar tab2 = Titanium.UI.createTab({\n\ttitle:'Tab 2',\n\twindow:win2\n});\n\nvar label2 = Titanium.UI.createLabel({\n\ttext:'I am Window 2'\n});\n\nwin2.add(label2);\n\ntabGroup.addTab(tab1);\ntabGroup.addTab(tab2);\n\ntabGroup.open();\n{code}", "attachment": [ { "id": "18606", "filename": "app.js", "author": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-01T09:03:31.000+0000", "size": 656, "mimeType": "text/javascript" } ], "flagged": false, "summary": "iOS: searchHidden value does not stay when window containing scroll view is blurred/focused", "creator": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS at least 1.5 mobile sdk + (1.5 was the oldest I tested, 1.7 was the newest)", "closedSprints": [ { "id": 220, "state": "closed", "name": "2014 Sprint 20 SDK", "startDate": "2014-09-29T22:32:25.224Z", "endDate": "2014-10-13T18:25:00.000Z", "completeDate": "2014-10-13T18:25:45.560Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "326156", "author": { "name": "mdadu", "key": "mdadu", "displayName": "Muhammad Dadu", "active": false, "timeZone": "Europe/London" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/6180\r\n\r\nRefreshes the search controller on focus.", "updateAuthor": { "name": "mdadu", "key": "mdadu", "displayName": "Muhammad Dadu", "active": false, "timeZone": "Europe/London" }, "created": "2014-09-29T19:04:44.000+0000", "updated": "2014-09-29T19:04:59.000+0000" }, { "id": "326948", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nThe searchBar property searchHidden now retains its value after blur & then focus from another window.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.0.201409261245\r\nTi SDK : 3.5.0.v20141003114918\r\nMac OSX : 10.9.4\r\nAlloy : 1.5.1\r\nCLI - 3.4.0\r\nCode Processor: 1.1.1\r\nIphone 6 - IOS 8.0.2", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-03T22:24:58.000+0000", "updated": "2014-10-03T22:24:58.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }