I have also found that Sudoku in Karmic always reports game times of
about 58 seconds.

After having a bit of a look around the source, it seems that the
problem relates to the autosave function.  Autosave is triggered ever 60
seconds (or the time set by gconf /apps/gnome-
sudoku/auto_save_interval).  On each autosave, the module saver.py
triggers a "timer.finish_timing" event.  This stops the timer and means
that the final reported game time will be incorrect.

I found that by setting the autosave interval to a large number (I used
60000),  autosave is effectively disabled and the timer works correctly.
I also tried setting this to zero, but this just causes the program to
default to 60 seconds.

I'm not sure if there are any serious consequences of disabling the
autosave feature.  I guess it just means that the game state could be
lost if the session is ended unexpectedly.

Mal

-- 
Gnome-sudoku timings all wrong
https://bugs.launchpad.net/bugs/282315
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to