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

            Bug ID: 414646
           Summary: Kdenlive in Windows crashes when opening a project
                    created under a different Locale
           Product: kdenlive
           Version: 19.08.3
          Platform: MS Windows
                OS: MS Windows
            Status: REPORTED
          Severity: critical
          Priority: NOR
         Component: User Interface
          Assignee: j...@kdenlive.org
          Reporter: daloo...@gmail.com
  Target Milestone: ---

SUMMARY
Kdenlive in Windows shows a visual C++ Runtime error and crashes when
attempting to open a project that was created and saved under a different
locale. The issue seems to be due to the fact that some locales use a comma
instead of a period in their timestamps.

STEPS TO REPRODUCE
1. Create a project with a machine using the locale fr_CA and save it. See
http://txt.do/1oxnn for an example project.

2. Move to a machine running Windows and with the locale en_US. Attempt to open
the previous project.

OBSERVED RESULT
Crash: Runtime Error! This program has requested yadda yadda yadda...

EXPECTED RESULT
Kdenlive gives a warning about the project being created in a different locale
and offers to save it in the current locale.

SOFTWARE/OS VERSIONS
Windows: 8
macOS: 
Linux/KDE Plasma: Manjaro
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Here is a workaround:
1. Open the project in a text editor
2. Change LC_NUMERIC="fr_CA.UTF-8" to LC_NUMERIC="en_US"
3. Use find and replace to transform all of the commas into periods in the
timestamps. For example:
 <producer title="Anonymous Submission" id="producer0" in="00:00:00,000"
out="00:03:14,181">
in the original file now becomes this:
<producer id="producer0" in="00:00:00.000" out="00:00:04.972">
4. The project will now open properly without crashing Kdenlive

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

Reply via email to