{ "id": "164463", "key": "TIMOB-24126", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-01-28T04:33:35.000+0000", "created": "2016-11-09T14:53:33.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "eng-priority", "parity", "qe-6.0.0" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "issuelinks": [ { "id": "53763", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "164906", "key": "ALOY-1532", "fields": { "summary": "Windows: SearchBar (inside ListView) is not working well for alloy project", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-02-06T18:46: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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen setting a searchbar to the search property of a tableview or a listview Android and iOS will add the searchbar to the view for a user.\r\n\r\n{code}\r\nvar _window = Ti.UI.createWindow();\r\nvar searchBar = Ti.UI.createSearchBar({\r\n});\r\n\r\nvar tableView = Ti.UI.createTableView({\r\n search: searchBar,\r\n data: [{title: 'Test1'}, {title: 'Test2'}]\r\n});\r\n_window.add(tableView);\r\n_window.open();\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n# Add the above code to an existing app.js\r\n# Build for Windows platform\r\n\r\nh5.Actual result\r\n\r\nSearchview is not added to the view unless a developer explicitly does so\r\n\r\nh5.Expected result\r\n\r\nSearchview should be added to the view when added to a tableview/listview", "attachment": [ { "id": "61454", "filename": "6.1.0.v20170202120400.PNG", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-02-06T18:18:10.000+0000", "size": 29240, "mimeType": "image/png" } ], "flagged": false, "summary": "Windows: Adding a searchbar to a tableview or listview search property should also add it to the window", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "OS: Microsoft Windows 10 Pro 10.0.14393\r\nAppc core: 6.0.0-69\r\nAppc NPM: 4.2.8-9\r\nTi SDK: 6.0.0.v20161107075927", "closedSprints": [ { "id": 796, "state": "closed", "name": "2017 Sprint 02 SDK", "startDate": "2017-01-15T00:00:41.845Z", "endDate": "2017-01-29T00:00:00.000Z", "completeDate": "2017-01-30T21:10:44.640Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "405377", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile_windows/pull/936", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-26T14:05:38.000+0000", "updated": "2017-01-26T14:05:38.000+0000" }, { "id": "405455", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~kota] Which fixVersion is this going in? The field currently has \"None\".", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-27T00:55:35.000+0000", "updated": "2017-01-27T00:56:21.000+0000" }, { "id": "405467", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This should go to {{6.1.0}}. Updated.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-01-27T03:14:13.000+0000", "updated": "2017-01-27T03:14:13.000+0000" }, { "id": "406404", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with the code provided above, was able to see the search bar and use it to search for items in the tableview. \r\n\r\n\r\n!6.1.0.v20170202120400.PNG|thumbnail!\r\n\r\n*Environment* \r\n\r\n{code:java}\r\nPhone : Lumia 640 LTE (RM-1073)\r\nOperating System:\r\nName = Microsoft Windows 10 Pro\r\nVersion = 10.0.14393\r\nArchitecture = 32bit\r\n# CPUs = 4\r\nMemory = 17034395648\r\n \r\nNode.js:\r\nNode.js Version = 4.6.0 \r\nnpm Version = 2.15.9\r\n \r\nTitanium SDK:\r\nSDK Version = 6.1.0.v20170202120400\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-02-06T18:19:15.000+0000", "updated": "2017-02-06T18:19:15.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }