← Back to team overview

kicad-developers team mailing list archive

Re: 5.1.0-rc1

 

Hi Marcos-

You are using GTK2 in this build. Are you building yourself? If so, you need to delete the existing build directory, create a new one and specify -DwxWidgets_CONFIG_OPTIONS="--toolkit=gtk3" in the cmake options.

-Seth

Am 2019-02-08 14:43, schrieb Marcos Chaparro:
Hi, I'm failing to find this issue in the bug tracker, so please let
me know if its already reported. If not I can report it.

Every time I launch pcbnew with a plugin in
/home/marcos/.kicad_plugins/ it immediately crashes. It starts
normally if I remove .kicad_plugins. This is the plugin that makes it
crash: https://github.com/openscopeproject/InteractiveHtmlBom, its
quite a popular one.

I'm running ubuntu 18.04 (actually, its a https://neon.kde.org/) so
its using gtk3 afaik.

Application: kicad
Version: 5.1.0-rc1-unknown-5072298~84~ubuntu18.04.1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.58.0 OpenSSL/1.1.0g 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-39-generic 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.65.1
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.58.0
    Compiler: GCC 7.3.0 with C++ ABI 1011

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=OFF
    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

This has been happening for quite a while, but I don't know how to dig
deeper into the issue.

Marcos

On Thu, Feb 7, 2019 at 4:49 PM Wayne Stambaugh <stambaughw@xxxxxxxxx>
wrote:

On 2/7/2019 2:28 PM, Steven A. Falco wrote:
On 2/7/19 2:11 PM, Wayne Stambaugh wrote:
On 2/7/2019 1:38 PM, Vesa Solonen wrote:
Steven A. Falco kirjoitti 7.2.2019 klo 18.04:

However, because of the eeschema line-width issues that I
mentioned yesterday, I'm not convinced that users will be happy with
gtk3.

In the attached screenshot, compare the line width at pin 2 and
pin 3 of the op-amp.

Hi Steve,

This is not gtk3 specific, but comes from the rounding issues in
Eeschema new drawing code (both OpenGL and Cairo). Unfortunately
proper
solutions are not trivial. One can mask it bearably by using
Cairo
drawing with anti-aliasing turned on (at least on 4k
resolutions).

-Vesa


This problem will get fixed during v6 development.  The other
option is
to build with wxWidgets with gtk2 and disable wxPython support.
There
is no ideal solution at the moment.  This is the reason that we
even
created a 5.1 release.  I think users would rather have the
slightly
distorted graphics (which Vesa's suggest improves) than no
wxPython support.

Well, based on my test of the nighlies (built with gtk2), I don't
think gtk2 will help.  I attached three screen shots - the titles
should be self-explanatory.  You can see the distortion even in the
gtk2 nightlies.

Steve

The legacy canvas is still available with gtk2 builds so you don't
have
to use the modern canvas should you choose not to do so.  The legacy
canvas is disabled in gtk3 builds because it is completely broken.

Wayne

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Follow ups

References