{ "id": "176228", "key": "TIMOB-28484", "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": [], "resolution": null, "resolutiondate": null, "created": "2021-06-09T02:15:49.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ListView", "NavigationWindow", "SearchBar", "iOS" ], "versions": [], "issuelinks": [ { "id": "59287", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "176167", "key": "TIMOB-28428", "fields": { "summary": "iOS: LargeTitle (animation) is not rendered correctly ", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2021-06-09T02:16:10.000+0000", "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" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "*Summary:*\r\nOn iOS 12, if a {{NavigationWindow}} opens a child window containing a {{ListView}} with a {{SearchBar}} attached will cause the app to crash. If the {{ListView}} does not a {{SearchBar}}, then the child window opens without issue.\r\n\r\n*Steps to reproduce:*\r\n# Build and run [^NavWindowListViewTest.js] on iOS 12.\r\n# Tap on one of the rows.\r\n# Noticed the app crashes when opening the child window.\r\n\r\n*Result:*\r\n{code}\r\n[INFO] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Only one palette with a top boundary edge can be active outside of a transition. Current active palette is <_UINavigationControllerManagedSearchPalette: 0x7fd051717e70; frame = (0 116; 414 0); layer = >'\r\n[INFO] *** First throw call stack:\r\n[INFO] (\r\n[INFO] 0 CoreFoundation 0x000000010ef968db __exceptionPreprocess + 331\r\n[INFO] 1 libobjc.A.dylib 0x000000010e31fac5 objc_exception_throw + 48\r\n[INFO] 2 CoreFoundation 0x000000010ef96735 +[NSException raise:format:] + 197\r\n[INFO] 3 UIKitCore 0x000000011a2c6318 -[UINavigationController(_UIPalette) attachPalette:isPinned:] + 516\r\n[INFO] 4 UIKitCore 0x000000011a2a2e72 -[UINavigationController _createAndAttachSearchPaletteForTopViewControllerIfNecessary:] + 584\r\n[INFO] 5 UIKitCore 0x000000011a2c0169 -[UINavigationController _navigationItemDidUpdateSearchController:oldSearchController:] + 419\r\n[INFO] 6 UIKitCore 0x000000011a1465a8 -[_UINavigationBarVisualProviderModernIOS navigationItemUpdatedSearchController:oldSearchController:animated:] + 160\r\n[INFO] 7 UIKitCore 0x000000011a0ff8bd -[UINavigationItem setSearchController:] + 135\r\n[INFO] 8 ClassicAppTest 0x00000001087df202 -[TiUIListView viewGetFocus] + 482\r\n[INFO] 9 ClassicAppTest 0x0000000108819e04 -[TiUIListViewProxy gainFocus] + 52\r\n[INFO] 10 TitaniumKit 0x000000010e22bd74 -[TiWindowProxy gainFocus] + 339\r\n[INFO] 11 ClassicAppTest 0x000000010891f7a5 -[TiUINavigationWindowProxy navigationController:didShowViewController:animated:] + 501\r\n[INFO] 12 UIKitCore 0x000000011a2ade50 -[UINavigationController navigationTransitionView:didEndTransition:fromView:toView:] + 1599\r\n[INFO] 13 UIKitCore 0x000000011a2a21b2 __49-[UINavigationController _startCustomTransition:]_block_invoke + 241\r\n[INFO] 14 UIKitCore 0x000000011a37d698 -[_UIViewControllerTransitionContext completeTransition:] + 102\r\n[INFO] 15 UIKitCore 0x000000011a38f342 __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke.118 + 877\r\n[INFO] 16 UIKitCore 0x000000011ae273e3 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 847\r\n[INFO] 17 UIKitCore 0x000000011adfae47 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 343\r\n[INFO] 18 UIKitCore 0x000000011adfb469 -[UIViewAnimationState animationDidStop:finished:] + 293\r\n[INFO] 19 UIKitCore 0x000000011adfb51d -[UIViewAnimationState animationDidStop:finished:] + 473\r\n[INFO] 20 QuartzCore 0x000000010ccdcc5b _ZN2CA5Layer23run_animation_callbacksEPv + 321\r\n[INFO] 21 libdispatch.dylib 0x0000000111e8dd02 _dispatch_client_callout + 8\r\n[INFO] 22 libdispatch.dylib 0x0000000111e99a50 _dispatch_main_queue_callback_4CF + 1276\r\n[INFO] 23 CoreFoundation 0x000000010eefda79 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9\r\n[INFO] 24 CoreFoundation 0x000000010eef8126 __CFRunLoopRun + 2310\r\n[INFO] 25 CoreFoundation 0x000000010eef74d2 CFRunLoopRunSpecific + 626\r\n[INFO] 26 GraphicsServices 0x00000001138552fe GSEventRunModal + 65\r\n[INFO] 27 UIKitCore 0x000000011a954fc2 UIApplicationMain + 140\r\n[INFO] 28 ClassicAppTest 0x0000000108758ce2 main + 1170\r\n[INFO] 29 libdyld.dylib 0x0000000111efb541 start + 1\r\n[INFO] )\r\n[INFO] libc++abi.dylib: terminating with uncaught exception of type NSException\r\n{code}\r\n\r\n*Note 1:*\r\nThis issue was discovered when testing [TIMOB-28428] with it's attached test project.\r\n\r\n*Note 2:*\r\nDoes not crash on iOS 14. (Have not tested it on iOS 13.)\r\n", "attachment": [ { "id": "67933", "filename": "NavWindowListViewTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-06-09T02:12:52.000+0000", "size": 1069, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "iOS: NavigationWindow opening a child with a ListView and SearchBar crashes on iOS 12", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }