kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #18645
Re: OSX: Pin Table crashes Library Editor
Hi Wayne,
I did it against a ~4 weeks old head of 3.0 branch (so something like pre-3.0.3), there are no changes since 3.0.2 in that areas.
I did a quick check on the main branch and the bad pieces of code are just the same, so it should apply as well there.
Regards
Bernhard
> On 15 Jun 2015, at 17:46, Wayne Stambaugh <stambaughw@xxxxxxxxx> wrote:
>
> Bernhard,
>
> Which version of wxWidgets is this patch against?
>
> Thanks,
>
> Wayne
>
> On 6/14/2015 3:41 PM, Bernhard Stegmaier wrote:
>> Hi,
>>
>> FYI… I guess this is only OS X related.
>>
>> Yesterday I wanted to use the Pin Table for the first time and it always
>> crashes the Library Editor.
>> After some debugging I am pretty sure that this is a bug in the OS X
>> implementation of wxDataViewCtrl if using wx[V|H]SCROLL when creating it.
>> Did the Pin Table ever work for somebody on OS X (I guess it never did)?
>>
>> I already filed a bug report for wxWidgets (still under moderation, so
>> it doesn’t show up yet).
>> I don’t know how long this will take, so attached a fix/workaround that
>> did it for me (for anyone interested, maybe Adam?).
>>
>> The only possible workaround in KiCad seems to be to remove the
>> wxVSCROLL from
>>
>> m_Pins = newwxDataViewCtrl( this, wxID_ANY, wxDefaultPosition,
>> wxSize( -1,-1),
>> wxDV_HORIZ_RULES|wxDV_MULTIPLE|wxDV_ROW_LINES|wxDV_VERT_RULES|wxVSCROLL);
>>
>> In my tests OS X doesn’t seem to need this (scroll bars are dynamically
>> shown when needed even without this flag).
>> But, I don’t know about other platforms and this piece of code probably
>> can’t be #ifdef’d because this is generated code from wxFormBuilder?
>>
>>
>> Regards,
>> Bernhard
>>
>>
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>> More help : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
> More help : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
Follow ups
References