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
        2. file_open_example.tar.gz
          14 kB
        3. QTBUG-110416.tgz
          177 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            axelspoerl Axel Spoerl
            scott Scott MacHaffie
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes