Skip to content

Instantly share code, notes, and snippets.

@krzyzanowskim
Created December 15, 2024 21:52
Show Gist options
  • Save krzyzanowskim/9a02645436c465a855f0d4c97fab9b56 to your computer and use it in GitHub Desktop.
Save krzyzanowskim/9a02645436c465a855f0d4c97fab9b56 to your computer and use it in GitHub Desktop.
FB16105564: NSTextFinder no longer call -showFindBarView: (regression)

NSTextFinder documentation for the findBarContainer property says:

When the find bar is to be shown, NSTextFinder invokes showFindBarView: on the findBarContainer object, passing the view for the find bar, which it should display somewhere that is associated appropriately with the content being searched.

however that method is never ever called. There's little use of that method found on the Internet, and the only instance I found in Mozilla codebase, that suggest that maybe was called in the past. That would mean this is regression bug.

macOS 15.2 (24C101) Xcode 16.2 (16C5032a)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment