[dolphin] [Bug 423492] New: statusbar blocks gui thread when counting items
Harald Sitter
bugzilla_noreply at kde.org
Thu Jun 25 12:56:50 BST 2020
https://bugs.kde.org/show_bug.cgi?id=423492
Bug ID: 423492
Summary: statusbar blocks gui thread when counting items
Product: dolphin
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: bars: status
Assignee: dolphin-bugs-null at kde.org
Reporter: sitter at kde.org
CC: kfm-devel at kde.org
Target Milestone: ---
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 at entry=0x5570c4032bd0, fileCount=@0x7ffd2191d264: 0,
folderCount=@0x7ffd2191d260: 0, totalFileSize=@0x7ffd2191d280: 0) at
./src/views/dolphinview.cpp:1531
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list