Removing NSTextViews with incremental search overlay visible crashes app
| Originator: | stevereinvented | ||
| Number: | rdar://15813579 | Date Originated: | 14-Jan-2014 |
| Status: | Open | Resolved: | |
| Product: | OS X | Product Version: | OS X 10.9.1/13B42 |
| Classification: | Crash / Hang / Data Loss | Reproducible: | Always |
Steve Harris 14-Jan-2014 01:17 PM Summary: When an NSTextView is showing the find bar with incremental searching enabled so that the content view is dimmed, removing that view from the window results in a crash. Steps to Reproduce: 1. Add a text view to a window that uses the find bar with incremental search enabled 2. Manually find some text in that view so that the content is dimmed 3. Remove that view from the window Expected Results: The view is removed without the app crashing. Actual Results: The app crashes. Version: OS X 10.9.1/13B42 Notes: I've attached a test project to recreate it. There is a workaround that isn't entirely satisfactory, which is to manually hide the find bar before removing the text view from the window. Look at the -switchView: action in the app delegate. It's not entirely satisfactory in that the overlay remains on screen even after the underlying text view has been removed. Configuration: I did not receive any reports of this issue before OS X 10.9.1, but I cannot be sure it didn't happen. Attachments: 'Find Overlay Test.zip' was successfully uploaded.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!