Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-103110

QFileDialog on macOS generates exception calling directoryDidChange

    XMLWordPrintable

Details

    • macOS

    Description

      I've noticed an exception in my program's log files:

      2022-02-19 10:29:03.847 Dragonframe[658:6181] -[NSNull length]: unrecognized selector sent to instance 0x7fff8083ceb0
      2022-02-19 10:29:03.847 Dragonframe[658:6181] Exception calling directoryDidChange: on delegate <QNSOpenSavePanelDelegate: 0x60001fdb4150> exception=-[NSNull length]: unrecognized selector sent to instance 0x7fff8083ceb0

      The program continues to operate, but it seems that the NSString * path passed into 'directoryDidChange' can sometimes be the 'NSNull' singleton. The code needs to check for that.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vestbo Tor Arne Vestbø
            dzedsystems Dyami Caliri
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes