{ "id": "126384", "key": "TIMOB-16463", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-08-20T04:31:40.000+0000", "created": "2014-02-13T20:17:42.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "listview", "module_listview", "orientation", "qe-closed-3.4.0", "qe-manualtest", "qe-testadded", "searchbar" ], "versions": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-12-16T08:40:13.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": "Certain actions make the searchbar disappear. The easiest to reproduce is changing the device orientation when the searchbar is off screen (so when you have scrolled down a bit).\r\nAnother way, for which I cannot easily create a piece of reproducing code, is if you update the data of a listview by simply assigning the sections again.\r\n\r\nThe attached video shows the searchbar disappearing after rotating the device.\r\n\r\n{code}\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\n// create tab group\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\n\r\n\r\n//\r\n// create base UI tab and root window\r\n//\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab1 = Titanium.UI.createTab({ \r\n icon:'KS_nav_views.png',\r\n title:'Tab 1',\r\n window:win1\r\n});\r\n\r\n\tvar search = Ti.UI.createSearchBar({\r\n\t\tbarColor: '#FFFFFF',\r\n\t\tborderColor: 'white'\r\n\t});\r\n\tsearch.addEventListener('cancel', function() {\r\n\t\tsearch.blur();\r\n\t});\r\n\r\n\tvar listView = Ti.UI.createListView({\r\n\t\tsearchView: search,\r\n\t\ttop: 10\r\n\t});\r\n\r\n\tvar sections = [];\r\n\t\r\n\tvar fruitSection = Ti.UI.createListSection({ headerTitle: 'Group 1'});\r\n\tvar fruitDataSet = [\r\n\t {properties: { title: 'Item 1'}},\r\n\t {properties: { title: 'Item 2'}},\r\n\t {properties: { title: 'Item 3'}},\r\n\t {properties: { title: 'Item 4'}},\r\n\t {properties: { title: 'Item 5'}},\r\n\t {properties: { title: 'Item 6'}},\r\n\t {properties: { title: 'Item 7'}},\r\n\t {properties: { title: 'Item 8'}},\r\n\t];\r\n\tfruitSection.setItems(fruitDataSet);\r\n\tsections.push(fruitSection);\r\n\t\r\n\tvar vegSection = Ti.UI.createListSection({ headerTitle: 'Group 2'});\r\n\tvar vegDataSet = [\r\n\t {properties: { title: 'Test 1'}},\r\n\t {properties: { title: 'Test 2'}},\r\n\t {properties: { title: 'Test 3'}},\r\n\t {properties: { title: 'Test 4'}},\r\n\t {properties: { title: 'Test 5'}},\r\n\t {properties: { title: 'Test 6'}},\r\n\t {properties: { title: 'Test 7'}},\r\n\t {properties: { title: 'Test 8'}},\r\n\t];\r\n\tvegSection.setItems(vegDataSet);\r\n\tsections.push(vegSection);\r\n\t\r\n\tlistView.sections = sections;\r\n\r\n\twin1.add(listView);\r\n\r\n//\r\n// create controls tab and root window\r\n//\r\nvar win2 = Titanium.UI.createWindow({ \r\n title:'Tab 2',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab2 = Titanium.UI.createTab({ \r\n icon:'KS_nav_ui.png',\r\n title:'Tab 2',\r\n window:win2\r\n});\r\n\r\nvar label2 = Titanium.UI.createLabel({\r\n\tcolor:'#999',\r\n\ttext:'I am Window 2',\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:'auto'\r\n});\r\n\r\nwin2.add(label2);\r\n\r\n\r\n\r\n//\r\n// add tabs\r\n//\r\ntabGroup.addTab(tab1); \r\ntabGroup.addTab(tab2); \r\n\r\n\r\n// open tab group\r\ntabGroup.open();\r\n{code}", "attachment": [ { "id": "45902", "filename": "searchbar_disappears.mov", "author": { "name": "martijnkooij", "key": "martijnkooij", "displayName": "Martijn Kooij", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-02-13T20:17:42.000+0000", "size": 4538371, "mimeType": "video/quicktime" } ], "flagged": false, "summary": "iOS: Search bar disappears in some cases", "creator": { "name": "martijnkooij", "key": "martijnkooij", "displayName": "Martijn Kooij", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "martijnkooij", "key": "martijnkooij", "displayName": "Martijn Kooij", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "293145", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as I can reproduce this issue with 3.2.1 release. Please see the attached video for reference.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-14T07:59:22.000+0000", "updated": "2014-02-14T07:59:22.000+0000" }, { "id": "296231", "author": { "name": "martijnkooij", "key": "martijnkooij", "displayName": "Martijn Kooij", "active": true, "timeZone": "Europe/Berlin" }, "body": "Would it be possible to explain the rules you guys use for user interface breaking bugs such as this one? How is this issue classified? Or, in other words... When will it be fixed because I am holding back my big moving from tableviews to listviews update because of this one (and others as well, but this is the most important one as it easily breaks a basic feature).\r\n\r\nThanks.", "updateAuthor": { "name": "martijnkooij", "key": "martijnkooij", "displayName": "Martijn Kooij", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-03-08T15:28:57.000+0000", "updated": "2014-03-08T15:28:57.000+0000" }, { "id": "298468", "author": { "name": "martijnkooij", "key": "martijnkooij", "displayName": "Martijn Kooij", "active": true, "timeZone": "Europe/Berlin" }, "body": "Please? Pretty please? Please pretty please with sugar on top?", "updateAuthor": { "name": "martijnkooij", "key": "martijnkooij", "displayName": "Martijn Kooij", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-03-24T19:56:40.000+0000", "updated": "2014-03-24T19:56:40.000+0000" }, { "id": "318389", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue cannot reproduces on SDK version 3.4.0\r\nTitanium Command-Line Interface, \r\nCLI version 3.3.0, \r\nTitanium SDK version 3.4.0.GA \r\niOS SDK: 7.1 \r\niOS iPhone Simulator: 7.1", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-13T06:44:16.000+0000", "updated": "2014-08-18T10:21:58.000+0000" }, { "id": "318466", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~shameerj] and [~sunila]. We should test this in 3.2.1 and 3.4.0 (latest master).\r\n\r\n* If it cannot be reproduced in 3.2.1, then mark as Can't Reproduce, with no fix version\r\n* If it can be reproduced in 3.2.1 but not in 3.4.0, mark as Fixed in 3.4.0\r\n\r\nReopening.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-13T16:50:21.000+0000", "updated": "2014-08-13T16:50:21.000+0000" }, { "id": "318663", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I see no justification this should have ben re-resolved. See my comments above, follow those instructions, and then report your updated findings.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-14T16:11:31.000+0000", "updated": "2014-08-14T16:11:31.000+0000" }, { "id": "319047", "author": { "name": "martijnkooij", "key": "martijnkooij", "displayName": "Martijn Kooij", "active": true, "timeZone": "Europe/Berlin" }, "body": "I can confirm, I can no longer reproduce the original issue using the latest 3.4.0 build (august 15.).", "updateAuthor": { "name": "martijnkooij", "key": "martijnkooij", "displayName": "Martijn Kooij", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-08-18T11:01:56.000+0000", "updated": "2014-08-18T11:01:56.000+0000" }, { "id": "319419", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces on SDK version 3.2.1 \r\nCannot reproduces on SDK version 3.4.0\r\n\r\nTitanium Command-Line Interface, \r\nCLI version 3.3.0, \r\nTitanium SDK version 3.4.0.GA \r\nTitanium SDK version 3.2.1.GA \r\n\r\niOS SDK: 7.1 \r\niOS iPhone Simulator: 7.1", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-20T04:30:47.000+0000", "updated": "2014-08-20T04:38:00.000+0000" }, { "id": "319432", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified with:\r\n\r\nAppcelerator Studio:3.4.0.201408180158\r\nSdk:3.4.0.v20140819094113\r\nalloy:1.5.0-dev\r\ntitanium:3.4.0-dev\r\ntitanium-code-processor:1.1.1\r\nacs:1.0.16\r\nnpm:1.3.2\r\nOS:Maverick(10.9.4)\r\nxcode: Xcode6Beta5\r\nDevice:iPhone5s(v8.0)\r\n\r\nSearch bar does not disappears on changing orientation.\r\nWorking as expected.\r\nHence closing the issue", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-20T08:26:34.000+0000", "updated": "2014-08-20T08:26:34.000+0000" }, { "id": "336547", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Still seeing this in 3.4.1.GA", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-12-16T08:40:13.000+0000", "updated": "2014-12-16T08:40:13.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }