Rendering updates stop/don't happen with "Show seconds" off and "rough" ani smoothness

Bug #1451289 reported by blah
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cairo-clock (Ubuntu)
New
Undecided
Unassigned

Bug Description

Turning off the "Show seconds" option and setting the "Animation Smoothness" option to "rough" causes the clock rendering updates to cease and/or never happen and/or rarely happen, even on a restart.

A quick look at the code shows that there's animation related code getting executed which more than likely is repeatedly turning on the bAnimateMinute flag when it should not be given the above conditions, since the "rough" smoothness value equates to a 1/sec render call, causing the fFullSecond < 1.0f test to always fail, causing iFrames to always be reset (and bAnimateMinute to be turned on), causing fFactor to always be set to 0, and since bAnimateMinute is always on, it always picks up the 'old' value for fAngleMinute, and since bAnimateMinute is always on and fFactor is always 0 bAnimateMinute is never turned off and fAngleMinute is never updated, etc., etc., etc.

But, I think *maybe* you can fix (and not break any other rendering?) by always computing fAngleMinute regardless of bAnimateMinute's value?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.