macOS 14 Sonoma save file dialog not showing
-
With the latest update of macOS 14 Sonoma the file save dialog or the file open dialog are no longer showed. In the console log the following error appear:
[OpenSavePanels] Unable to display save panel (unrecognized error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service created from an endpoint was invalidated from this process." UserInfo={NSDebugDescription=The connection to service created from an endpoint was invalidated from this process.})
I build and run the qt example Text edit, and there it is working correctly.
Someone can give some explanations?
-
We found the problem.
In our info.plist file there was a wrong entry, it is since 8 years like that, but curiously only starting with macOS 14 Sonoma this was giving problems.
Wrong:
<key>CFBundleDevelopmentRegion</key> <string>Switzerland (italian)</string>
Right:
<key>CFBundleDevelopmentRegion</key> <string>it-CH</string>
-
@lsbts1291 What Qt version do you use?
-
Hi,
In addition to what @jsulm requested, since the Qt example is working fine, did you try to compare what you do differently in your application ?
-
I'm using Qt 6.5.2. I compared the code, and there are no differences in the way we call QFileDialog, may be the problem is the cmake or plist files.
-
We found the problem.
In our info.plist file there was a wrong entry, it is since 8 years like that, but curiously only starting with macOS 14 Sonoma this was giving problems.
Wrong:
<key>CFBundleDevelopmentRegion</key> <string>Switzerland (italian)</string>
Right:
<key>CFBundleDevelopmentRegion</key> <string>it-CH</string>
-
-
I have this same problem and open/save dialogs don't work at all, and there's nothing wrong with my Info.plist file. I downloaded and installed from the online installer today (I was using 6.5.0, now 6.5.3). I tried to build the examples and open/save dialogs don't work, even in Qt Creator!
-
1/6