Bug 406610

Summary: hit enter when renaming, sometime don't rename correctly
Product: [Applications] digikam Reporter: Nicolas.HOUDELOT <nicolas.houdelot>
Component: AdvancedRename-dialogAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 6.1.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.2.0
Sentry Crash Report:

Description Nicolas.HOUDELOT 2019-04-16 22:27:08 UTC
when you want to rename a file, or several files
there's a little delay before the preview of the rename occur.

the problem is, when you go too fast, and don't wait for the preview to end.
(i mean, you edit the rename, and hit return)
the new name, is the one of the preview at the moment you hit enter, and not the one you typed.


STEPS TO REPRODUCE
1. select 2 big files
2. rename them and it enter before the preview end.

OBSERVED RESULT
the new name should be part of the rename, not the new name you choosed

EXPECTED RESULT
the new name should not wait the preview, and use what you typed

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2019-04-17 17:24:49 UTC
Git commit cc0c89b62bd3df2210d47f0bc386ec6c16f5d3af by Maik Qualmann.
Committed on 17/04/2019 at 17:23.
Pushed by mqualmann into branch 'master'.

fix Advanced Rename when pressing the Enter key fast
FIXED-IN: 6.2.0

M  +2    -1    NEWS
M  +1    -0    core/utilities/advancedrename/advancedrenameinput.cpp

https://commits.kde.org/digikam/cc0c89b62bd3df2210d47f0bc386ec6c16f5d3af