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

            Bug ID: 423487
           Summary: FileFetchJob blocks gui thread
           Product: baloo-widgets
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: stefan.bru...@rwth-aachen.de
          Reporter: sit...@kde.org
  Target Milestone: ---

When disk IO is slow FileFetchJob can block dolphin's GUI entirely because it
does a blocking waitForFinished call. At a glance that's unnecessary given the
job has an async api and could use qprocess by attaching to signals.

#7  QProcessPrivate::waitForFinished (this=this@entry=0x557a8c2c3420,
msecs=msecs@entry=30000) at io/qprocess_unix.cpp:839
#8  0x00007faf075a1751 in QProcess::waitForFinished (this=<optimized out>,
msecs=30000) at io/qprocess.cpp:1929
#9  0x00007faf09201b2d in Baloo::FileFetchJob::doStart (this=0x557a8c8c5bd0) at
./src/filefetchjob.cpp:81
#10 0x00007faf0765d2a9 in QObject::event (this=0x557a8c8c5bd0,
e=0x557a8c908d00) at kernel/qobject.cpp:1339

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

Reply via email to