Niels Menke wrote: > However, this gives me the bug that whenever a border of the canvas is > reached, the application just crashes (without giving an error or anything).
A crash is bad! what do you mean by "the border of the canvas is reached" -- do you mean that the when dragging the image, the mouse gets to the border? We're also going to need platform and version info: platform python version wxPython version numpy version If it's crashing hard, then it by definition is not a FloatCanvas bag -- but maybe we can figure out what bug it's triggering in wx or ??? > I tried replacing the methods with those from recent GUIMove in the > subversion, where OnMove is: > def OnMove(self, event): > # Allways raise the Move event. > self.Canvas._RaiseMouseEvent(event,FloatCanvas.EVT_FC_MOTION) > if event.Dragging() and event.LeftIsDown() and not > self.StartMove is None: > self.MoveImage(event) > > and MoveImage is basically exactly the same. > However, this gives me a HUGE Performance problem, as scrolling gets so > slow it basically doesn't happen anymore. weird, I'm not seeing that either. Does the regular old GUIMove mode work for you (with the left button?) Also, try RightDrag.py -- in SVN under Tests. Can you make a small-as-possible fully functioning (except the bug!) app for us to test? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] _______________________________________________ FloatCanvas mailing list [email protected] http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
