On Jun 9, 2008, at 6:34 PM, Gamaliel Masters wrote:

> I have no idea if the Dabo system is somehow causing this loop, or  
> if it
> is something to do with wx.  I am currently running wxPython version
> 2.8.7.1 wxMSW (Unicode). The appears to be the current release version
> of wxPython.

        Thanks for your efforts! Wrapping the wx events has been one of the  
most difficult tasks in creating Dabo, specifically because of these  
anomalies between platforms.

        Your comment about it running fine on OS X makes sense, as I do all  
my development on a Mac, so if it were that horribly slow, I would  
have good reason to fix it.

> If anyone is interested in chasing this bug, I would be happy to  
> help in
> any way possible.  I have no problem in reproducing the issue (it  
> occurs
> anytime I run the class designer, without fail) and I can generate  
> logs,
> dumps or any other form of information necessary to narrow this down  
> (if
> someone will tell me how).

        This is a delicate balancing act. We need to update the display, just  
not several hundred times for a single change. My guess (and that's  
all it is) is that every time a non-trivial component (e.g., dropdown  
list, grid, etc.) is modified, wxPython is generating events at each  
internal change rather than when all the changes are complete. I'm  
wondering if we can figure out when to lock/unlock the display to  
prevent these excessive events without causing other problems.

> Without event logging enabled, it takes about 37 seconds between  
> adding
> a grid, and getting the UI back to a responsive state.  That kind of  
> lag
> makes the class designer effectively un-usable on the computer where I
> do most of my development, and without the class designer the RAD
> capability of the system is greatly reduced making it much less useful
> to me.
>
> Anyone game for a little bug hunt?  Let me know.


        I'm always game! I don't have time right now (day job, y'know?), but  
I will try playing around with this tonight.

-- Ed Leafe





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to