qt6-bb10/src
Andreas Aardal Hanssen f3597af5ad Fix zero-duration animations running Backwards.
If you set the duration of any variant or property animation to 0,
its progress will be stuck at 1 (0..1), and its "end" value set on
the target object, after start() has been called. If you change the
direction of the animation to QAbstractAnimation::Backward, you
would expect the progress to be 0 after start. Instead it's still
1; the code seems to assume that if the duration is 0, the
progress must be 1 always.

The fix is that if the duration is 0, the direction is checked to
determine whether progress should be 0 (Backward) or 1 (Forward).

Task-number: QTBUG-27969
Change-Id: Ibeca084bbbce41df1dca7b7d96c15b6b54394996
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Thierry Bastian <thierryb@filewave.com>
Reviewed-by: Magne Zachrisen <mazachri@cisco.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2012-11-13 15:34:56 +01:00
..
3rdparty Accessibility Linux: Do not depend on external libatspi2 2012-11-08 16:59:50 +01:00
angle Improve Direct X SDK detection in configure.exe 2012-11-06 16:35:16 +01:00
concurrent remove explicit load(qt_build_config)s from the libraries 2012-10-19 13:02:17 +02:00
corelib Fix zero-duration animations running Backwards. 2012-11-13 15:34:56 +01:00
dbus Remove some dead code in switch statements 2012-10-29 13:51:10 +01:00
gui Add a QEnterEvent containing the mouse position. 2012-11-10 20:08:28 +01:00
network Remove qSort usages from SSL code 2012-11-08 15:06:03 +01:00
opengl Make QGLWidget::paintGL() call glClear(). 2012-11-03 00:24:37 +01:00
platformsupport Avoid duplicate entries in QGenericUnixTheme::themeNames() 2012-11-12 12:33:24 +01:00
plugins Cocoa: fix window focus lost when opening combobox 2012-11-12 17:38:06 +01:00
printsupport Only use the user set page margins for custom paper 2012-10-30 12:53:46 +01:00
sql fix binding of bool type in mysql driver 2012-11-09 00:37:42 +01:00
testlib Remove QWindow pos, geometry and size as properties; pos->position 2012-11-08 15:01:30 +01:00
tools add QLinkedList to bootstrap lib 2012-11-11 12:10:45 +01:00
widgets Clean up styles.qdoc. 2012-11-13 12:51:09 +01:00
winmain let winmain just use qtcore 2012-11-02 18:07:35 +01:00
xml remove explicit load(qt_build_config)s from the libraries 2012-10-19 13:02:17 +02:00
src.pro Add ANGLE as a 3rdparty library to Qt. 2012-10-24 02:29:15 +02:00