Bugzilla – Bug 733
TimeText controls incorrectly showing all zeros
Last modified: 2018-08-20 11:45:30 UTC
* "Effect > Repeat" shows all zeros as the new length. * In a project that has labels, open the Label Editor. Label times are all shown as zeros. The bug appeared in r13138 "Fixes some minor issues reported by valgrind." In src/widgets/TimeTextCtrl.cpp the order of calling SetTimeValue(timeValue); SetFormatName(formatName); is critical. The reordering in r13138 breaks updating the TimeText controls. Swapping the order back fixes the problem, but obviously I don't want to reintroduce the issue that this was intended to fix. Marked as P3 because for user's it is multiple regressions.
Oh, oh...I'll take a look since this was my fault.
Committed in r13199: SetTimeValue(timeValue); moved back below SetFormatName(formatName); .
Seems OK to me, I tested it on Mac and Windows with different selection formats.