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

Dāvis <davis...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |davis...@gmail.com

--- Comment #7 from Dāvis <davis...@gmail.com> ---
(In reply to Andrew Gunnerson from comment #5)
[...]
> Since the UI is freezing despite the slow stat calls being on another
> thread, I'm assuming there's a StatJob::exec()/KJob::exec() call somewhere
> forcing the UI to wait for its completion. Unfortunately, I've had no luck
> at all tracking down where the job came from.

There are bunch of places that does IO. Eg. see
https://invent.kde.org/system/dolphin/-/blob/master/src/kitemviews/kfileitemmodelrolesupdater.cpp#L1283
(`isDir()`) and
https://invent.kde.org/system/dolphin/-/blob/master/src/kitemviews/kfileitemmodelrolesupdater.cpp#L837
(specifically `KFileMetaData::UserMetaData` there inside
`KBalooRolesProvider::roleValues`)

Things that are related to `KBalooRolesProvider` and `KFileMetaData` I'll be
fixing with my multi-threaded implementation. Basically moving whole
`KBalooRolesProvider` to a threadpool. Another refactoring I'm doing is that
I'm removing it from Dolphin because we actually have 2 different
implementations for this thing...

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

Reply via email to