{ "id": "176167", "key": "TIMOB-28428", "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": "21199", "description": "", "name": "Release 10.0.1", "archived": false, "released": true, "releaseDate": "2021-07-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-06-15T09:29:48.000+0000", "created": "2021-04-24T13:01:36.000+0000", "priority": null, "labels": [ "listView", "tableView" ], "versions": [], "issuelinks": [ { "id": "59287", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "176228", "key": "TIMOB-28484", "fields": { "summary": "iOS: NavigationWindow opening a child with a ListView and SearchBar crashes on iOS 12", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-06-15T09:29:48.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": "When using a ListView with a Searchbar, setting _showSearchBarInNavBar=true_ and _hidesSearchBarWhenScrolling=false_ - the title is not rendered correctly. It is first \"collapsed\" and only displayed as \"large title\" after ListView has been pulled down.\r\nWhen opening a new ViewController, the title is briefly displayed \"large\", but then jumps to the \"collapsed\" view.\r\n\r\nSee attached video / test app.\r\n\r\nThe problem occurs at least since Ti SDK 9.3.3 and is still present in Ti SDK 10.0.0.v20210421092535. \r\n\r\nThis thread might be helpful:\r\nhttps://developer.apple.com/forums/thread/660745", "attachment": [ { "id": "67909", "filename": "app.zip", "author": { "name": "tw", "key": "tw", "displayName": "Thomas Weber", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-04-24T12:59:29.000+0000", "size": 5947507, "mimeType": "application/zip" }, { "id": "67910", "filename": "large-title-glitch-ios.mov", "author": { "name": "tw", "key": "tw", "displayName": "Thomas Weber", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-04-24T12:59:22.000+0000", "size": 7009162, "mimeType": "video/quicktime" } ], "flagged": false, "summary": "iOS: LargeTitle (animation) is not rendered correctly ", "creator": { "name": "tw", "key": "tw", "displayName": "Thomas Weber", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "tw", "key": "tw", "displayName": "Thomas Weber", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Ti SDK 10.0.0.v20210421092535 / iOS 14.4", "comment": { "comments": [ { "id": "458628", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR - https://github.com/appcelerator/titanium_mobile/pull/12752\r\n\r\nTest Case 1 (List view) -\r\n\r\n{code:java}\r\n var rows = [];\r\n for (var i = 0; i < 5; i++) {\r\n rows.push({ properties: { title: 'Row '+ i, searchableText:'Row '+i}});\r\n }\r\n var win = Ti.UI.createWindow({\r\n title: 'TEST',\r\n backgroundColor: '#ffffff',\r\n largeTitleEnabled: true,\r\n\thidesSearchBarWhenScrolling: false\r\n }); \r\n var navWin = Ti.UI.createNavigationWindow({window: win});\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 showSearchBarInNavBar: true,\r\n });\r\n \r\n lv.addEventListener('itemclick', function(e) {\r\n\tconst window1 = Ti.UI.createWindow({\r\n\t\tbackgroundColor: '#fff',\r\n\t\ttitle: 'Titanium rocks!',\r\n\t\ttitleAttributes: {\r\n\t\t\tcolor: 'red'\r\n\t\t},\r\n\t\tlargeTitleEnabled: true,\r\n\t\thidesSearchBarWhenScrolling: false\r\n\t});\r\n\tvar sb1 = Ti.UI.createSearchBar();\r\n \r\n\tvar ls1 = Ti.UI.createListSection({\r\n\t\titems: rows\r\n\t});\r\n\tvar lv1 = Ti.UI.createListView({\r\n\t\tsections: [ls1],\r\n\t\tsearchView: sb1,\r\n\t\tshowSearchBarInNavBar: true,\r\n\t});\r\n\twindow1.add(lv1);\r\n\tnavWin.openWindow(window1);\r\n });\r\n\r\n win.add(lv);\r\n navWin.open();\r\n{code}\r\n \r\nTest Case 2 (Table view) - \r\n\r\n{code:java}\r\nconst window = Ti.UI.createWindow({\r\n\tbackgroundColor: '#fff',\r\n\ttitle: 'Titanium rocks!',\r\n\ttitleAttributes: {\r\n\t\tcolor: 'red'\r\n\t},\r\n\tlargeTitleEnabled: true,\r\n\thidesSearchBarWhenScrolling: false\r\n}); \r\nconst nav = Ti.UI.createNavigationWindow({ window });\r\nvar searchBar = Ti.UI.createSearchBar();\r\nvar tableView = Ti.UI.createTableView({\r\n\tshowSearchBarInNavBar: true,\r\n search: searchBar,\r\n\tdata: [ {title: 'Apples'}, {title: 'Bananas'}, {title: 'Carrots'}, {title: 'Potatoes'} ]\r\n});\r\nwindow.add(tableView);\r\nnav.open();\r\n\r\ntableView.addEventListener('click', function (e) {\r\n\tconst window1 = Ti.UI.createWindow({\r\n\t\tbackgroundColor: '#fff',\r\n\t\ttitle: 'Titanium rocks!',\r\n\t\ttitleAttributes: {\r\n\t\t\tcolor: 'red'\r\n\t\t},\r\n\t\tlargeTitleEnabled: true,\r\n\t\thidesSearchBarWhenScrolling: false\r\n\t});\r\n\tvar searchBar1 = Ti.UI.createSearchBar();\r\n\tvar tableView1 = Ti.UI.createTableView({\r\n\t\tshowSearchBarInNavBar: true,\r\n\t search: searchBar1,\r\n\t\tdata: [ {title: 'Apples1'}, {title: 'Bananas1'}, {title: 'Carrots1'}, {title: 'Potatoes1'} ]\r\n\t});\r\n\twindow1.add(tableView1);\r\n\tnav.openWindow(window1);\r\n});\r\n{code}\r\n", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-04-27T19:55:16.000+0000", "updated": "2021-04-27T20:07:23.000+0000" }, { "id": "458772", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "FR Passed\r\n\r\nmater and 10_0_X PRs merged", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-06-15T09:29:45.000+0000", "updated": "2021-06-15T09:29:45.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }