The about window looks broken when built with GTK3

Bug #1792121 reported by Eugeniy Meshcheryakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Unassigned

Bug Description

The about window is missing all text formatting in the current git version. 5.0.0's about window looks fine. This is with custom build on Debian unstable. See attached screenshot.

Application: kicad
Version: (6.0.0-rc1-dev-480-gf5de8cd3e), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) libssh2/1.8.0 nghttp2/1.33.0 librtmp/2.3
Platform: Linux 4.18.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+ 3.24
    Boost: 1.62.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.0
    Compiler: GCC 8.2.0 with C++ ABI 1013

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

Revision history for this message
Eugeniy Meshcheryakov (eugen-debian) wrote :
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

Where did you get this build of KiCad? I see from the version information that it was built with wxwidgets that was build with gtk3. We only support wxwidgets build with gtk2 at the moment. I suspect this is yet another difference between gtk2 and gtk3 that we will have to address.

Changed in kicad:
status: New → Incomplete
Revision history for this message
Eugeniy Meshcheryakov (eugen-debian) wrote :

I see. That was my own build. I'll try to rebuild it with another version of wxwidgets.

Revision history for this message
Eugeniy Meshcheryakov (eugen-debian) wrote :

@stambaughw: You were right. The about window looks fine with Gtk 2 version. No compatible wxpython package in Debian though, so no python support :(

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

@Eugeniy: Unfortunately we have to live with this until the eeschema gtk3 rendering fix code is complete. We are currently working on this and hope to have a solution released as version 5.1 by the end of the year. I wish we had a better solution but it is was it is :( I'll leave this bug report open because it will have to be fixed before we release 5.1.

Changed in kicad:
status: Incomplete → Triaged
importance: Undecided → Low
milestone: none → 5.1.0
Revision history for this message
Fabián Inostroza (fabianinostroza) wrote :

@Eugenly If you have no other packages depending on python-wxgtk you can install the latest version compiled against gtk2 (3.0.2.0+dfsg-6) and pin that version. You may find the package in /var/cache/apt/archives or download them from https://snapshot.debian.org/.

I'm doing that on debian testing without problems.

Jeff Young (jeyjey)
summary: - The about window looks broken in git master
+ The about window looks broken when built with GTK3
Revision history for this message
Nick Østergaard (nickoe) wrote :

Gtk3 is currently not supported on master, do you just do this for fun?

You can try pointhi's wx-python branch or disable scripting to see if it makes a change.

Revision history for this message
Thomas Pointhuber (pointhi) wrote :

This bug is not present in my case. Probably fixed by wx now

Application: pcbnew
Version: (6.0.0-rc1-dev-903-g9403ffead-dirty), debug build
Libraries:
    wxWidgets 3.1.1
    libcurl/7.61.1 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) libssh2/1.8.0 nghttp2/1.33.0
Platform: Linux 4.18.12-arch1-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.1.1 (wchar_t,wx containers) GTK+ 3.24
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: Clang 7.0.0 with C++ ABI 1002

Build settings:
    USE_WX_GRAPHICS_CONTEXT=ON
    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
Wayne Stambaugh (stambaughw) wrote :

I'm guessing that it was fixed in wxWidgets so I'll tag this as fix committed even though we didn't really fix the bug. We can change it to fix released once we bump the wx version to 3.1 and build against gtk3.

Changed in kicad:
status: Triaged → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
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.