bugXBoard - Bugs: bug #43792, Highlight last move doesn't work...


bug #43792: Highlight last move doesn't work when pre-moved

Submitter:  None
Submitted:  Wed 10 Dec 2014 01:37:50 PM UTC
Category:  XBoard (GTK version) Severity:  3 - Normal
Item Group:  Feature request Status:  None
Assigned to:  None Open/Closed:  Open
Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:
       No canned response available


Sat 15 May 2021 05:25:55 AM UTC, comment #1: 

Copy/pasting the email discussion from when this was filed:

From: Joshua Pettus <jshpettus@...>
Date: Dec 10, 2014, 7:50 AM
To: bug-xboard

Well it’s a little more general then this.  Making an illegal move clears the board of any hi-lights and arrows. Because the hi-lighted square is no longer the last move. The last move was an invalid one.  Idk if this is really desirable. You can scroll back and forward a move to hi-light the last recorded move if you need.

From: h.g.muller@...
Date: Wed, Dec 10, 2014, 2:10 PM
To: bug-xboard

Indeed, this works as designed, and that this is on a pre-move is just co-incidental. It seems that the desired behavior is that after rejection of a pre-move (or any move) the original state of the highlights is restored, though. In principle that should be possible. I can imagine that this is most desirable on a premove, where the rejection would be instantly, so that the user never gets the chance to see the opponent move.


So, the conclusion was (1) restoring the highlights after an illegal move is rejected might be a desirable feature, (2) in the absence of that, you can use the back/forward buttons to see what the last move was and get the highlight back.

Both the X11 and GTK versions have the same behavior.  (I imagine WinBoard does too...?)

Tim Mann <mann>
Project Administrator
Wed 10 Dec 2014 01:37:50 PM UTC, original submission:  

When having "highlight last move" on and doing a pre-move (dragging a piece on the target square during the opponent's move time), and the pre-move turns out to be invalid (because it would capture a friendly piece, or the the target square is blocked) the opponent's move is not highlighted.

Expected: Highlighted last move even when using pre-move.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mann (Posted a comment)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-05-15 mann CategoryXBoard (X11) XBoard (GTK version)

    Back to the top

    Powered by Savane 3.9