Hello.

A bug occurs in the latest release 4.3 in Windows 7 (but not in Ubuntu). 
I could not compile the current git version on Windows so I don't know 
if the bug still occurs but I was able to fix the problem in the version 
4.3.

In some cases, when navigating through the game with keyboard (pressing 
Right repeatedly), after choosing a variation in the Variation window, 
the focus goes into the tabs on the right side of the screen, and then 
Right key only switches between the two tabs until e.g. the mouse is 
moved from a frame to another. This is a small thing but really annoying 
when one wants to go through the game quickly using only keyboard.

How to reproduce the bug:
- Open Scid
- Open e.g. Notation window (PGN window or whatever its name is) and 
Tree window so that two tabs on the right side
- Import a new PGN (Ctrl+Shift+I) with only moves "1.e4 e5 (1...c5) 2.Nf3"
- Click on tab "Notation - game 0" and move the cursor to the board 
frame so that the Notation tab loses focus
- Go to the beginning of the game (by pressing Up) and press Right 
twice. This should open the Variation window
- After the main line is chosen from the Variation window by pressing 
Right once again, the focus is on the Notation tab (there's a dashed 
rectangle around the title).
- Now pressing Right repeatedly only switches between the Notation and 
Tree windows.

Fix(?):

In tcl/main.tcl, there are the following lines:

# Needed or the main window loses the focus
if { $::docking::USE_DOCKING } {
        bind .variations <Destroy> { focus -force .main }
}

I have no idea what this piece of code should be doing (removing it 
didn't create any additional focus issues), but I was able to fix the 
bug by replacing "focus -force .main" with "focus -force . ".

This change does not seem to have any (positive or negative) effect in 
the current git version in Ubuntu. However, in Windows, I could compile 
only the latest full release, so I wasn't able to test this change in 
the latest git version.

-Janne Kokkala

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to