component chooser: some components doesn't show symbol

Bug #1670705 reported by Eldar Khayrullin
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Chris Pavlina

Bug Description

Application: kicad
Version: no-vcs-found-45d1082~58~ubuntu16.10.1, release build
Libraries: wxWidgets 3.0.2
           libcurl/7.50.1 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.33 librtmp/2.3
Platform: Linux 4.8.0-40-generic x86_64, 64 bit, Little endian, wxGTK
- Build Info -
wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.61.0
Curl: 7.50.1
KiCad - Compiler: GCC 6.2.0 with C++ ABI 1010
        Settings: USE_WX_GRAPHICS_CONTEXT=OFF
                  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

Revision history for this message
Eldar Khayrullin (eldar) wrote :
Revision history for this message
Eldar Khayrullin (eldar) wrote :
tags: added: componentchooser
Revision history for this message
Chris Pavlina (pavlina-chris) wrote :

Thank you.

I notice that the "bad" component has Cyrillic letters in its name and the good one does not. Are you able to tell me if this bug appears for all components with Cyrillic? Also, could you share a library containing parts that do not display?

Revision history for this message
Eldar Khayrullin (eldar) wrote :

Yes, it is look as this happens with components with Cyrillic only.
Libraries here:
https://github.com/KiCad-RUS/kicad-gost-library

Revision history for this message
Eldar Khayrullin (eldar) wrote :

I found another one broken with no Cyrillic:
conn-gost.lib: JTAG_SWD_20

Revision history for this message
Chris Pavlina (pavlina-chris) wrote :

Can you please paste the output of the 'locale' command?

Revision history for this message
Eldar Khayrullin (eldar) wrote :

$ locale
LANG=ru_RU.UTF-8
LANGUAGE=ru:en
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC=ru_RU.UTF-8
LC_TIME=ru_RU.UTF-8
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY=ru_RU.UTF-8
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER=ru_RU.UTF-8
LC_NAME=ru_RU.UTF-8
LC_ADDRESS=ru_RU.UTF-8
LC_TELEPHONE=ru_RU.UTF-8
LC_MEASUREMENT=ru_RU.UTF-8
LC_IDENTIFICATION=ru_RU.UTF-8
LC_ALL=

Revision history for this message
Chris Pavlina (pavlina-chris) wrote :

Never mind, I was able to reproduce this bug. Thank you

Changed in kicad:
status: New → In Progress
Revision history for this message
Chris Pavlina (pavlina-chris) wrote :

Man, this is a weird bug. It looks like wx (even gtk maybe?) is just choosing not to fire paint events anymore...

Revision history for this message
Chris Pavlina (pavlina-chris) wrote :

Bug only occurs under Unity.

This bug may take a significant amount of time to fix, and I'm almost out of time for a few days. You may need to work around this by temporarily switching to GNOME (or to an older KiCad build) until I can get this worked out.

Changed in kicad:
status: In Progress → Triaged
Revision history for this message
Eldar Khayrullin (eldar) wrote :

Ok

Changed in kicad:
status: Triaged → Fix Committed
status: Fix Committed → In Progress
Revision history for this message
Chris Pavlina (pavlina-chris) wrote :

This is related to a misuse of wxWindow::Freeze() and wxWindow::Thaw(). Fix incoming.

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 3854637ec5097891061ea6d23052c4e2a22bd85b
https://git.launchpad.net/kicad/patch/?id=3854637ec5097891061ea6d23052c4e2a22bd85b

Changed in kicad:
status: In Progress → Fix Committed
Revision history for this message
Eldar Khayrullin (eldar) wrote :

Thank you

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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