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

Jean-Baptiste Mardelle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/mult
                   |                            |imedia/kdenlive/-/commit/26
                   |                            |11c9390f4ad841926149689b19f
                   |                            |0f757cd0fac
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #14 from Jean-Baptiste Mardelle <[email protected]> ---
Git commit 2611c9390f4ad841926149689b19f0f757cd0fac by Jean-Baptiste Mardelle,
on behalf of Jaimukund Bhan.
Committed on 16/07/2026 at 07:44.
Pushed by mardelle into branch 'master'.

Resolve video import and profile loading failures on paths with diacritical
marks

When Kdenlive is run from a standalone folder located in a directory path
containing diacritical marks or non-ASCII characters, it fails to import video
files and displays a "Cannot open file" error in the GUI. This MR fixes the
issue by resolving startup and library search paths to their ASCII-only Windows
8.3 short paths before configuring the runtime environment.

* **Windows Short Path Helper**: Implemented a `getShortPath()` helper function
on Windows to convert long paths containing spaces or non-ASCII characters to
their 8.3 short path representation.
* **Environment PATH**: Updated the `PATH` environment variable setup in
`main.cpp` using the short path.
* **MLT Path Configuration**: Relocated `locateMeltAndProfilesPath` earlier
during MLT initialization in `MltConnection` and exported `MLT_PROFILES_PATH`
and `MLT_DATA` environment variables using the Windows short paths.

M  +16   -2    src/main.cpp
M  +33   -2    src/mltconnection.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/2611c9390f4ad841926149689b19f0f757cd0fac

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

Reply via email to