Skip to content

Version 1.22.0

Choose a tag to compare

@davewalker5 davewalker5 released this 26 Aug 18:58
· 2 commits to main since this release
fb13993

PGN Editor UI Improvements

This release improves the PGN Editor’s layout, game information, and new-game workflow.

What’s new

Captured material display

The editor now shows captured pieces and material totals above and below the board.

  • In the normal orientation, Black’s captures appear above the board and White’s captures below it
  • Flipping the board also reverses the placement of the summaries
  • Captured pieces use conventional values
    • Pawn: 1
    • Knight: 3
    • Bishop: 3
    • Rook: 5
    • Queen: 9
  • The summaries follow the currently displayed position during navigation and playback
  • Ordinary captures, en passant, promotion captures, and captured promoted pieces are handled correctly

Automatic game results

The PGN Result field is now updated automatically when a move ends the game.

  • Checkmate sets the result to 1-0 or 0-1
  • Draws recognised by python-chess, including stalemate, set the result to 1/2-1/2
  • Undoing the terminal move resets the result to *, even when Undo is selected while viewing an earlier position
  • Results can still be entered manually for resignation, agreed draws, and other outcomes not determined by the board position

New Game command

A new File → New Game command is available, with the Ctrl+N keyboard shortcut.

Starting a new game:

  • Clears all moves
  • Restores the standard starting position
  • Resets the PGN game details
  • Resets captured-material totals
  • Removes the current filename
  • Creates a clean, untitled document

If the current game contains unsaved changes, the editor offers the existing Save, Discard, and Cancel choices. A cancelled or unsuccessful save leaves the current game unchanged.

Clear Game improvements

Clear Game now resets both the move history and game metadata while retaining the current filename.

The editor asks for confirmation when clearing would discard moves or non-default game details. After clearing, saving continues to target the currently associated PGN file.