gbtami / pychess-variants

Chess variant server
https://www.pychess.org
GNU Affero General Public License v3.0
227 stars 112 forks source link

When kings are in check on both boards partner board check mark is incorrect #1516

Open gbtami opened 2 weeks ago

gbtami commented 2 weeks ago

https://pychess-variants-dev.onrender.com/wpoF2vMG https://i.imgur.com/ERO6lGx.png

gbtami commented 2 days ago

This still the same.

nnickoloff1234 commented 12 hours ago

@gbtami how do you reproduce it exactly? i found 2 similar problems and fixed both of them - one was when scrolling moves of old games including the one in the link, the second when doing a manual F5 refresh when position is such that both boards have a king in check. During normal play i havent seen this bug happening. What is the scenario in which you reproduce this bug now?

gbtami commented 1 hour ago

The game link is presented in my very first comment. When I click on it, it opens the game (on DEV server) first without the move list like this https://i.imgur.com/y0PYH59.png here the check marks are OK, but after 1-2 sec (after the move list appears) the red check mark on partner board moves to the white King on g1 as you can see in the first message screenshot.