| Summary: | statusbar blocks gui thread when counting items | ||
|---|---|---|---|
| Product: | [Applications] dolphin | Reporter: | Harald Sitter <sitter> |
| Component: | bars: status | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | dolphin-bugs-null, nate, postix |
| Priority: | NOR | Keywords: | efficiency-and-performance |
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=178678 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Bug Depends on: | |||
| Bug Blocks: | 423082, 504984 | ||
DolphinView::statusBarText calls DolphinView::calculateItemCount calls KJob::exec which blocks the gui thread for potentially long amounts of time if the disk is at IO capacity and/or generally has latency (mounted network shares). this needs to be made async. as a stopgap supposedly statusBarText could return a fixed string if item.isSlow() #5 0x00007fc374eeaf0e in KJob::exec() () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5 #6 0x00007fc375e98fcf in DolphinView::calculateItemCount (this=this@entry=0x5570c4032bd0, fileCount=@0x7ffd2191d264: 0, folderCount=@0x7ffd2191d260: 0, totalFileSize=@0x7ffd2191d280: 0) at ./src/views/dolphinview.cpp:1531