| Summary: | file import error when path > MAX_PATH(260) | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | wodan71015 |
| Component: | Import-Albums | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles, metzpinguin |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | Version Fixed/Implemented In: | 8.8.0 | |
| Sentry Crash Report: | |||
|
Description
wodan71015
2022-05-14 08:22:38 UTC
Which digiKam version did you use ? Which Windows build are you using exactly? It's possible that Qt on Windows is limited to 260 characters. Within digiKam we have no limit. Have you enabled long path support on Windows 10? Since Build 1607 long path support is possible, but by default it is 260 characters. Maik A test here with Windows 10 shows the following with activated long file name support: Windows Explorer still cannot support long file names, which corresponds to comments from the web. It is possible to create over 260 long file paths in digiKam. Files can also be copied. The Libjpeg, Exiv2 and ExifTool liberies cannot handle these long file paths. Images loaded with the QImage Loader do not have long path problems. So the problem is not Qt, but a multitude of different libraries. Since Windows Explorer currently doesn't support long file names either, I don't see the error as critical, but as normal. Maik @wodan71015@duetube.com digiKam 8.0.0 is out. This entry still valid with this release ? Best regards Gilles Caulier @wodan71015@duetube.com, This problem still reproducible with the new digiKam 8.2.0 pre-release Windows installer available at usual place: https://files.kde.org/digikam/ This new bundle is based on last Qt framework 5.15.11 and KDE framework 5.110. Thanks in advance Gilles Caulier Git commit 367411f0f9bd7439fd4e96ff5ba119c8eb1c006a by Maik Qualmann. Committed on 05/08/2025 at 18:54. Pushed by mqualmann into branch 'master'. try manifest for long file names M +11 -6 core/cmake/templates/digikam.exe.manifest.cmake.in M +11 -6 core/cmake/templates/showfoto.exe.manifest.cmake.in https://invent.kde.org/graphics/digikam/-/commit/367411f0f9bd7439fd4e96ff5ba119c8eb1c006a digiKam now supports long file paths if the feature is enabled in Windows 10 (from 1607) or Windows 11. Maik |