Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QFileSystemModel performance
Forum Updated to NodeBB v4.3 + New Features

QFileSystemModel performance

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 347 Views 1 Watching
  • 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.
  • ivanicyI Offline
    ivanicyI Offline
    ivanicy
    wrote on last edited by
    #1

    Hello!!

    I have a FTP client, and in the local side, I use a QFileModelSystem to see my files. I have noticed that when I want to expand the Desktop folder, the app freezes and takes a long time until it comes back. Could the reason be that I have many files? And, how can I optimize that?

    Thank you very much

    JonBJ 1 Reply Last reply
    0
    • ivanicyI ivanicy

      Hello!!

      I have a FTP client, and in the local side, I use a QFileModelSystem to see my files. I have noticed that when I want to expand the Desktop folder, the app freezes and takes a long time until it comes back. Could the reason be that I have many files? And, how can I optimize that?

      Thank you very much

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by JonB
      #2

      @ivanicy
      I find you mentioning "a FTP client" confusing. Are we to take it you are talking about using the QFSM only on the client/local side, and mentioning FTP is just irrelevant and we should just ignore it? Because if you are doing anything on the server/remote side all bets are off....

      I am also guessing your client is Windows? Always helps to say for this sort of potentially platform-dependent question!

      Apart from anything else which may be going on for Windows Desktop item, one thought is for you to check/verify whether any item on your desktop points to any remote, network, drive or USB-type-slow-device? I don't know, but if QFSM goes fetches any information about Windows "shortcut links" any of these could be "slow" or cause "freezing".

      If you don't get any further help from a Windows person, one thing you might try is copying the whole of the Desktop folder to somewhere else which is "innocuous/not special". Like to some subdirectory under your TEMP folder? If that browses faster than the actual Desktop it might be an indication of special handling of the latter.

      1 Reply Last reply
      0
      • ivanicyI Offline
        ivanicyI Offline
        ivanicy
        wrote on last edited by
        #3

        Yes, sorry. I mentioned that it is a FTP client for give you some context but it is not important. I will check if this links or shortcuts could cause this freezing. Yes, I don't think it's because it's precisely the Desktop folder, but because of its content.

        Thank you very much for your answer

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          If memory serves well, having network drives can also slow things down significantly.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

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