Menu

#279 Wrong indent in game notation

1.7.0
open
nobody
None
5
2023-03-27
2020-06-21
Martin
No

In ChessX 1.5.4, when "keep varions inline" in game preferences, variations are not indended properly in the game notation widget.

Look like (all on same indent level):

  1. e4 e5
    1... e6 2. d4 d5 3. Nc3
  2. Nd2
  3. e5
  4. exd5
    1... c6 2. d4 d5 3. e5
  5. exd5
  6. Nc3
    1... Nf6
  7. Nf3 Nc6

Instead it should look somehow like:

  1. e4 e5
    1... e6 2. d4 d5 3. Nc3
    3. Nd2
    3. e5
    3. exd5
    1... c6 2. d4 d5 3. e5
    3. exd5
    3. Nc3
    1... Nf6
  2. Nf3 Nc6

Maybe different variation levels could even have diffrent colors (but this would be an additional feature, but a bug fix :-)

Discussion

  • Jim Ratliff

    Jim Ratliff - 2020-07-09

    I want to clarify Martin's question in three ways:

    • He doesn't supply the raw PGN but rather just two versions of its presentation; so I provide my conjecture of what PGN he has in mind.
    • When he says "when 'keep varions inline'", I believe he means in this case: When Preferences » Game » "Keep variations inline from level" is 4 or higher.
    • I think he tried to use tabs in the lower presentation to create indentation, but the indentation was not rendered in the post. So I try to fix that here.

    I believe the PGN he has in mind is:

    1.e4 e5 ( 1...e6 2.d4 d5 3.Nc3 ( 3.Nd2 ) ( 3.e5 ) ( 3.exd5 ) ) ( 1...c6 2.d4 d5 3.e5 ) 2.Nf3 Nc6 *
    

    The following attached graphic shows (a) on the left how ChessX actually renders this PGN and (b) on the right a preferable indentation (where I'm using how Scid vs PC does it as an example, but it's the indentation itself that's important).

    BTW, this may be identical to #111 Indentation for not inline variations

     

    Last edit: Jim Ratliff 2020-07-09
  • Jens Nissen

    Jens Nissen - 2020-07-09

    The browser will probably be rewritten in the near future. It has so many weaknesses and ideas that need to be adressed.

     
  • Jens Nissen

    Jens Nissen - 2023-03-27
    • Group: 1.3.2 --> 1.7.0
     

Log in to post a comment.

MongoDB Logo MongoDB