Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. macOS 14 Sonoma save file dialog not showing
Forum Updated to NodeBB v4.3 + New Features

macOS 14 Sonoma save file dialog not showing

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 4 Posters 2.0k Views 1 Watching
  • 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.
  • lsbts1291L Offline
    lsbts1291L Offline
    lsbts1291
    wrote on last edited by
    #1

    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?

    jsulmJ 1 Reply Last reply
    0
    • lsbts1291L Offline
      lsbts1291L Offline
      lsbts1291
      wrote on last edited by
      #5

      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
      1
      • lsbts1291L lsbts1291

        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?

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #2

        @lsbts1291 What Qt version do you use?

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

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #3

          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
          0
          • lsbts1291L Offline
            lsbts1291L Offline
            lsbts1291
            wrote on last edited by
            #4

            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
            0
            • lsbts1291L Offline
              lsbts1291L Offline
              lsbts1291
              wrote on last edited by
              #5

              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
              1
              • lsbts1291L lsbts1291 has marked this topic as solved on
              • M Offline
                M Offline
                Mark Malson
                wrote on last edited by
                #6

                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
                0
                • M Mark Malson referenced this topic on

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved