{ "id": "172559", "key": "TIMOB-26521", "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": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" }, { "id": "20429", "name": "Release 7.5.1", "archived": false, "released": true, "releaseDate": "2019-02-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-02-27T00:08:48.000+0000", "created": "2018-11-05T19:37:16.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "listView", "popover", "search" ], "versions": [], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-02-27T00:08:51.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": "15103", "name": "iPad", "description": "iPad support" } ], "description": "Issue :-1\r\n* Issue description - The popover UI has shrunk and also lines are not visible in between few rows\r\n* Screen shot showing the issue – PFA Issue_1.png and Issue_1_screenshot.png\r\n* Sample app code – PFA Sample_APP.zip\r\n\r\nIssue :-2\r\n\r\n* Issue description - On searching an item in search bar and selecting a row the, popover stays with blank white background instead of disappearing\r\n* Screen shot showing the issue – PFA Issue_2.png\r\n* Sample app code – PFA Sample_APP.zip", "attachment": [ { "id": "65846", "filename": "Health_Condition.png", "author": { "name": "fhaque", "key": "fhaque", "displayName": "Fazlul Haque", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-11-12T16:15:17.000+0000", "size": 725562, "mimeType": "image/png" }, { "id": "65811", "filename": "Issue_1_screenshot.png", "author": { "name": "rislam", "key": "rislam", "displayName": "Riduanul Islam", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-05T19:33:45.000+0000", "size": 250389, "mimeType": "image/png" }, { "id": "65812", "filename": "Issue_1.png", "author": { "name": "rislam", "key": "rislam", "displayName": "Riduanul Islam", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-05T19:33:45.000+0000", "size": 255871, "mimeType": "image/png" }, { "id": "65810", "filename": "Issue_2.png", "author": { "name": "rislam", "key": "rislam", "displayName": "Riduanul Islam", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-05T19:33:44.000+0000", "size": 234289, "mimeType": "image/png" }, { "id": "65847", "filename": "RC.png", "author": { "name": "fhaque", "key": "fhaque", "displayName": "Fazlul Haque", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-11-12T16:15:17.000+0000", "size": 893678, "mimeType": "image/png" }, { "id": "65813", "filename": "Sample_APP.zip", "author": { "name": "rislam", "key": "rislam", "displayName": "Riduanul Islam", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-05T19:31:47.000+0000", "size": 8507571, "mimeType": "application/zip" }, { "id": "65925", "filename": "Screen_Shot_2018-11-21_at_1.42.13_PM.png", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-11-29T05:45:34.000+0000", "size": 367590, "mimeType": "image/png" }, { "id": "65939", "filename": "widget.js", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-03T07:20:39.000+0000", "size": 4371, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "iOS: The popover UI has shrunk and also lines are not visible in between few rows on iPad", "creator": { "name": "rislam", "key": "rislam", "displayName": "Riduanul Islam", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rislam", "key": "rislam", "displayName": "Riduanul Islam", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Test Environment: Appcelerator Command-Line Interface, version 7.0.7\r\nTi SDK: 7.4.1.GA\r\niOS Simulator: iPad Air 2 (iOS 12)\r\n\r\nOperating System\r\nName = Mac OS X\r\nVersion = 10.13.6\r\nArchitecture = 64bit\r\n# CPUs = 4\r\nMemory = 8589934592\r\nNode.js\r\nNode.js Version = 8.9.1\r\nnpm Version = 5.5.1\r\nTitanium CLI\r\nCLI Version = 5.1.1", "closedSprints": [ { "id": 1095, "state": "closed", "name": "2018 Sprint 24", "startDate": "2018-11-19T05:35:58.310Z", "endDate": "2018-12-03T05:35:00.000Z", "completeDate": "2018-12-03T16:28:57.549Z", "originBoardId": 114 }, { "id": 1103, "state": "closed", "name": "2018 Sprint 25", "startDate": "2018-12-02T16:29:21.531Z", "endDate": "2018-12-16T16:29:00.000Z", "completeDate": "2018-12-15T02:33:24.870Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "443355", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~rislam] \r\nIssue1 - I think you are not seeing the iPad screen in full size. Test it on device.\r\nIssue2 - This is issue. Simple test case -\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\n\r\nvar button = Ti.UI.createButton({title: 'Open Popover!', top : 100});\r\nbutton.addEventListener('click', function(e){\r\n popover.show({ view: button });\r\n})\r\nwin.add(button);\r\n\r\nvar contentWindow = Ti.UI.createWindow({\r\n width : Ti.UI.SIZE,\r\n height : Ti.UI.SIZE,\r\n borderColor : '#CCC'\r\n});\r\n\r\nvar rows = [];\r\n for (var i = 0; i < 4; i++) {\r\n var title = i ? 'Row '+ i : 'Close Window'\r\n rows.push({ properties: { title:title , backgroundColor: 'red', searchableText:title}});\r\n }\r\n\r\n var sb = Ti.UI.createSearchBar();\r\n \r\n var ls = Ti.UI.createListSection({\r\n items: rows\r\n });\r\n var lv = Ti.UI.createListView({\r\n sections: [ls],\r\n searchView: sb,\r\n });\r\n\r\n lv.addEventListener('itemclick', function(e) {\r\n Ti.API.info('click at index: ' + e.itemIndex);\r\n popover.hide();\r\n});\r\n\r\ncontentWindow.add(lv);\r\n\r\nvar popover = Ti.UI.iPad.createPopover({\r\n width: 400,\r\n height: 220,\r\n backgroundColor: 'green',\r\n contentView: contentWindow\r\n});\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-07T09:17:29.000+0000", "updated": "2018-11-07T09:17:29.000+0000" }, { "id": "443480", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~rislam] There are following 2 workaround. Check with customer which suits them-\r\n\r\n1. Use Ti.UI.iOS.NavigationWindow instead of Ti.UI.Window for property \"contentView\" of popover. \r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\n \r\nvar button = Ti.UI.createButton({title: 'Open Popover!', top : 100});\r\nbutton.addEventListener('click', function(e){\r\n popover.show({ view: button });\r\n})\r\nwin.add(button);\r\n \r\nvar contentWindow = Ti.UI.createWindow({\r\n width : Ti.UI.SIZE,\r\n height : Ti.UI.SIZE,\r\n borderColor : '#CCC'\r\n});\r\n \r\nvar rows = [];\r\n for (var i = 0; i < 4; i++) {\r\n var title = 'Row '+ i;\r\n rows.push({ properties: { title:title , backgroundColor: 'red', searchableText:title}});\r\n }\r\n \r\n var sb = Ti.UI.createSearchBar();\r\n \r\n var ls = Ti.UI.createListSection({\r\n items: rows\r\n });\r\n var lv = Ti.UI.createListView({\r\n sections: [ls],\r\n searchView: sb,\r\n });\r\n \r\n lv.addEventListener('itemclick', function(e) {\r\n Ti.API.info('click at index: ' + e.itemIndex);\r\n popover.hide();\r\n});\r\n \r\ncontentWindow.add(lv);\r\nvar navWindow = Ti.UI.iOS.createNavigationWindow({window: contentWindow})\r\n \r\nvar popover = Ti.UI.iPad.createPopover({\r\n width: 400,\r\n height: 220,\r\n backgroundColor: 'green',\r\n contentView: navWindow\r\n});\r\nwin.open();\r\n{code}\r\n\r\n\r\n2. Use Ti.UI.SearchBar as subview of window rather property of Ti.UI.ListView\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\n \r\nvar button = Ti.UI.createButton({title: 'Open Popover!', top : 100});\r\nbutton.addEventListener('click', function(e){\r\n popover.show({ view: button });\r\n})\r\nwin.add(button);\r\n \r\nvar contentWindow = Ti.UI.createWindow({\r\n width : Ti.UI.SIZE,\r\n height : Ti.UI.SIZE,\r\n borderColor : '#CCC'\r\n});\r\n \r\nvar rows = [];\r\n for (var i = 0; i < 4; i++) {\r\n var title = 'Row '+ i;\r\n rows.push({ properties: { title:title , backgroundColor: 'red', searchableText:title}});\r\n }\r\n \r\n var sb = Ti.UI.createSearchBar({\r\n top:0,\r\n height:44,\r\n barColor:'green',\r\n showCancel: true,\r\n });\r\n \r\n var ls = Ti.UI.createListSection({\r\n items: rows\r\n });\r\n var lv = Ti.UI.createListView({\r\n top: 45,\r\n sections: [ls]\r\n });\r\n \r\n sb.addEventListener('change', function(e){\r\n lv.searchText = e.value;\r\n });\r\n\r\n lv.addEventListener('itemclick', function(e) {\r\n Ti.API.info('click at index: ' + e.itemIndex);\r\n popover.hide();\r\n});\r\n \r\ncontentWindow.add(sb); \r\ncontentWindow.add(lv);\r\n \r\nvar popover = Ti.UI.iPad.createPopover({\r\n width: 400,\r\n height: 220,\r\n backgroundColor: 'green',\r\n contentView: contentWindow\r\n});\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-12T04:00:49.000+0000", "updated": "2018-11-12T04:05:33.000+0000" }, { "id": "443500", "author": { "name": "fhaque", "key": "fhaque", "displayName": "Fazlul Haque", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello [~vijaysingh], We have some update from the Customer here. The customer replied:\r\n\r\n#1: We tested the issue on iPad and can replicate it. Please see attachments !Health_Condition.png|thumbnail! !RC.png|thumbnail! . \r\n#2: Thanks for the work around. However, we have 70+ screens and all are form fields that heavily use these drop downs. Making a workaround in all the fields isn't a feasible option for us. Can we have a fix for the issue along with an updated SDK?\r\n\r\nThanks", "updateAuthor": { "name": "fhaque", "key": "fhaque", "displayName": "Fazlul Haque", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-11-12T16:15:45.000+0000", "updated": "2018-11-12T16:15:45.000+0000" }, { "id": "443716", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "[~vijaysingh], Can you check out the customer last update? The first issue still persists with the real device and he needs a fixed SDK for the second issue.\r\n\r\nThanks!", "updateAuthor": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-11-17T01:57:02.000+0000", "updated": "2018-11-17T01:57:02.000+0000" }, { "id": "443741", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~morahman] \r\n1. If first issue mean that row height of table view is less, then use 'height' property of row in rowTemplate. e.g. -\r\n\r\n{code:java}\r\n\t\t\tvar rowTemplate = {\r\n\t\t\t\tproperties: { \r\n\t\t\t\t\tbackgroundColor : '#dbdbdb',\r\n\t\t\t\t\theight: 44 // Row height\r\n\t\t\t\t},\r\n\t\t\t\tchildTemplates: [\r\n\t\t\t { // Title \r\n\t\t\t type: 'Ti.UI.Label', // Use a label for the title \r\n\t\t\t bindId: 'title', // Maps to a custom info property of the item data\r\n\t\t\t properties: { // Sets the label properties\r\n\t\t\t\t\t\t\twidth: Ti.UI.FILL,\r\n\t\t\t\t\t\t\theigth: Ti.UI.FILL,\r\n\t\t\t\t\t\t\tleft: 16\r\n\t\t\t }\r\n\t\t\t }\r\n\t\t\t ]\r\n\t\t\t};\r\n{code}\r\n\r\n2. On second issue we are still working on. \r\n ", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-19T11:25:05.000+0000", "updated": "2018-11-19T11:25:05.000+0000" }, { "id": "443770", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR - https://github.com/appcelerator/titanium_mobile/pull/10481", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-20T07:25:09.000+0000", "updated": "2018-11-20T07:25:09.000+0000" }, { "id": "444028", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "\r\n\r\nHello,\r\n\r\nFeed back from the customer:\r\n{code}\r\n\r\nFor issue #1, the issue is resolved. However, the Navigation window is not accepting the height property Ti.UI.SIZE and Ti.UI.FILL .\r\n{code}\r\n\r\nAsking the customer to share a screenshot which displays the issue. Will be back here soon.\r\n\r\nThanks\r\n", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-11-29T04:16:15.000+0000", "updated": "2018-11-29T04:16:15.000+0000" }, { "id": "444030", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~vijaysingh], Attached the image provided by the customer. Can you please review? The Navigation window is not accepting the height property Ti.UI.SIZE and Ti.UI.FILL.", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-11-29T05:47:29.000+0000", "updated": "2018-11-29T05:47:29.000+0000" }, { "id": "444546", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket, fix verified in SDK version: 8.0.0.v20181212023313\r\n\r\nTest and other information can be found at: \r\nhttps://github.com/appcelerator/titanium_mobile/pull/10481\r\n\r\nIf customer is till facing issues please feel free to reopen the ticket. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-12T11:47:01.000+0000", "updated": "2018-12-12T11:47:01.000+0000" }, { "id": "446343", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "7_5_X: https://github.com/appcelerator/titanium_mobile/pull/10721", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-02-27T00:07:53.000+0000", "updated": "2019-02-27T00:07:53.000+0000" } ], "maxResults": 18, "total": 18, "startAt": 0 } } }