The source project of this merge request has been removed.
Draft: [taskmanger] Make backend.recentDocumentActions non-blocking
Querying properties of multiple files through KIO could be time-consuming, which even makes plasmashell freeze when the file is on a network mount and the network is bad.
Separate backend.recentDocumentActions code into three parts:
-
recentDocumentActionsDataJobStart
: createKIO::statJob
for querying file properties. -
recentDocumentActionsDataJobStatResult
: process job results and prepare action data. -
recentDocumentActions
: create an action menu.
BUG: 443465 CCBUG: 406110 CCBUG: 441077
disconnect-connect-context-menu
(Explanation: After network is disconnected, right click on Audacious/Kate does not show a menu because there are files on a network mount in "Recent Files" section.)
See also: plasma-workspace!1120 (closed) (easier method, too complicated to apply the same method on kicker)
Edited by Fushan Wen