Andy Lewis wrote:
> I decided a while back to postpone doing any more coding using 
> floatcanvas until I saw how the Summer of Code re-write turned out. 
> Noticing that some other people seem to be starting to use it, I thought 
> I would take a look.

Great! welcome aboard.

> I'm using Ubuntu Hardy.  I installed the latest wxPython (2.8.8.1), then 
> used svn to checkout the floatcanvas2 folder, which I positioned within 
> the floatcanvas folder (to be specific, at 
> /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/lib/floatcanvas/floatcanvas2)
> I assumed this was the correct place from the line "import 
> wx.lib.floatcanvas.floatcanvas2" which appears in all the demos.

that's a fine place to put it, or you could just put it in your own 
working directory somewhere.

> When I run the demos, all is not well:
...
> and a window appears with the NavCanvas controls - but the canvas is 
> just grey, with no circle or rectangle on it.  I can resize the window, 
> and get appropriate messages on the console - but not see any graphics.

Darn -- Here's the key problem:  Mattias has done all the development on 
Windows, and I don't know if anyone has tested on GTK before. For the 
record, it's not rendering right on OS-X either.

Mattias put a lot of effort into optimizing the rendering pipeline, but 
it appears that he's hit on an approach that only works right on Windows.

Matthias:

We really need to get this fixed.

Last time I tried to figure it out on the Mac, I got pretty lost in all 
the abstraction layers, and optional renderers. So, what I think would 
be helpful is if you did one of two things:

1) Put together a stand alone app that does the rendering the same way, 
but without all the abstraction layers, so that it's easier to test and 
see what's going on on other platforms.

2) Point us to a simple sample, and lay out where, in what modules, each 
step of the rendering is being done, so we can do some debugging and 
testing on OS-X and GTK.

Andy -- would you be willing to poke into GTK for us?

> Sorry to send such a long post - I thought as much detail as possible 
> might help?

Thanks for the post, and yes, the more detail the better. We'll get this 
worked out.

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception
_______________________________________________
FloatCanvas mailing list
FloatCanvas@mithis.com
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to