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

Igor Grkavac <grkavac.i...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |grkavac.i...@gmail.com

--- Comment #5 from Igor Grkavac <grkavac.i...@gmail.com> ---
Hi all,

The issue is happening due to the blocking calls of KJobs exec() functions that
are called every time a Cut/Copy/Paste function is called. 
The explanation for this behavior can be seen here:
https://invent.kde.org/frameworks/kcoreaddons/-/blob/master/src/lib/jobs/kjob.h#L268

The complete solution would be to abandon synchronous calls and connect signals
and slots that wait for the Paste process to finish.

I managed to create a working solution for Cut action just to confirm it is
doable, however, there is still a lot of refactoring left as a lot of different
parts must be changed (ProjectManagerViewPlugin, CutCopyPasteHelper,
AbstractFileManagerPlugin, ...) so, if anyone starts working on this, they will
probably have a lot of code to write/change.

I will continue on this work and if any maintainer confirms this is a good
strategy I will create a PR when I'm done.

Kind regards,
Igor Grkavac

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

Reply via email to