Hi, I am maintaining an NSDocument based application that uses the "old" model for the Save, Save As, etc functions. In the latest version of Ventura, choosing File -> Save As results in an alert with the message "The save file operation failed" as well as the following printout to the console:
2022-11-15 00:21:26.122507+0000 MyApp [miscellany] CLIENT ERROR: remote view delegate NSSavePanel lacks method which can react to the details of Error Domain=com.apple.ViewBridge Code=0 "(null)" UserInfo={com.apple.ViewBridge.error.hint=advance to run phase, com.apple.ViewBridge.error.description=NSViewBridgeErrorUnknown}
2022-11-15 00:21:26.123129+0000 MyApp [OpenSavePanels] Could not advance an Open/Save panel to run phase due to error: Error Domain=com.apple.ViewBridge Code=0 "(null)" UserInfo={com.apple.ViewBridge.error.hint=advance to run phase, com.apple.ViewBridge.error.description=NSViewBridgeErrorUnknown}
I have absolutely no idea what this means except that for some reason the "powerbox" fails to work as intended... Any clue? Note that this app has been running fine on macOS 10.8 all the way up to the first beta of macOS 13.1. Only the current second beta throws the alert.
How would I even go about debugging this? As far as I can see, the only control I have on the file savings dialog is via the -(BOOL)prepareSavePanel:
hook, but even throwing that out completely doesn't change the behaviour. It really looks like this is a bug in the latest beta of Ventura, but since I cannot produce a MWE (the app is too large to be able to just chuck out stuff until there's a MWE left) it's not clear how to even write a bug report.