Text edit fields are unusable

Description

This might be combination of my system and KiCad, but since upgrading to Linux Mint 19.3 Cinnamon text edit fields are unusable in both eeschema and pcbnew. When I try to add text or if I try to edit the existing text, a part of schematics in the place of the text edit field is displayed in the text edit box.

Keyboard input is received in the text box, but not displayed to the user. I.e. I can blindly type in the text and it will be created on the schematics or the board. If I try to edit the existing text, it somewhat becomes a bit responsive if I press enter inside text box - then the text that should be there gets displayed, but changes to it are not displayed when I try to edit it.

Screenshot_from_2020-01-23_11-26-41

Also since this week library manager in eeschema shows similar behavior every second time I open it:

Screenshot_from_2020-01-23_11-31-15

Steps to reproduce

  1. Try adding text in eeschema or in pcbnew

KiCad Version

Application: Pcbnew
Version: 5.99.0-unknown-0d017e2~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-74-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    Build date: Jan 22 2020 15:50:22
    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.4.0 with C++ ABI 1011

Build settings:
    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
Edited by Albertas Mickenas