Summary: | Dolphin hangs after "ignoring" a DndPopupMenu and closing the window | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Elvis Angelaccio <elvis.angelaccio> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kdelibs-bugs |
Priority: | NOR | ||
Version: | 5.27.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kio/508720091088bb605fb153b3b547fd2cc7a130f4 | Version Fixed In: | 5.28 |
Sentry Crash Report: |
Description
Elvis Angelaccio
2016-06-04 11:20:52 UTC
Moving kio, the problem is in the DropJob not emitting the result signal. Git commit 508720091088bb605fb153b3b547fd2cc7a130f4 by Elvis Angelaccio. Committed on 28/10/2016 at 09:51. Pushed by elvisangelaccio into branch 'master'. Properly finish DropJobs when triggered is not emitted Since QMenu doesn't have a 'canceled' signal that is emitted when the menu is "rejected" (e.g. user clicks outside the menu), we need to manually track whether an action has been triggered. This way we can ensure to always emit the 'result' signal and avoid hangs in applications. https://bugreports.qt.io/browse/QTBUG-56761 tracks the status of a possible 'canceled' signal in QMenu, which would supersed this commit. REVIEW: 129262 FIXED-IN: 5.28 M +26 -2 src/widgets/dropjob.cpp http://commits.kde.org/kio/508720091088bb605fb153b3b547fd2cc7a130f4 |