bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Bugs: Missing dice and crash in bear-off


From: Joern Thyssen
Subject: Re: [Bug-gnubg] Bugs: Missing dice and crash in bear-off
Date: Thu, 30 Jan 2003 16:14:07 +0000
User-agent: Mutt/1.4i

On Wed, Jan 29, 2003 at 11:32:36PM +0100, Holger wrote
> Hi,
> 
> another bug, actually even more than one.
> 
> When I start the attached (unfinished) match via file association
> (double-clicking e.g. in Explorer) I don't see the dice. This does not
> happen when I start GNUbg normally and load the match via File->Open->Match
> or Session.
> 
> I'm on turn, the game record says 'Rolled 32', and I can move my chequers.
> But I can't finish my move because there is no dice that I can click on.
> The sensitive zone is neither active. The only possible work-around is to
> click on an earlier move in game record and then on 'Rolled 32'. Then my
> dice appear.

board_set is called a few times with nSize = -1 in which case it returns
in line 1759, but the dice positions are not calculated until line
1797ff. 

It's not until board_expose is called that nSize > 0, but RenderArea
won't draw the dice because there are no dice positions.

Gary, can you review my quick'n'dirty fix commited to the trunk!? If it
looks OK I'll commit to 0.13.

Jørn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]