|
From: Kevin A. <al...@se...> - 2002-01-18 07:13:20
|
First of all, ARGH!
Second of all this isn't going to have much impact, if any on Windows users,
but it will impact Linux users, so if you use Linux and are trying out
PythonCardPrototype 0.6.2 be aware that I am working to fix problems and
will do a release by early next week at the latest. I already made the
change to cvs that is described below. Again, if you're a Windows user,
there is nothing wrong with 0.6.2, go ahead and download it and use it.
Cliff Wells and I spent some time in front of a Linux box tonight testing
PythonCard. This is the first time since Rowland and I started the prototype
work back in July that I sat down with PythonCard running under Linux/GTK.
I'm normally a Windows 2000 user and I also have Windows 98 and NT 4 to test
against here at home.
My tests tonight revealed many small problems I was unaware of since nobody
had reported them. The most glaring is a really bad mistake I made with
CaptureMouse() in the resourceEditor. If you're using Linux, delete lines
577 and 578 (the lines commented out below) from resourceEditor.py in
release 0.6.2. I've already updated cvs.
def on_mouseDown(self, target, event):
if target.name not in self.sizingHandleNames:
self.startName = target.name
if self.stack.app.pw != None:
self.stack.app.pw.selectComponentsList(target.name,
str(target.__class__.__name__))
self.hideSizingHandles()
#if wx.wxPlatform != '__WXMSW__':
# target._delegate.CaptureMouse()
else:
if wx.wxPlatform == '__WXMSW__':
self.hideSizingHandles()
else:
self.gtkHideSizingHandles(target.name)
target._delegate.CaptureMouse()
self.startPosition = self.components[self.startName].position
self.startSize = self.components[self.startName].size
self.offset = event.GetPosition()
Cliff and I identified other issues that I'll fix in cvs over the next few
days. These include some GTK assert errors in samples using BitmapCanvas,
path issues, and font problems with TextField (wxTextCtrl). If you are using
PythonCard under Linux I would appreciate bug reports for anything that
throws an exception or just doesn't work as you would expect it to.
Apologies to all those that downloaded 0.6.2 for Linux.
ka
|