Summary: | Deleting a file freezes dolphin UI during the deletion | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Méven Car <meven29> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugseforuns, elvis.angelaccio, kde, kdelibs-bugs, mahen, nate, postix |
Priority: | NOR | ||
Version: | 5.43.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=358231 | ||
Latest Commit: | https://commits.kde.org/kio/80d5f52b0675912b1522209746357c41742fe611 | Version Fixed In: | 5.65 |
Sentry Crash Report: |
Description
Méven Car
2018-02-19 18:29:54 UTC
Thanks for the high-quality bug report! Would you be interested in producing a patch for this issue? I am indeed. I will start tomorrow probably. My workaround could be a start, but I need to do some tests to avoid regression and keep a good user experience. It might require some UI work in dolphin to make it clear that a file is being deleted. Otherwise If a user removes a big file, he will only notice that it worked when the deletion completes and the file disappear in the UI. Re-assigning KIO where deletejob lives Seems related to https://bugs.kde.org/show_bug.cgi?id=358231 I know from seeing the code that copying has the same issue as deletion : it is synchronous. I guess moving files is also affected. It uses DirectCopyJob for local files which will hang the app for as long as the copy is going on. I've just opened this bug which might be related : https://bugs.kde.org/show_bug.cgi?id=400025 Related to https://bugs.kde.org/show_bug.cgi?id=358231 Git commit 80d5f52b0675912b1522209746357c41742fe611 by Méven Car. Committed on 14/11/2019 at 08:35. Pushed by meven into branch 'master'. [DeleteJob] Use a separate worker thread to run actual IO operation Summary: FIXED-IN: 5.65 Reviewers: dfaure, #frameworks Reviewed By: dfaure Subscribers: kde-frameworks-devel Tags: #frameworks Maniphest Tasks: T11627 Differential Revision: https://phabricator.kde.org/D24962 M +176 -72 src/core/deletejob.cpp https://commits.kde.org/kio/80d5f52b0675912b1522209746357c41742fe611 |