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

--- Comment #1 from Kai Uwe Broulik <[email protected]> ---
> You will get the entry as soon as there is a new match (triggering the 300ms 
> interval) or till finished() is called. 

That is also an issue if you enter a folder with a slow mount inside. KIO goes
like:

while ((ep = QT_READDIR(dp)) != nullptr)
   QT_LSTAT
...

   listEntry(entry)

So should lstat get stuck on a slow mount, none of the previous queued up files
are emitted until lstat returns and the event loop continues to then find that
the 300ms batch time has expired and send all entries along, i.e. enter a
folder with 30 files where there is one folder pointing to a slow mount. You
won't see any files until that slow mount has responded.
Obvious solution: listEntries handling in a thread in SlaveBase :P

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

Reply via email to