Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Discover and share your #QtStories


    Fill out our CSRD Survey


    Solved macOS 14 Sonoma save file dialog not showing

    General and Desktop
    4
    6
    847
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lsbts1291
      lsbts1291 last edited by

      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?

      jsulm 1 Reply Last reply Reply Quote 0
      • lsbts1291
        lsbts1291 last edited by

        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>
        
        1 Reply Last reply Reply Quote 1
        • jsulm
          jsulm Lifetime Qt Champion @lsbts1291 last edited by

          @lsbts1291 What Qt version do you use?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 0
            • lsbts1291
              lsbts1291 last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • lsbts1291
                lsbts1291 last edited by

                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>
                
                1 Reply Last reply Reply Quote 1
                • Topic has been marked as solved  lsbts1291 lsbts1291 
                • M
                  Mark Malson last edited by

                  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 Reply Last reply Reply Quote 0
                  • Referenced by  M Mark Malson 
                  • First post
                    Last post