Dear Mal,

Thank you. It looks like an obvious solution that I should have thought of.
Oh well! Someone had to discover gravity.
Good work...Vince Wiley

On Sat, Nov 28, 2009 at 6:21 AM, Mal Gamble <[email protected]>
wrote:

> 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 direct subscriber
> of the bug.
>
> Status in The GNOME games package: Confirmed
> Status in “gnome-games” package in Ubuntu: Triaged
>
> Bug description:
> Running Intrepid Kernel 2.6.27-7-generic #1 SMP Fri Oct 10 03:55:01 UTC
> 2008 x86_64 GNU/Linux and Gnome-Sudoku 2.24.0. Start a new game choose Easy
> as example. Play game - resulting time is normally short at least on the
> first game. The clock should start when either I fill in the first square or
> when I select a new game and end when I finish the game. It looks like it
> starts when I select a square to fill in and then stops when I fill in the
> square and then starts again when I select a new square.
>

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to