QFileSystemModel performance
-
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
-
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
@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.
-
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
-
Hi,
If memory serves well, having network drives can also slow things down significantly.