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

Some icons are not displayed in QTreeView and QTableView when using QFileSystemModel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.1.0 Beta 1
    • 5.0.0, 5.0.1, 5.0.2
    • Core: I/O, GUI: Painting
    • None
    • OS X 10.7 and 10.8, Xcode 4.6.2 (Build version 4H1003)
    • c90486066914d7c63716c12f6e2f1c8086f0eb37

    Description

      When using QFileSystemModel as model for QTreeView and QTableView the some icons for files and folders are empty. The missing icons are totally random.
      This is most noticeable when you expand a node (folder) in QTreeView.
      This occurs even with the simplest application that has only QTreeView and QFileSystemModel. The file/folder permissions are correct.
      The problem occurs more often on slower machines.

      TestIconDisplay.zip is a sample project with both QTreeView and QTableView, and TreeViewTest.zip is a sample project that only has QTreeView.

      Attachments

        1. sc1.png
          88 kB
          Toplica Tanasković
        2. sc2.png
          103 kB
          Toplica Tanasković
        3. sc3.png
          56 kB
          Toplica Tanasković
        4. TestIconDisplay.zip
          4 kB
          Toplica Tanasković
        5. TreeViewTest.zip
          2 kB
          Toplica Tanasković

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            toptan Toplica Tanasković
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: