https://bugs.documentfoundation.org/show_bug.cgi?id=143615
Julien Nabet <serval2...@yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|serval2...@yahoo.fr | --- Comment #9 from Julien Nabet <serval2...@yahoo.fr> --- I tried this: diff --git a/slideshow/source/engine/activities/simplecontinuousactivitybase.cxx b/slideshow/source/engine/activities/simplecontinuousactivitybase.cxx index 9e23fc2c76c8..a90f93994f76 100644 --- a/slideshow/source/engine/activities/simplecontinuousactivitybase.cxx +++ b/slideshow/source/engine/activities/simplecontinuousactivitybase.cxx @@ -46,7 +46,7 @@ namespace slideshow::internal double SimpleContinuousActivityBase::calcTimeLag() const { ActivityBase::calcTimeLag(); - if (! isActive()) + if (! isActive() || !mnMinSimpleDuration) return 0.0; // retrieve locally elapsed time @@ -107,7 +107,7 @@ namespace slideshow::internal bool SimpleContinuousActivityBase::perform() { // call base class, for start() calls and end handling - if( !ActivityBase::perform() ) + if( !ActivityBase::perform() || !mnMinSimpleDuration ) return false; // done, we're ended Setting 0 first time was ok then I increased to 1 then decreased again to 0, it hanged. It seems more complicated than I thought. uncc myself, I can't help here. -- You are receiving this mail because: You are the assignee for the bug.