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

            Bug ID: 494726
           Summary: Built-in LUTs has absolute paths causing load error
                    after reopening project when using AppImage executable
    Classification: Applications
           Product: kdenlive
           Version: 24.08.2
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Project Bin & Import
          Assignee: j...@kdenlive.org
          Reporter: denis.khoruz...@gmail.com
  Target Milestone: ---

SUMMARY
Any default LUT (BLUE_TINT.cube, CINEMATIC.cube, GREEN_TINT.cube,
TEAL_ORANGE.cube) applied to a clip is stored with it absolute path like
`/snap/kdenlive/112/usr/share/kdenlive/luts/CINEMATIC.cube` in case of Snap
package manager or path like
`/tmp/.mount_kdenlirY0eGN/usr/share/kdenlive/luts/CINEMATIC.cube` for AppImage
executable.

Upon saving and reopening the project, Kdenlive can no longer locate the LUTs
because they are stored in a transient location. As a result, an error occurs,
and the LUT effect is no longer applied.

Suggested solution: use environment variable to identify Kdenlive path while
storing default preset files. E.g.:
`$KDENLIVE_PATH/luts/CINEMATIC.cube`

STEPS TO REPRODUCE
1. Download and run Kdenlive using the AppImage executable.
2. Import a video clip into the timeline.
3. Apply the "Apply LUT" effect to the clip.
4. Select any of default LUTs and apply it.
5. Save the project.
6. Close Kdenlive and reopen the same project.

OBSERVED RESULT
After reopening the project, the LUT files are no longer available, leading to
the following error:
`[filter avfilter.lut3d] Cannot init scale filter: Invalid argument`

EXPECTED RESULT
The default LUT files should remain linked to the project, and the effect
should be retained after reopening the project.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 24.04.1
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2

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

Reply via email to