Bug 420724

Summary: A space at the end of the name of folder causes problem in Windows Explorer
Product: [Applications] digikam Reporter: Anna Molchanova <molanna>
Component: Bundle-WindowsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: caulier.gilles
Priority: NOR    
Version First Reported In: 7.0.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 7.0.0
Sentry Crash Report:

Description Anna Molchanova 2020-04-28 19:59:08 UTC
SUMMARY
Hi! Sometimes I accidentally put a space at the end of the name of a folder, when I create it in digiKam 7.0.0-beta2. DigiKam doesn't delete this space automatically, and I get a broken folder in my Windows 10. I can't delete, rename or move it because a space at the end of the name is forbidden in NTFS.

STEPS TO REPRODUCE
1. Create a folder in digiKam and put space at the end of the name
2. Try to delete this folder in Windows Explorer

OBSERVED RESULT
The folder cannot be deleted, moved or renamed using Windows Explorer with standard methods.

EXPECTED RESULT
The digiKam automatically deletes the space at the end of the name what will prevent this problem.

SOFTWARE/OS VERSIONS
Windows: 10 1909
DigiKam 7.0.0-beta2

ADDITIONAL INFORMATION
Really love your application, thank you!
Comment 1 Maik Qualmann 2020-04-28 20:23:44 UTC
Git commit f984f8b54b71895015fea92fee1e592aab45bfe6 by Maik Qualmann.
Committed on 28/04/2020 at 20:21.
Pushed by mqualmann into branch 'master'.

fix spaces at the beginning and end of album names when creating or renaming albums
FIXED-IN: 7.0.0

M  +2    -1    NEWS
M  +2    -1    core/libs/album/engine/albummodificationhelper.cpp

https://invent.kde.org/kde/digikam/commit/f984f8b54b71895015fea92fee1e592aab45bfe6