Comment 28 for bug 1339539

Revision history for this message
Wayne Stambaugh (stambaughw) wrote : Re: [Bug 1339539] Re: pcbnew does not draw correctly the default canvas

On 01/24/2015 08:29 AM, jean-pierre charras wrote:
> After some test both on Ubuntu 14.10 and Kubuntu 14.04 LTS, I am now
> pretty sure this is due to an issue with wxWidgets + gtk3.
>
> If I build wxWidgets (3.0.2) against gtk2 Kicad works fine.
> If I build wxWidgets (3.0.2) against gtk3 Kicad does not works.
>
> On gtk3, the wxWidgets --enable-graphics_ctx is always enabled (cannot be disabled).
> On gtk3, the wxWidgets --enable-graphics_ctx is not enabled by default.
>
> I never saw the wxWidgets drawing layer working well with the advanced graphics context 2D drawing API in enabled.
> A least the XOR mode widely used in Pcbnew and eeschema when moving objects does not work.
> On gtk3, looks like very small scaling factors (used in Pcbnew/Gerbview) are not working (certainly a serious bug in wxWidgets/gtk3+advanced graphics context) and few basic draw mode are not working, both on Linux and Windows.
>
> Currently the only one workaround I know is to build wxWidgets using
> gtk2 (this is the default)
>

JP,

I just finished testing this and yes build wxWidgets against GTK3 seems
to have some very serious issues. I may try disabling the graphics
context to see if thing get any better but the drawing and some of the
control window rendering is broken. I wonder if we are first to
discover this? I will also try building the latest wxWidgets source
from the repo to see if any of the issues have been resolved. Thanks
for figuring this out. We will definitely have to let users know so
they can make the appropriate build decisions.