backspace does not work in type ahead inputs

Bug #1814903 reported by Kilian Kilger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Invalid
Undecided
Unassigned

Bug Description

Steps to reproduce:

On my desktop (Debian testing "buster", x86_64) the following happens:

- in the schematic editor, when adding a new part, if I enter something in the type ahead field, then deleting characters with backspace is not possible. Same happens for all other type ahead fields.

- marking the characters with the mouse and "right click => delete" does work though.

This can be reproduced on my desktop with Xfce 4.12 and KDE 5, so is independent of the desktop environment. It also happens with the supplied version of Kicad (5.0.2+dfsg1-1) and also with a self compiled version of Kicad (5.1.0-rc1, compiled with clang).

On my Laptop though, having the same Debian version with the same version of Kicad (also x86_64), the error does not occur.

This error makes Kicad nearly unusable for me.

All other applications on my desktop work fine. I have no such problems in all applications != Kicad.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

Please copy the KiCad version info for both builds that you used to do your testing. It's possible that your KiCad builds are using different versions of wxWidgets which could account for the differences in behavior.

Changed in kicad:
status: New → Incomplete
Revision history for this message
Kilian Kilger (etalecohomology) wrote :

Hey Wayne,

I was in your Fosdem talk ;-).

My Desktop (not working, supplied version):

Application: kicad
Version: 5.0.2+dfsg1-1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.63.0 OpenSSL/1.1.1a zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Platform: Linux 4.19.0-2-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.62.0
    Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

My desktop (self compiled version, _not_ working):

Application: kicad
Version: (5.1.0-rc1-2-g507229809), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.63.0 OpenSSL/1.1.1a zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Platform: Linux 4.19.0-2-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.63.0
    Compiler: Clang 7.0.1 with C++ ABI 1002

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Laptop version follows in the next post (from my laptop).

Revision history for this message
Kilian Kilger (etalecohomology) wrote :

Laptop (working):

Application: kicad
Version: 5.0.2+dfsg1-1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.63.0 OpenSSL/1.1.1a zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Platform: Linux 4.19.0-1-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.62.0
    Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Revision history for this message
Tomasz Wlostowski (twlostow) wrote :

Hi Kilian,

Does this problem happen for any other application based on wxWidgets (you can check this quickly by i.e. installing wx3.0-examples package and checking if the text inputs there work correctly)?

Cheers,
Tom

Revision history for this message
Kilian Kilger (etalecohomology) wrote :

Is it possible to debug it on my desktop, as I have built the debug version?

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

@Kilian, thank for attending my talk.

It looks like my theory was wrong since you have a build with gtk3 and gtk2 on your desktop system. Having multiple builds on linux is tricky. Seth and I spent quite a bit of time at FOSDEM trying to fix lp:1812992. There was some odd shared object loading issue that was causing the problem. Removing all traces of KiCad and then installing a clean build resolved the issue. Would it be possible for you to completely remove all traces of KiCad from your desktop machine and then install a single build (either packaged or from source) and see if the problem goes away. The fact that you have only a single install on your laptop and do not see the problem might be indicative of the issue.

Revision history for this message
Kilian Kilger (etalecohomology) wrote :

Ok. Backspace does also not work in samples/typetest

Revision history for this message
Kilian Kilger (etalecohomology) wrote :

https://forum.kicad.info/t/backspace-left-right-keys-not-working/8553

`sudo apt-get install ibus-gtk ibus-gtk3`

resolved the issue. Is this a debian bug, i.e. a missing dependency?

Revision history for this message
jean-pierre charras (jp-charras) wrote :

This is a "old" linux issue, in some distros, not a Kicad issue.

See for instance bug #1385020, and especially answer #13.

Revision history for this message
Kilian Kilger (etalecohomology) wrote :
Changed in kicad:
status: Incomplete → Invalid
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

@Kilian, nice work! You saved some precious developer time resolving this issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.