When editing the analysis board, the FEN can become invalid for a game of normal chess (possibly it's Chess960 notation?) resulting in the Stockfish engine giving the error "illegal position: invalid castling rights" when turned on.
Reproduction
Open new analysis board
Edit mode
Move white bishop to F3
Move white knight to G3
Move white king to G1 (castles)
Select "black to move"
FEN is now "rnbqkbnr/pppppppp/8/8/8/5BN1/PPPPPPPP/RNBQ1RK1 b HQkq - 0 1", HQkq invalid for regular chess.
Describe the bug
When editing the analysis board, the FEN can become invalid for a game of normal chess (possibly it's Chess960 notation?) resulting in the Stockfish engine giving the error "illegal position: invalid castling rights" when turned on.
Reproduction
Platform and versions
Windows 10, en croissant version 0.11.1
Stack trace
No response