I have constantly problems with wx in Linux. In KICAD 5 the plots from ngspice were not properly displayed. I had to repaint the window manually (e.g. by stretching the picture size), then the proper graph appeared. Since I was not using the spice tool too much, this was not a large issue.
I was happy, that this behaviour was fixed in KICAD6. Plots were correctly plotted and updated without any additional handling.
The drawback of this update: the text editor windows took over this bad behaviour. I cannot see any entry in the editable text widget until I resize the UI. This is a bad implementation of the wx system and needs to be fixed.
When I start a text entry, a sample ui looks like this:
Since I get constant delivery delay notifications for the reply of your email please find my response below:
Plese find enclosed the libraries KICAD will use:
Since I get constant delivery delay notifications for the reply of your email please find my response below:
Yes, Iâm using Mint with the latest long term OS-Release:
Linux holger 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Periodically, we get people on this forum wondering why we donât support Mint (since it just uses the same packages as Ubuntu).
This is an example of precisely the type of issues that prevent us from supporting Mint without a dedicated developer running the operating system. They do not so a good job of quality control, leading to strange display issues like this.
I would highly recommend utilizing Ubuntu or Debian if running KiCad is important to you.
edit
Alternatively, if running Mint is more important, we are open to patches from the community that can detect and address these display issues.
Thank you for this insight. Sometimes i hear about issues with software related to linux mint and their special implementations. However, in this special case I would see the poor quality control in the KICAD source.
From my experience the weakness is the usage of WXwidgets. I had some poor experience with this framework by myself, specially with the refresh of widgets. The behavior is changing even with small version upgrades, unimpressed from the statements of the documentation. Key topic is the refresh of each widget after content update: you cannot rely on the automatic refresh, you have to place it in the code as extra statement.
It seems to me, that one group dealing with the simulator is implementing this mechanism properly, while another group dealing with the schematic UI trust the documentation⌠Just an impression without checking the source code.
I think Iâve read in previous posts that the WX stuff is legacy code and just not the programming cycles to change it right now. But, feel free to fork it.
wxWidgets is the cross platform framework that underlies all of our menus, dialogs, windows, event handling, etc, etc. It is not legacy code but it does have a slow update cycle. Periodically, we discuss whether we would want to move development to a different framework (e.g. QT, electron) and we generally calculate that it would take about a year of not developing the core functionality of KiCad. At the end, we would be using a new framework that will have all new issues that we would need to learn and work around.
At some point, if wx development slows/stops, we might need to consider that. But for now, wx gets us where we need to be and lets us (mostly) focus on developing CAD.
In case it wasnât clear above, we have nothing against Mint and would be happy to support it but it requires a lead developer to agree to take on edge cases like this. Right now, none of us use Mint, so weâre not able to do that.
Yeah. My use of âlegacyâ was mostly meant to convey itâs already in there because that was a decision made a long time ago. My âfork itâ comment was semi-serious in terms of thatâs probably what it would take to change it over to something else. At which point, something even better will pop up.
Thatâs my configuration:
Desktop: Cinnamon 5.2.7 wm: muffin dm: LightDM Distro: Linux Mint 20.3 Una
You may check for differences to your desktop environment.
you sound like a good candidate for using the flatpak version of KiCad which ships with a bundled WxWidgets 3.1.
There are a variety of reasons why KiCad in most (all?) linux distribution repositories is built against wx 3.0, and that wonât change until wx 3.2 is released at some unspecified future date.
Itâs not up to KiCad what version of libs Mint ships with. KiCad builds using whatever system provides, thatâs how all native apps build on linux. If you want newer stuff you can either use flatpack, compile yourself or upgrade to testing OS release.
To me this sounds like you use wx as a framework for your own apps.
Is it possible you installed wxpython with pip3 as well? I think this could result in the issues you are seeing which will indeed be âresolvedâ by building kicad yourself.