https://bugs.kde.org/show_bug.cgi?id=462059
Harald Sitter <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDSINFO |CONFIRMED Resolution|WAITINGFORINFO |--- Ever confirmed|0 |1 --- Comment #6 from Harald Sitter <[email protected]> --- Found it! > m_dbusInterface->setTimeout(std::chrono::milliseconds(5min).count()); // > TODO: listing folders with a huge amount of files may take a while What really needs to happen is rewriting the listing portion of the dbus interface. It currently runs a blocking list operation that is subject to timeouts. What should happen instead is that listing gives out a dbusobjectpath under which it will issue listing status signals. This would then also allow more atomic listing where entries are emitted as they arrive rather than having to load the entire file list into memory and only once that is done emitting the result all at once. ListingObject { Q_INVOKABLE void start(); Q_SIGNAL void file(file); Q_SIGNAL void done(); Q_SIGNAL void error(msg); } -- You are receiving this mail because: You are watching all bug changes.
