bug-xboard
[Top][All Lists]
Advanced

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

[Bug-XBoard] [bug #27790] Variant switch not detected


From: anonymous
Subject: [Bug-XBoard] [bug #27790] Variant switch not detected
Date: Sat, 24 Oct 2009 13:38:36 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

Follow-up Comment #3, bug #27790 (project xboard):

OK, I think I fully understand how it works now. The new game starts with a
board, but as the board oof FRC is not recognizably strange, you stay in
VariantNormal. (That it is not the regular opening position is no clue, as
there are many wilds with non-standard starting positions that are played as
VariantNormal.) But then the move list is requested (even when the board was
for move number 0), and triggers an offending VariantSwitch: normally
VariantSwitch redraws the current board in the context of the new variant,
after initializing the variant. The latter also sets up board 0, and in
shuffle games triggers a re-shuffle there. This is unwanted, and later
corrected when the board for the initial position comes in again with the move
list. But the latter is never displayed, as movelists are supposed to be
fetched in the background. So although it is setup in boards[0], it is neer
displayed, and the wrong shuffle hangs in the display until a move occurs.

I will fix it by putting back the original board after initializing the new
variant, when the board to display was boards[0], and thus must have contained
the original shuffle.

H.G. Muller

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27790>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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