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

            Bug ID: 462409
           Summary: Proxy File Locking Prevents Proxy Regeneration When
                    Switching Profile and Issues Saving a New Project
    Classification: Applications
           Product: kdenlive
           Version: 22.08.3
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: User Interface
          Assignee: j...@kdenlive.org
          Reporter: zif...@gmail.com
  Target Milestone: ---

SUMMARY

On Windows it appears that Kdenlive locks proxy files such that it fails to
recreate proxies when switching encoding profiles (Kdenlive prompts to rebuild
proxies and then fails) and continues to use the previous proxies. This is also
confusing if the new proxy encoding uses the same file extension as the new one
as exiting and restarting Kdenlive will result in the old proxies *still* being
used. Only by exiting and then deleting the proxies is it possible to get
Kdenlive to regenerate new proxies with the desired profile.

This also appears to cause errors when creating a new project and adding a few
video files. If proxies are generated, they will go into the users directory
and then when the project is saved, Kdenlive will prompt to move these files to
the new directory which fails.

STEPS TO REPRODUCE

1.  Open a project with one or more video files.
2.  Enable proxies and ensure that the proxies are build (P appears on the clip
thumbnail).
3.  Open Project Settings / Proxy tab and select a new Encoding Profile that
uses the same file extension.
4. Kdenlive prompts to recreate all proxy clips for this project? Click Yes.
5. Note that nothing changes with the proxies and they are not rebuilt. 

This was quite confusing when experimenting with proxy profiles.

Related to this file locking issue is the following:
1. Create a New project and ensure that proxies are enabled (on the Proxy tab).
2. Add a new video file to the project bin and ensure it creates a proxy.
3. In the Project Settings, if not already select, check "Use parent folder of
the project file as project folder".
4. This should prompt for a location to save the project and then prompt to
move all temporary files to the new location. (If not, save the project.)
5. Clicking "Continue" will result in an error popup trying to move the
cachefiles/ files as well as moving the project folder .../proxy/* files that
were previously generated. (This actually results in 2 different message boxes
appearing at the same time.)
6. This error appears to result in the Project Setting to "Use parent folder of
the project file as project folder" (set in #3) being cleared and cache and
proxy files reverting to end up in the user's AppData/Local/kdenlive folder. 

OBSERVED RESULT

When changing the proxy encoder, the user still sees the previously generated
(incorrect) proxy files (no error message is displayed).  When saving a new
project, the user sees error messages when a custom project folder (or the
project file's folder) is used.

EXPECTED RESULT

When changing the proxy encoder and prompted to rebuild proxies, the user
expects to see proxies being rebuilt and then the results of the selected
encoder.  When saving a new project, the user should not see errors due to file
locking. Cache and proxy files should be properly moved to the new project
folder.

SOFTWARE/OS VERSIONS
Windows: 11

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

Reply via email to