Inconsistent behaviour of arrow keys and mouse in library browser
Description
The footprint library browser is nice to quickly view all the footprints in a library by press-and-hold the down arrow key. The problem is, if by chance I move mouse into the footprint area and then back to the list, the arrow keys do not work well any more. Instead they move the mouse to the footprint area again, instead of going to the next footprint in the list.
The symbol library browser has a similar issue, but with the addition that it does not work even at the first time. Even if your mouse is not in the symbol region, it moves the mouse rather than surfing across symbols.
Other two minor bugs:
- In the footprint library browser, if you click on Help, About Pcbnew, Copy Version Info, the application name is empty
- In the symbol library browser, if you click on Help, About Eeschema, nothing happens.
Steps to reproduce
- Open footprint library browser
- Double-click on a library
- Single-click on first footprint of this library (second column)
- Press and hold arrow-down key
- Single-click on the footprint area (black screen region)
- Go back to step 3 and try doing step 4.
- Try going to step 2 in another library to see if problem disappeared. Same issue.
- Close footprint library browser and go back to step 1, then it works fine again.
- Try to repeat analogous steps in the symbol library browser.
KiCad Version
Application:
Version: 5.1.5-52549c5~86~ubuntu18.04.1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 4.15.0-72-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
Boost: 1.65.1
OpenCASCADE Community Edition: 6.9.1
Curl: 7.58.0
Compiler: GCC 7.5.0 with C++ ABI 1011
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=ON
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON