<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>423492</bug_id>
          
          <creation_ts>2020-06-25 11:56:50 +0000</creation_ts>
          <short_desc>statusbar blocks gui thread when counting items</short_desc>
          <delta_ts>2025-05-29 21:51:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>dolphin</product>
          <component>bars: status</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=178678</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>efficiency-and-performance</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>423082</blocked>
    
    <blocked>504984</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Harald Sitter">sitter</reporter>
          <assigned_to name="Dolphin Bug Assignee">dolphin-bugs-null</assigned_to>
          <cc>dolphin-bugs-null</cc>
    
    <cc>nate</cc>
    
    <cc>postix</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1939725</commentid>
    <comment_count>0</comment_count>
    <who name="Harald Sitter">sitter</who>
    <bug_when>2020-06-25 11:56:50 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>