FP-editor/symbol-editor: bad cursor key handling in left library pane
Description
Nvigating with cursor-keys and ENTER in the left library-pane in both FP-editor/symbol-editor isworse than in stable v6.0.x.
After selecting a footprint/symbol with ENTER this footprint/symbol is displayed in the big editor-window. But this rsets also the cursor-key-position in the library-pane to the first row. So subsequent navigating with the cursor-keys always starts with the first row.
In stable v6 the navigating continued from the last selected footprint/symbol.
Steps to reproduce
- open footprint-editor/symbol-editor
- click into left library pane
- navigate with cursor-keys (uo/down) to any library (with >=2 entrys), hit ENTER
- library is expanded (OK)
- cursor down, first item in library is marked (light blue) - OK
- hit ENTER - first item is selected as active item (dark blue) and displayed in editor window (OK)
- cursor down to go to next item in library --> surprise --> cursor jumps to first top line in the library-pane. One has to scroll down with the cursor to get to the last used position. (This point is the difference to old v6.0.x behaviour)
KiCad Version
Application: KiCad Symbol Editor (64-bit)
Version: (6.99.0-3992-gc4fc9c1b16), release build
Libraries:
wxWidgets 3.2.1
FreeType 2.11.1
HarfBuzz 4.2.0
FontConfig 2.14.0
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.2.1 (wchar_t,wx containers)
Boost: 1.79.0
OCC: 7.6.0
Curl: 7.83.1-DEV
ngspice: 37
Compiler: Visual C++ 1929 without C++ ABI
Build settings:
KICAD_SPICE=ON
Edited by Maik Freitag