[Bug-XBoard] [bug #43792] Highlight last move doesn't work when pre-moved
URL: http://savannah.gnu.org/bugs/?43792 Summary: Highlight last move doesn't work when pre-moved Project: XBoard Submitted by: None Submitted on: Wed 10 Dec 2014 01:37:50 PM UTC Category: XBoard (X11) Severity: 3 - Normal Item Group: Feature request Status: None Assigned to: None Open/Closed: Open Discussion Lock: Any Release: None ___ Details: 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. ___ Reply to this item at: http://savannah.gnu.org/bugs/?43792 ___ Message sent via/by Savannah http://savannah.gnu.org/ ___ Bug-XBoard mailing list Bug-XBoard@gnu.org https://lists.gnu.org/mailman/listinfo/bug-xboard
Re: [Bug-XBoard] [bug #43792] Highlight last move doesn't work when pre-moved
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. Josh On Dec 10, 2014, at 8:37 AM, anonymous invalid.nore...@gnu.org wrote: URL: http://savannah.gnu.org/bugs/?43792 Summary: Highlight last move doesn't work when pre-moved Project: XBoard Submitted by: None Submitted on: Wed 10 Dec 2014 01:37:50 PM UTC Category: XBoard (X11) Severity: 3 - Normal Item Group: Feature request Status: None Assigned to: None Open/Closed: Open Discussion Lock: Any Release: None ___ Details: 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. ___ Reply to this item at: http://savannah.gnu.org/bugs/?43792 ___ Message sent via/by Savannah http://savannah.gnu.org/ ___ Bug-XBoard mailing list Bug-XBoard@gnu.org https://lists.gnu.org/mailman/listinfo/bug-xboard ___ Bug-XBoard mailing list Bug-XBoard@gnu.org https://lists.gnu.org/mailman/listinfo/bug-xboard
Re: [Bug-XBoard] [bug #43792] Highlight last move doesn't work when pre-moved
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. ___ Bug-XBoard mailing list Bug-XBoard@gnu.org https://lists.gnu.org/mailman/listinfo/bug-xboard