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

            Bug ID: 385095
           Summary: Does not cancel generation of checksums
           Product: frameworks-kio
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: fa...@kde.org
          Reporter: k...@privat.broulik.de
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

When generating a checksum for a large file on an external hard drive that can
take a significant amount of time, the thread is not exited when the properties
dialog is closed. This leads to Dolphin not exiting when its window is closed.

To reproduce:
1.) Copy a large file onto a USB stick
2.) Right click -> properties -> Checksum -> Click "MD5" or any other checksum
3.) now close the dialog whilst it's still "calculating"
4.) close dolphin

Notice how Dolphin keeps running and consuming CPU and prevents unmounting the
USB stick.

It's using QtConcurrent::run which doesn't support cancelling, so this probably
needs to be rewritten to using QThread (or a KJob?)

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

Reply via email to