Every time I move the pieces while the engine is running, I get invalid castling rights. I can try manually deselecting the checkboxes in the bottom right but it doesn't fix the issue. Before the latest version it was very easy to use and put in whether or not you could castle. Now you can't. It's extremely unintuitive and I cannot get it to work when trying to manually set up positions for analysis. I have no idea how to make it work and I think this needs to be fixed for better understandability and usability by the end-user.
Reproduction
Go to analysis tab.
Start the engine (whichever you prefer, it doesn't matter).
Click on the edit button
Click and drag the king to one of the rooks to manually castle pieces
the error appears.
Also, if you empty the board and then set up the pieces directly, the error still appears even though I never actually castled.
Platform and versions
Windows 11. Latest version of en croissant after downloading the update
Hi! I get this error with Chess960 games, various puzzles, other times when I am editing a board into a custom position or from FEN and it seems to not be engine related but croissant related.
Describe the bug
Every time I move the pieces while the engine is running, I get invalid castling rights. I can try manually deselecting the checkboxes in the bottom right but it doesn't fix the issue. Before the latest version it was very easy to use and put in whether or not you could castle. Now you can't. It's extremely unintuitive and I cannot get it to work when trying to manually set up positions for analysis. I have no idea how to make it work and I think this needs to be fixed for better understandability and usability by the end-user.
Reproduction
Also, if you empty the board and then set up the pieces directly, the error still appears even though I never actually castled.
Platform and versions
Windows 11. Latest version of en croissant after downloading the update
Stack trace