Timo Jyrinki has proposed merging 
lp:~timo-jyrinki/kubuntu-packaging/qtdeclarative_fix_smoothedanimation into 
lp:~kubuntu-packagers/kubuntu-packaging/qtdeclarative-opensource-src.

Commit message:
* Fix_QSmoothedAnimation_sometimes_getting_stuck.patch
  - Fix SmoothedAnimation getting stuck (LP: #1305015) (LP: #1300326)

Requested reviews:
  Kubuntu Packagers (kubuntu-packagers)
Related bugs:
  Bug #1300326 in qtdeclarative-opensource-src (Ubuntu): "Shell randomly 
freezes with grey tint"
  
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1300326
  Bug #1305015 in qtdeclarative-opensource-src (Ubuntu): "[PATCH] Fix 
QSmoothedAnimation sometimes getting stuck"
  
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1305015

For more details, see:
https://code.launchpad.net/~timo-jyrinki/kubuntu-packaging/qtdeclarative_fix_smoothedanimation/+merge/215079
-- 
https://code.launchpad.net/~timo-jyrinki/kubuntu-packaging/qtdeclarative_fix_smoothedanimation/+merge/215079
Your team Kubuntu Packagers is requested to review the proposed merge of 
lp:~timo-jyrinki/kubuntu-packaging/qtdeclarative_fix_smoothedanimation into 
lp:~kubuntu-packagers/kubuntu-packaging/qtdeclarative-opensource-src.
=== modified file 'debian/changelog'
--- debian/changelog	2014-04-03 08:34:03 +0000
+++ debian/changelog	2014-04-10 05:40:16 +0000
@@ -1,3 +1,10 @@
+qtdeclarative-opensource-src (5.2.1-3ubuntu14) trusty; urgency=medium
+
+  * Fix_QSmoothedAnimation_sometimes_getting_stuck.patch
+    - Fix SmoothedAnimation getting stuck (LP: #1305015) (LP: #1300326)
+
+ -- Timo Jyrinki <[email protected]>  Wed, 09 Apr 2014 15:11:10 +0300
+
 qtdeclarative-opensource-src (5.2.1-3ubuntu13) trusty; urgency=medium
 
   * debian/patches/Support-RFC2822Date-date-format-similar-to-V8.patch

=== added file 'debian/patches/Fix_QSmoothedAnimation_sometimes_getting_stuck.patch'
--- debian/patches/Fix_QSmoothedAnimation_sometimes_getting_stuck.patch	1970-01-01 00:00:00 +0000
+++ debian/patches/Fix_QSmoothedAnimation_sometimes_getting_stuck.patch	2014-04-10 05:40:16 +0000
@@ -0,0 +1,15 @@
+diff -ru qtdeclarative-opensource-src-5.2.1/src/quick/util/qquicksmoothedanimation.cpp qtdeclarative-opensource-src-5.2.1-patched/src/quick/util/qquicksmoothedanimation.cpp
+--- qtdeclarative-opensource-src-5.2.1/src/quick/util/qquicksmoothedanimation.cpp	2014-02-01 21:38:03.000000000 +0100
++++ qtdeclarative-opensource-src-5.2.1-patched/src/quick/util/qquicksmoothedanimation.cpp	2014-04-09 13:24:15.977541285 +0200
+@@ -242,7 +242,10 @@
+ 
+ void QSmoothedAnimation::updateCurrentTime(int t)
+ {
+-    if (!isRunning() && !isPaused()) // This can happen if init() stops the animation in some cases
++    // We should drop the delayedStopTimer->isActive() part
++    // when updating to 5.3 since the bug seems to be fixed
++    // in a more elaborate way in there
++    if ((!isRunning() && !isPaused()) || delayedStopTimer->isActive()) // This can happen if init() stops the animation in some cases
+         return;
+ 
+     qreal time_seconds = useDelta ? qreal(QQmlAnimationTimer::instance()->currentDelta()) / 1000. : qreal(t - lastTime) / 1000.;

=== modified file 'debian/patches/series'
--- debian/patches/series	2014-04-03 08:34:03 +0000
+++ debian/patches/series	2014-04-10 05:40:16 +0000
@@ -19,3 +19,4 @@
 V4-regalloc-fix-interval-splitting-when-register-pre.patch
 0001-Call-tzset-from-getLocalTZA-so-we-learn-about-tz-cha.patch
 Support-RFC2822Date-date-format-similar-to-V8.patch
+Fix_QSmoothedAnimation_sometimes_getting_stuck.patch

-- 
kubuntu-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/kubuntu-devel

Reply via email to