← Back to team overview

kicad-developers team mailing list archive

Re: OSX: Pin Table crashes Library Editor

 

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
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


Follow ups

References