Summary: | Filenames with multiple periods in them do not show up in the file listing (incorrect extension identification) | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Birkir A. Barkarson <birkirb> |
Component: | Plugin-Generic-GeolocationEdit | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 0.1.0 |
Description
Birkir A. Barkarson
2006-10-07 07:52:33 UTC
Fixed in svn. by commit #594449 (i have forget to CCBUGS here). Gilles SVN commit 594457 by cgilles: kipi-plugins from trunk : Raw converter and JPEGLossLess plugin don't check properly the filenale extension. CCBUGS: 135237 M +1 -1 jpeglossless/utils.cpp M +2 -2 rawconverter/dcrawiface.cpp M +1 -1 rawconverter/plugin_rawconverter.cpp --- trunk/extragear/libs/kipi-plugins/jpeglossless/utils.cpp #594456:594457 @@ -61,7 +61,7 @@ QString rawFilesExt(kipi_raw_file_extentions); QFileInfo fileInfo(file); - if (rawFilesExt.upper().contains( fileInfo.extension().upper() )) + if (rawFilesExt.upper().contains( fileInfo.extension(false).upper() )) return true; return false; --- trunk/extragear/libs/kipi-plugins/rawconverter/dcrawiface.cpp #594456:594457 @@ -141,7 +141,7 @@ QFileInfo fileInfo(path); QString rawFilesExt(kipi_raw_file_extentions); - if (!fileInfo.exists() || !rawFilesExt.upper().contains( fileInfo.extension().upper() )) + if (!fileInfo.exists() || !rawFilesExt.upper().contains( fileInfo.extension(false).upper() )) return false; // Try to extract embedded thumbnail using dcraw with options: @@ -256,7 +256,7 @@ return false; } - if (!rawFilesExt.upper().contains( fileInfo.extension().upper() )) + if (!rawFilesExt.upper().contains( fileInfo.extension(false).upper() )) { identify = i18n("Not a RAW file"); return false; --- trunk/extragear/libs/kipi-plugins/rawconverter/plugin_rawconverter.cpp #594456:594457 @@ -116,7 +116,7 @@ QString rawFilesExt(kipi_raw_file_extentions); QFileInfo fileInfo(filePath); - if (rawFilesExt.upper().contains( fileInfo.extension().upper() )) + if (rawFilesExt.upper().contains( fileInfo.extension(false).upper() )) return true; return false; |