https://bugs.kde.org/show_bug.cgi?id=462059

--- Comment #7 from Christoph Thielecke <criss...@gmx.de> ---
(In reply to Harald Sitter from comment #6)
> 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);
> }

Nice!
Do you have a patch that I can test it?
It would be nice to have a patch for 21.12.3 to, that would make things easy.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to