Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Bug: QFileSystemModel doesn't display file icons.
Forum Updated to NodeBB v4.3 + New Features

Bug: QFileSystemModel doesn't display file icons.

Scheduled Pinned Locked Moved Solved Qt for Python
5 Posts 2 Posters 464 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    Qt_user_175
    wrote on last edited by
    #1

    Hello. I have a problem upgrading from PySide 6.6.0 to 6.6.1.
    Please try running the official example "Dir View Example".
    https://doc.qt.io/qtforpython-6/examples/example_widgets_itemviews_dirview.html
    or
    https://github.com/qtproject/pyside-pyside-setup/blob/dev/examples/widgets/itemviews/dirview/dirview.py
    In PySide6.6.0, icons are displayed correctly on file names in the tree.
    However, in PySide 6.6.1, icons are not displayed on file names in the tree.
    How can I display the icon correctly ?

    F 1 Reply Last reply
    0
    • Q Qt_user_175

      Hello. I have a problem upgrading from PySide 6.6.0 to 6.6.1.
      Please try running the official example "Dir View Example".
      https://doc.qt.io/qtforpython-6/examples/example_widgets_itemviews_dirview.html
      or
      https://github.com/qtproject/pyside-pyside-setup/blob/dev/examples/widgets/itemviews/dirview/dirview.py
      In PySide6.6.0, icons are displayed correctly on file names in the tree.
      However, in PySide 6.6.1, icons are not displayed on file names in the tree.
      How can I display the icon correctly ?

      F Offline
      F Offline
      friedemannkleint
      wrote on last edited by
      #2

      @Qt_user_175 Which platform is this? Linux looks fine, icons are there.

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        Qt_user_175
        wrote on last edited by
        #3

        I tested. Windows 11 Home Version 22H2 OS build 22621.2428
        Python 3.10.6

        1 Reply Last reply
        0
        • F Offline
          F Offline
          friedemannkleint
          wrote on last edited by
          #4

          This is a bug: QTBUG-120123 .

          Q 1 Reply Last reply
          2
          • F friedemannkleint

            This is a bug: QTBUG-120123 .

            Q Offline
            Q Offline
            Qt_user_175
            wrote on last edited by
            #5

            @friedemannkleint Thank you.

            1 Reply Last reply
            0
            • Q Qt_user_175 has marked this topic as solved on

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved