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 |https://invent.kde.org/mult
                   |imedia/kdenlive/-/commit/26 |imedia/kdenlive/-/commit/a2
                   |11c9390f4ad841926149689b19f |48b44adcfaac52ff967a9e50953
                   |0f757cd0fac                 |2a1111419de

--- Comment #15 from Jean-Baptiste Mardelle <[email protected]> ---
Git commit a248b44adcfaac52ff967a9e509532a1111419de by Jean-Baptiste Mardelle,
on behalf of Jaimukund Bhan.
Committed on 23/07/2026 at 07:37.
Pushed by mardelle into branch 'release/26.08'.

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/a248b44adcfaac52ff967a9e509532a1111419de

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

Reply via email to