Bug 415791

Summary: TimeAdjust can not adjust time by 1 unit - only by 2
Product: [Applications] digikam Reporter: andrej.valencic
Component: Plugin-Generic-TimeAdjustAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
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 andrej.valencic 2020-01-02 09:09:16 UTC
SUMMARY
I'm trying to use TimeAdjust tool for a bunch of photos. In the Timestamp Adjustment tool I can only increment/decrement values by 2 (when I click on the "up" arrow) not by 1. This only happens when I chose 37 or more photos at a time. When selecting less than that the increments by 1 are possible.

STEPS TO REPRODUCE
1. Chose photos - more than 37
2. Select Tools -> Adjust  Time Date
3. Select Add/Subtract
4. Click to increase value (day, hours, minutes or secconds - any of those)
5. The value change by 2 not by 1


EXPECTED RESULT
Value for time/date should change just by 1 not by 2 no matter how mayn photos are selected.

SOFTWARE/OS VERSIONS
Windows: 10
digiKam: Build date: Dec 31 2019 (target: RelWithDebInfo), Rev.: 1570ff86aedb10cbda8240d1137b0e31b2214f79
KDE Frameworks 5.63.0
Qt 5.13.2 (built against 5.13.2)
The windows windowing system


ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2020-01-02 10:04:55 UTC
Updating the date stamp is surprisingly slow here on Windows. I have not yet observed this under Linux. This keeps the button pressed and there is a 2nd event. I look at it.

Maik
Comment 2 Maik Qualmann 2020-01-02 17:31:51 UTC
Git commit 3b21b1b2d42847dcd8e26602b2b525b856c1a57a by Maik Qualmann.
Committed on 02/01/2020 at 17:30.
Pushed by mqualmann into branch 'master'.

add timer to prevent double button activation
FIXED-IN: 7.0.0

M  +1    -1    NEWS
M  +26   -7    core/dplugins/generic/metadata/timeadjust/timeadjustdialog.cpp
M  +1    -0    core/dplugins/generic/metadata/timeadjust/timeadjustdialog.h

https://invent.kde.org/kde/digikam/commit/3b21b1b2d42847dcd8e26602b2b525b856c1a57a