Eeschema: Warning: Nothing to paste, with image in clipboard

Description

When pasting (Ctrl-V) with an image in clipboard, an warning is issued with "Nothing to paste"

image

Steps to reproduce

  • Copy any image from any software (like Firefox, right click on any image then copy)

  • Open Eeschema, press Ctrl-V.

Expecting result

  • Pasting image from clipboard

Workaround

  • Add bitmap image from file (but image has to be saved on filesystem first)

KiCad Version

Application: Eeschema Version: 5.1.5-52549c584ubuntu19.04.1, release build Libraries: wxWidgets 3.0.4 libcurl/7.64.0 OpenSSL/1.1.1b zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.8.6/openssl/zlib nghttp2/1.36.0 librtmp/2.3 Platform: Linux 5.0.0-38-generic 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.64.0 Compiler: GCC 8.3.0 with C++ ABI 1013

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