Bug 420724 - A space at the end of the name of folder causes problem in Windows Explorer
Summary: A space at the end of the name of folder causes problem in Windows Explorer
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-Windows (other bugs)
Version First Reported In: 7.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-28 19:59 UTC by Anna Molchanova
Modified: 2020-05-03 11:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 7.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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