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

QFileSystemModel not updated when USB removed

    XMLWordPrintable

Details

    Description

      • Use QFileSystemModel as a QTreeView model.
      • Set drivelist to the rootpath.
      • Plug USB drive and see it's correctly updated to the treeview.
      • Unplug USB.
        Expected: Drive is removed from the model and vanished from the treeview
        Result: Drive icon is vanhished but drive and content is still visible

      Plugging and unplugging drive needs updating model. Adding new roopath works but removing existing index doesn't update the model and treeview.

      Attachments

        1. QTBUG-53436.zip
          1 kB
        2. usb_plugged.png
          usb_plugged.png
          17 kB
        3. usb_unplugged.png
          usb_unplugged.png
          17 kB

        Issue Links

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

          Activity

            People

              mmutz Marc Mutz
              markan Marko Kangas
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes