Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2205

QFileSystem.setNameFilters doesn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.4.2
    • PySide
    • None
    • Windows

    Description

      QFileSystem.setNameFilters has no effect on the files shown in QListView / QTreeView when the current directory is on an external drive and Windows OS.

      For example having the following file list (NB! D: is an external hard drive):

      D:/files/date1_suffix1_id234.png
      D:/files/date1_suffix2_id235.png
      D:/files/date2_suffix1_id236.png
      D:/files/date2_suffix2_id237.png

      Name filter in use: 

      "*suffix1*.png"

      Expected files in QListView:

      date1_suffix1_id234.png
      date2_suffix1_id236.png

      Actual files in QListView:

      date1_suffix1_id234.png
      date1_suffix2_id235.png
      date2_suffix1_id236.png
      date2_suffix2_id237.png

      NB! Everything works as expected when the same files are on the system drive (C:/...)

       

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            nrudakov Nikolay Rudakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes