Bug 502581

Summary: Apply LUT slow behavior
Product: [Applications] kdenlive Reporter: Gabriel Gazzán <gabcorreo>
Component: Video Effects & TransitionsAssignee: Jean-Baptiste Mardelle <jb>
Status: CONFIRMED ---    
Severity: normal CC: berndmj
Priority: NOR Keywords: triaged
Version First Reported In: git-master   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: ApplyLUT error
frozen cursor with effect

Description Gabriel Gazzán 2025-04-08 22:00:30 UTC
Created attachment 180103 [details]
ApplyLUT error

I've just noticed astrange behavior when using the Apply LUT effect.
When I drag it onto the Effects Stack widget initially it does nothing, after a second click on the widget the effect is added.
Then, when selecting different LUTs (from the ones in the dropdown menu, it applies them, but after trying some of them, an error message shows (attached). After that, it stops working...
Comment 1 Gabriel Gazzán 2025-04-08 22:01:39 UTC
(nightly build from 2025-04-07)
Comment 2 Gabriel Gazzán 2025-04-09 07:15:00 UTC
> "When I drag it onto the Effects Stack widget initially it does nothing, after a second click on the widget the effect is added."

Adding on that. 
1. It's not "after a second click" is just waiting a few seconds after the drag and drop operation.
The strange thing is that in the mean time (after the "drop"), the cursor keeps showing the effects attached to the cursor (screen capture attached below).

2. Every time the clip with the effect is deselected and selected again, there is a waiting time before the stack shows the effect again.

...I don't know if it's searching for/scanning some directories in looking for LUT files or something, but that's the impression I get.
Comment 3 Gabriel Gazzán 2025-04-09 07:15:55 UTC
Created attachment 180108 [details]
frozen cursor with effect
Comment 4 Jean-Baptiste Mardelle 2025-04-13 15:40:12 UTC
Git commit c6e80c29787d75d507999f2a04c20e43d2fa6d07 by Jean-Baptiste Mardelle.
Committed on 13/04/2025 at 15:39.
Pushed by mardelle into branch 'release/25.04'.

Don't search LUT file in all subdirectories

M  +5    -4    src/assets/view/widgets/urllistparamwidget.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/c6e80c29787d75d507999f2a04c20e43d2fa6d07