← Back to team overview

kicad-developers team mailing list archive

Re: wxPython-gtk3 woes

 

On 4/11/2018 9:12 AM, Jean-Samuel Reynaud wrote:
> Hi all,
> 
> First: for PPA, I disable for the moment WXPYTHON when needed (for
> bionis...). So it fixing temporary this issue
> (https://bugs.launchpad.net/kicad/+bug/1762432)

Thank you for fixing this.

> 
> Second: I'm one of the user(s ?) who use wxpython for GUI in plugins.
> I'm sure is not a major feature (yet). Anyway the possibility to create
> plugins to KiCad in python with a minimal UI (simple dialog boxes...) is
> really useful to add features that require input parameters...

This is going to a maintenance issue util KiCad, wxPython (or
wxPhoenix), and gtk3 all play nice together.  We may have to live
without wxPython support on linux for a while.

> 
> Last point: Is there a list of issue detected with GTK3 ? Some bugs are
> tagged with that ?

Not that I am aware of.  Some of the related bug reports may be tagged
with gtk3 but I'm not sure.  If not, that would be a good thing so we
can start correcting some of them during the v6 development cycle.

> 
> Regards,
> Le 10/04/2018 à 13:35, Maciej Sumiński a écrit :
>> It seems the easy solution to me too. I just wonder how many people rely
>> on the Python shell or GUIs done with wxPython.
>>
>> On 04/10/2018 01:32 PM, Jeff Young wrote:
>>> I never got KICAD_SCRIPTING_WXPYTHON to work on my Mac, and I can’t say I’ve missed it.
>>>
>>>> On 10 Apr 2018, at 12:26, Maciej Sumiński <maciej.suminski@xxxxxxx> wrote:
>>>>
>>>> Apparently mixing wxWidgets-gtk2 and wxPython-gtk3 [1] is not only an
>>>> Arch issue anymore, as the upcoming Ubuntu release (bionic) also
>>>> provides wxPython package built against gtk3 [package: 2, bug report: 3].
>>>>
>>>> There are two things we can do to fix the problem for v5:
>>>> - Backport python-wxgtk3.0 package built against gtk2. This way
>>>> everything works as it used to be, but only for the nightlies. For the
>>>> official release the users would be forced to add a PPA providing the
>>>> backported package and it sounds troublesome.
>>>>
>>>> - Disable KICAD_SCRIPTING_WXPYTHON, as there is still available
>>>> libwxgtk3.0 package [4] build against gtk2. The drawbacks are that the
>>>> Python shell in pcbnew and scripts taking advantage of wxPython to
>>>> display a GUI will not work anymore.
>>>>
>>>> In other news: Ubuntu bionic also ships wxPhoenix [5].
>>>>
>>>> Cheers,
>>>> Orson
>>>>
>>>> 1. https://bugs.launchpad.net/kicad/+bug/1747677
>>>> 2. https://packages.ubuntu.com/bionic/python-wxgtk3.0
>>>> 3. https://bugs.launchpad.net/kicad/+bug/1762432
>>>> 4. https://packages.ubuntu.com/bionic/libwxgtk3.0-0v5
>>>> 5. https://packages.ubuntu.com/bionic/python3-wxgtk4.0
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>
> 
> 
> 
> 
> _______________________________________________
> 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