Summary: | Rename with time template can add colons (:) forbidden character in Windows 10 | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Paul A. <pschroeter> |
Component: | AdvancedRename-file | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | freddie, metzpinguin, vilkmail |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/digikam/963afab9a746647854550e43d08de75f433da75e | Version Fixed In: | 5.9.0 |
Sentry Crash Report: |
Description
Paul A.
2018-03-02 20:15:10 UTC
Git commit 628152e30af7f44c06718d3240ea1f7c439e5c2b by Maik Qualmann. Committed on 03/03/2018 at 19:01. Pushed by mqualmann into branch 'development/6.0.0'. replace or block colon in renaming files and album title on Windows M +6 -0 libs/album/albumpropsedit.cpp M +9 -1 utilities/advancedrename/advancedrenamemanager.cpp https://commits.kde.org/digikam/628152e30af7f44c06718d3240ea1f7c439e5c2b Git commit 963afab9a746647854550e43d08de75f433da75e by Maik Qualmann. Committed on 03/03/2018 at 19:04. Pushed by mqualmann into branch 'master'. replace or block colon in renaming files and album title on Windows FIXED-IN: 5.9.0 M +2 -1 NEWS M +6 -0 libs/album/albumpropsedit.cpp M +9 -1 utilities/advancedrename/advancedrenamemanager.cpp https://commits.kde.org/digikam/963afab9a746647854550e43d08de75f433da75e Note: I could not reproduce a problem with spaces at the beginning or end of file names or with parentheses. Maik (In reply to Maik Qualmann from comment #3) > Note: I could not reproduce a problem with spaces at the beginning or end of > file names or with parentheses. > > Maik I think I may have caused the album/folder problem using either "Renameā¦ > Rename Album" or "Properties" in the folder tree. I have been only been using digiKam for about a week and having fun going though thousands of my photos and albums/folder and organizing them with tags and photo/album renaming. What I'm trying to say is I was going through my files at a very fast pace, and in some circumstances I would cut and paste (maybe something with a space at the end) to the end of a name or type very fast and hit OK quickly to change a name. I think it only happened twice. I love digiKam and have settled on using it, even though I tried a couple paid programs out. I think in general any function that can change the name of a photo or album needs to do a better job screening for Windows (10 and below) forbidden file characters. I think it's because of the libraries the program is built with. For now I have just been trying to be more careful renaming files. I thought the colon problem really needed to be reported right away because it destroyed those files. It only happened once, and since I knew I was experimenting with rename still had the originals on the camera. This problem is not limited to Windows. One can also reproduce it on Linux by placing the album onto a FAT32/exFAT file system, which share similar restrictions. A more generic solution may therefore be in order. Git commit 2d8d7be73d4b81ed298cd21edae2a7350128fb48 by Maik Qualmann. Committed on 15/04/2018 at 08:10. Pushed by mqualmann into branch 'master'. we always replace the colon to avoid problems with Windows file systems Related: bug 329438 FIXED-IN: 6.0.0 M +2 -1 NEWS M +0 -6 core/libs/album/albumpropsedit.cpp M +1 -5 core/utilities/advancedrename/advancedrenamemanager.cpp https://commits.kde.org/digikam/2d8d7be73d4b81ed298cd21edae2a7350128fb48 *** Bug 395788 has been marked as a duplicate of this bug. *** Git commit 33234dc80d3162823e569b0f0bf67d96321e0dc9 by Maik Qualmann. Committed on 24/06/2018 at 11:33. Pushed by mqualmann into branch 'master'. replace invalid characters under a Windows file system when renaming Related: bug 395790 FIXED-IN: 6.0.0 M +2 -1 NEWS M +11 -1 core/utilities/advancedrename/advancedrenamemanager.cpp https://commits.kde.org/digikam/33234dc80d3162823e569b0f0bf67d96321e0dc9 |