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

FileDialog often takes 10s of seconds to load

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • None
    • 5.7.1, 5.8.0 RC
    • None
    • Windows 10

      I am running my app in profile mode (it happens in release too).

      I ran the QML profiler which highlighted

      FileDialog {
      ...
      folder: shortcuts.home //this line 
      ...
      }
      

      in my app as taking 42 seconds duration.

      I removed this line, which appeared to fix it, but then on another occasion the app got stuck again on an internal line in DefaultFileDialog.qml:212

       model: __shortcuts.length 

      Sometimes its lightning fast.

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

            srutledg Shawn Rutledge
            Dynite Michael Cox
            Votes:
            11 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes