oneClickMove bug / incovenient behaviour

Discussions about the WinBoard protocol. Here you can also report bugs and request new features.

Moderators: hgm, Andres Valverde

oneClickMove bug / incovenient behaviour

Postby nepossiver » 10 Jul 2010, 21:09

I have installed Xboard from HGM git repository, date stamp 2010-04-01 (but about tells me it is 2010-03-27). This version has one-click moving, but in general I do stupid stuff whith this so I set it to false. The one-click move has two behaviours as described in HGM's web site: one-click will perform a move if there is only one legal move from / to the square clicked, and double-clicking a piece will perform a capture, if that pice has only one capture. As far as I can tell, the first one-click move indeed is disabled (e.g. clicking on e4 in the initial position should move e-e4, but it does not), but the second "one-click" (double-click as capture) does work - and it caused me to do many catastrophic captures on FICS. I checked /usr/local/etc/xboard.conf, there is no oneClickMove there, and .xboardrc has oneClickMove set to false.

As I understand from HGM web site, this is not the intended behaviour.

In addition, I also have premove on, and if I double-click a piece, to select and then unselect the piece (say, I see it is a bad move, or find a better move), and then try to select a new piece but my opponent moves before I am able to, the double-click intended as select-unselect will have the effect of the double-click capture. I think this is a bit of incovenient behaviour for people that will use both premove and smart-clicks - I don intend to, but anyway, I think these options will cause this kind of "blunders" if they stand as they are.
nepossiver
 
Posts: 31
Joined: 21 Sep 2008, 17:00

Re: oneClickMove bug / incovenient behaviour

Postby H.G.Muller » 11 Jul 2010, 10:34

This was indeed not intended behvior. Thanks for reporting. I forgot to test the option setting in the capture case. Should be fixed now in the latest snapshot of the hgm.nubati.net repository, hgm5 branch.

For WinBoard, a new binay is available at http://hgm.nubati.net/winboard0526.zip .
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to WinBoard development and bugfixing

Who is online

Users browsing this forum: No registered users and 7 guests

cron