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

QFileIconProvider is slow with thousands of files

    XMLWordPrintable

Details

    • Linux/X11

    Description

      The QFileIconProvider is very slow when there are thousands of files or thousands of directories in the location that the QFileDialog opens in.

      For our purposes, it was sufficient to subclass QFileIconProvider and override the icon() and type() methods to only return file and folder icons.

      Attachments

        1. cachegrind.out.34252
          627 kB
          Scott MacHaffie
        2. file_open_example.tar.gz
          14 kB
          Scott MacHaffie

        Activity

          People

            thiago Thiago Macieira
            scott Scott MacHaffie
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: