Laggy UI and crashes when working with clips that create many jobs.
When working with larger projects, the job queue has a few areas with room for improvement.
When the project is initially opened, the progress indicator is fine. While the project is opening, there are also a bunch of jobs added to the job queue. I am assuming it's generating thumbnails or checking on the validity of files or something? Anyways, it's not that important, the UI is still responsive during this process, as it seems that there is only one process working with the job queue.
Where the problems start is when an action is attempted that generates a lot of jobs in the job queue. For instance, switching off proxies for the project, or reloading a 200 clips that have variable frame rate that wants transcoding, new thumbnails and proxies. There seems to be some sort of race condition that causes the job queue to hang, or the whole UI to hang.
I have set my system to only process one transcode or proxy generation at once, and while that does make the system slightly more stable, it does not cure the issue completely.
My gut tells me that Kdenlive is trying to do too much at once, and that multiple processes are modifying the job queue at once. Is there some sort of locking mechanism on the job queue for processes modifying it?