{ "id": "119816", "key": "TIMOB-15124", "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": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "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": "2015-04-13T16:20:32.000+0000", "created": "2013-09-12T11:31:21.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios7", "popover", "qe-closed-3.3.0", "qe-testadded", "supportTeam" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-04-13T16:20:38.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": "h2. Description\r\nI have a Popover Control, inside it contains a TableView. When the TableView shifts up, it rolls over popup window's title bar.\r\n\r\nh2. Test Code\r\n{code}\r\nvar self = Ti.UI.createWindow({\r\n\t\ttitle:'title',\r\n\t\tbackgroundColor:'purple'\r\n\t});\r\n\t\r\n\tvar v = Ti.UI.createView();\t\r\n\t\r\n\tvar button = Ti.UI.createButton({\r\n\t\theight:44,\r\n\t\twidth:200,\r\n\t\ttitle:L('openWindow'),\r\n\t\ttop:20\r\n\t});\r\n\tbutton.add(v);\r\n\t\r\n\tself.add(button);\r\n\t\r\n\tbutton.addEventListener('click', function() {\r\n\t\t\r\n\t\tvar i = 0;\r\n\t\tvar rows = [];\r\n\t\tfor (i = 0; i < 20; i++) {\r\n\t\t\tvar tablerow = Ti.UI.createTableViewRow({\r\n\t\t\t\theight: 70,\r\n\t\t\t\tclassName: 'itemRow',\r\n\t\t\t\thasChild: true\r\n\t\t\t});\r\n\t\t\tvar imageview = Ti.UI.createImageView({\r\n\t\t\t\timage: \"imageUrl.jpg\",\r\n\t\t\t\theight: 36, \r\n\t\t\t\twidth: 36, \r\n\t\t\t\tleft: 5,\r\n\t\t\t\ttop: 17\r\n\t\t\t});\r\n\t\t\tvar titleview = Ti.UI.createLabel({\r\n\t\t\t\ttext: i,\r\n\t\t\t\tcolor: '#000',\r\n\t\t\t\theight: 65,\r\n\t\t\t\tfont: {\r\n\t\t\t\t\tfontSize: 15\r\n\t\t\t\t},\r\n\t\t\t\tleft: imageview.width + 10\r\n\t\t\t});\r\n\t\t\r\n\t\t\ttablerow.add(imageview);\r\n\t\t\ttablerow.add(titleview);\t\r\n\t\t\r\n\t\t\trows.push(tablerow);\r\n\t\t}\r\n\t\t\t\r\n\t\tvar searchBar = Ti.UI.createSearchBar ( { top: 0,\r\n\t\t\t\t\t\t\t\t\t\t\t \t height: 44,\r\n\t\t\t\t\t\t\t\t\t\t\t hintText: \"Filter this list\" } );\r\n\t\t\t\t\t\t\t\t\r\n\t\t\r\n\t\tvar properties = {\r\n\t\t\t\tdata: rows,\r\n\t\t\t\tscrollable: true,\r\n\t\t\t\tsearch: searchBar,\r\n\t\t\t\tsearchHidden: false, // Show by default.\r\n\t\t\t\tfilterAttribute: \"title\"\t\t\t\t \r\n\t\t};\r\n\t\t\r\n\r\n\t\tvar tableView = Ti.UI.createTableView(properties);\r\n\r\n\t\t\r\n\t\tvar popoverHeight = 500;\r\n\t\tvar popoverWidth = 270;\r\n\t\r\n\t\t\r\n\t\t\r\n\t\tvar arrowDirections = Ti.UI.iPad.POPOVER_ARROW_DIRECTION_LEFT;\r\n\t\r\n\t\t\r\n\t\tvar popover = Ti.UI.iPad.createPopover ( { \r\n\t\t\t\twidth: popoverWidth,\r\n\t\t\t\theight: popoverHeight,\r\n\t\t\t\ttitle: \"popoverTitle\",\r\n\t\t\t\tarrowDirection: arrowDirections,\r\n\t\t\t\tnavBarHidden: false,\r\n\t\t\t\tborderColor: \"black\",\r\n\t\t\t\topacity: 1,\r\n\t\t\t\tbackgroundColor: 'purple'\r\n\t\t\t});\r\n\t\tpopover.add(tableView);\r\n\t\t\t\r\n\r\n\t popover.show ( {view: v} ); \t\r\n\t \r\n\r\n\t\t\r\n\t});\r\n\t\r\nself.open();\r\n\r\n{code}", "attachment": [ { "id": "45752", "filename": "iOS Simulator Screen shot Feb 10, 2014 2.48.09 PM.png", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2014-02-10T08:50:05.000+0000", "size": 78624, "mimeType": "image/png" }, { "id": "42422", "filename": "iOS Simulator Screen shot Sep 12, 2013 5.14.39 PM.png", "author": { "name": "rsharma", "key": "rsharma", "displayName": "Rupesh Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-12T11:45:07.000+0000", "size": 220946, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS7: Popover title covers tableview when keyboard opened", "creator": { "name": "rsharma", "key": "rsharma", "displayName": "Rupesh Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rsharma", "key": "rsharma", "displayName": "Rupesh Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 7, TI SDK 3.2.0.GA", "comment": { "comments": [ { "id": "270970", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This is happening because the navigationBar in iOS7 is translucent and the tableView is sliding underneath it but showing through. On earlier versions the navigationBar is not translucent. Unfortunately setting translucent to false or setting a barColor for the navigation bar does not seem to work when inside a popover controller. Also it is not us scrolling the tableView but rather the popover controller doing it automatically.\n\nThis is not going to be fixed in the 3.1.3 timeframe. Removing the label.\n\nA simple workaround is to set a smaller height when search gets focus\n\n{code}\n searchBar.addEventListener('focus',function(){\n if(landscape){popover.setHeight(300)};\n })\n \n searchBar.addEventListener('blur',function(){\n popover.setHeight(500);\n })\n{code}\n\n", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-12T22:21:14.000+0000", "updated": "2013-09-12T22:21:14.000+0000" }, { "id": "301897", "body": "This issue was previously scheduled to be worked on in more than one sprint:\r\n* 'Release 3.1.2' (on board '3.1.X Triage')\r\n* 'Release 3.0.1/TS 3.0.2' (on board '3.1.0 Triage')\r\n* 'Release 3.3.0' (on board '3.2.X Triage')\r\n\r\nStarting from JIRA Agile 6.3, an issue can only belong to a single future sprint. Read more about this change: http://docs.atlassian.com/agile/docs-0630/Sprint+Marker+Migration\r\n\r\nThis issue is now scheduled for future sprint 'Release 3.1.2' (on board '3.1.X Triage').\r\n\r\nIf this is incorrect, please update the issue accordingly.\r\n\r\nThis comment was automatically generated by JIRA. If it is no longer relevant, please feel free to delete it.", "created": "2014-04-21T15:32:17.000+0000", "updated": "2014-04-21T15:32:17.000+0000" }, { "id": "302781", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and cannot reproduce the originally reported issue with:\r\nMac osx 10.9.2 Mavericks\r\nAppcelerator Studio, build: 3.3.0.201404221437\r\nTitanium SDK, build: 3.3.0.v20140425191906\r\nNode.JS Version: v0.10.13\r\nNPM Version: 1.3.2\r\n├── acs@1.0.14\r\n├── alloy@1.4.0-dev\r\n├── npm@1.3.2\r\n├── titanium@3.3.0-dev\r\n└── titanium-code-processor@1.1.1-beta1\r\nDevice:\r\niPad mini iOS 7.0.3", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-28T19:58:45.000+0000", "updated": "2014-04-28T19:58:45.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }