Move tool slows down when there is a lot of clips in the project - Much worse under Wayland.
Hi there!
I have noticed for some time now that the move tool struggles to move a bunch of clips. Unfortunately it seems that when I run Wayland, this slowdown is much, much worse.
Here is a quick video under X11:
Here, for comparison is the same operation under Wayland:
Since the whole point of the move tool is to move a bunch of clips, it should not slow down when there are a lot of clips. I have a feeling that this slowdown is due to Kdenlive trying to update the position of all the clips frequently. When moving, by definition the relationship between the clips after the cursor is fixed, and their positions only need updating when the mouse cursor is released. While dragging, it may only be necessary to display the outline of the clips, providing some speedups in the display routine.
System information: Operating System: Arch Linux KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 Kernel Version: 6.3.1-AMD-znver2 (64-bit) Graphics Platform: Wayland Processors: 8 × AMD Ryzen 7 4700U with Radeon Graphics Memory: 36.9 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: LENOVO Product Name: 20T8001JUS System Version: ThinkPad E15 Gen 2